annotate lighter.xml @ 0:89b453176d05 draft

planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
author bgruening
date Sat, 04 Jun 2016 12:38:34 -0400
parents
children b0cfd92907eb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
1 <tool id="lighter" name="lighter" version="1.0" profile="16.04">
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
2 <description>can correct the reads containing sequence errors</description>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
3 <requirements>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
4 <requirement type="package" version="1.1.1">lighter</requirement>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
5 </requirements>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
6 <command><![CDATA[
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
7 lighter
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
8 #for $file in $r:
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
9 -r $file
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
10 #end for
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
11 #if str($kmer.k_select) == "smallk":
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
12 -k $kmer.k_parameter_string
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
13 #elif str($kmer.k_select) == "bigK":
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
14 -K $kmer.K_parameter_string
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
15 #end if
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
16 -od ./
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
17 -t \${GALAXY_SLOTS:-4}
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
18 #if $maxcor:
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
19 -maxcor $maxcor
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
20 #end if
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
21 $trim
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
22 $discard
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
23 $noQual
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
24 #if $newQual:
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
25 -newQual '$newQual'
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
26 #end if
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
27 $stable
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
28 > $outfile
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
29 ]]>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
30 </command>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
31 <inputs>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
32 <param argument="-r" multiple="True" type="data" label="Input file"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
33 <conditional name="kmer">
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
34 <param name="k_select" type="select" label="Do you want k or K?">
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
35 <option value="smallk">small k</option>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
36 <option value="bigK">big K</option>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
37 </param>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
38 <when value="smallk">
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
39 <param name="k_parameter_string" size="30" type="text" value="13 20 0.2" label="type in 3 parameters"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
40 help="(—k kmer_length genome_size alpha)" />
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
41 </when>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
42 <when value="bigK">
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
43 <param name="K_parameter_string" size="30" type="text" value="13 20" label="type in 2 parameters"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
44 help="(—K kmer_length genome_size)" />
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
45 </when>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
46 </conditional>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
47 <param argument="-maxcor" type="integer" value="4" optional="True"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
48 label="Maximum number of correction for within a kmer length window" help=""/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
49 <param argument="-trim" type="boolean" truevalue="-trim" falsevalue="" checked="False"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
50 label="Whether or not to allow trimming"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
51 <param argument="-discard" type="boolean" truevalue="-discard" falsevalue="" checked="False"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
52 label="Whether or not to discard unfixable reads. Will lose paired-end matching when discarding"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
53 <param argument="-noQual" type="boolean" truevalue="-noQual" falsevalue="" checked="False"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
54 label="Whether or not to ignore the quality socre"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
55 <param argument="-newQual" size="30" type="text" value="" optional="True"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
56 label="Quality for the bases corrected to the specified score" help="" />
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
57 <param argument="-stable" type="boolean" truevalue="-stable" falsevalue="" checked="False"
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
58 label="Sequentialize the sampling stage, output the same result with different runs"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
59 </inputs>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
60 <outputs>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
61 <data name="outfile" format_source="r"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
62 </outputs>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
63 <tests>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
64 <test>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
65 <param name="r" value="bwa-mem-fastq1.fq"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
66 <param name="k_select" value="smallk"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
67 <param name="newQual" value="12 12 0.1"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
68 <param name="noQual" value="True"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
69 <param name="stable" value="False"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
70 <output name="outfile" file="lighter_result1.fq"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
71 </test>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
72 <test>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
73 <param name="r" value="bwa-mem-fastq1.fq"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
74 <param name="k_select" value="bigK"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
75 <param name="newQual" value="20 14"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
76 <param name="noQual" value="False"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
77 <param name="stable" value="True"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
78 <output name="outfile" file="lighter_result2.fq"/>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
79 </test>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
80 </tests>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
81 <help>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
82 **What it does**
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
83
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
84 Lighter is a kmer-based error correction method for whole genome sequencing data. Lighter uses sampling
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
85 (rather than counting) to obtain a set of kmers that are likely from the genome. Using this information,
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
86 Lighter can correct the reads containing sequence errors.
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
87
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
88 <citations>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
89 <citation type="doi">10.1186/s13059-014-0509-9</citation>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
90 </citations>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
91 </help>
89b453176d05 planemo upload for repository https://github.com/mourisl/Lighter commit 5f1e53104d11817b9f1f93c4df17b77c80bd7472
bgruening
parents:
diff changeset
92 </tool>