Mercurial > repos > iuc > shovill
comparison shovill.xml @ 3:865119fcb694 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shovill commit 7c14ae1fd4494808cc7be290dab100b828ee6a33
author | iuc |
---|---|
date | Tue, 13 Nov 2018 10:41:12 -0500 |
parents | f698c7604b3b |
children | d9f6a00b6db7 |
comparison
equal
deleted
inserted
replaced
2:f698c7604b3b | 3:865119fcb694 |
---|---|
1 <tool id="shovill" name="Shovill" version="0.9.0"> | 1 <tool id="shovill" name="Shovill" version="1.0.4"> |
2 <description>Faster SPAdes assembly of Illumina reads</description> | 2 <description>Faster SPAdes assembly of Illumina reads</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="0.9.0">shovill</requirement> | 4 <requirement type="package" version="1.0.4">shovill</requirement> |
5 </requirements> | 5 </requirements> |
6 <version_command>shovill --version</version_command> | 6 <version_command>shovill --version</version_command> |
7 <command detect_errors="exit_code"><![CDATA[ | 7 <command detect_errors="exit_code"><![CDATA[ |
8 shovill | 8 shovill |
9 --outdir 'out' | 9 --outdir 'out' |
29 --opts '$adv.opts' | 29 --opts '$adv.opts' |
30 #end if | 30 #end if |
31 $adv.nocorr | 31 $adv.nocorr |
32 --minlen $adv.minlen | 32 --minlen $adv.minlen |
33 --mincov $adv.mincov | 33 --mincov $adv.mincov |
34 --asm $adv.asm | 34 --assembler $assembler |
35 | 35 |
36 ]]></command> | 36 ]]></command> |
37 <inputs> | 37 <inputs> |
38 <conditional name="library"> | 38 <conditional name="library"> |
39 <param name="lib_type" type="select" label="Input reads type, collection or single library" help="Select 'paired end' for a single library or 'collection' for a paired end collection"> | 39 <param name="lib_type" type="select" label="Input reads type, collection or single library" help="Select 'paired end' for a single library or 'collection' for a paired end collection"> |
48 <param name="input1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" type="data_collection" collection_type="paired" label="Paired collection" help="See help section for an explanation of dataset collections"/> | 48 <param name="input1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" type="data_collection" collection_type="paired" label="Paired collection" help="See help section for an explanation of dataset collections"/> |
49 </when> | 49 </when> |
50 </conditional> | 50 </conditional> |
51 <param name="trim" argument="--trim" type="boolean" truevalue="--trim" falsevalue="" label="Trim reads" help="Use Trimmomatic to remove common adaptors first (default: OFF)" /> | 51 <param name="trim" argument="--trim" type="boolean" truevalue="--trim" falsevalue="" label="Trim reads" help="Use Trimmomatic to remove common adaptors first (default: OFF)" /> |
52 <param name="log" type="boolean" label="Output log file?" checked="true" help="Return the Shovill log file as part of the output. Default is on" /> | 52 <param name="log" type="boolean" label="Output log file?" checked="true" help="Return the Shovill log file as part of the output. Default is on" /> |
53 <param name="assembler" argument="--assembler" type="select" label="Assembler to use" help="Which assembler would you like shovill to use, default is Spades"> | |
54 <option value="skesa">skesa</option> | |
55 <option value="megahit">megahit</option> | |
56 <option value="velvet">velvet</option> | |
57 <option value="spades" selected="true">Spades</option> | |
58 </param> | |
53 <section name="adv" title="Advanced options" expanded="False"> | 59 <section name="adv" title="Advanced options" expanded="False"> |
54 <param name="namefmt" argument="--namefmt" type="text" value="contig%05d" label="Contig name format" help="Format of contig FASTA IDs in 'printf' style (default: 'contig%05d')" > | 60 <param name="namefmt" argument="--namefmt" type="text" value="contig%05d" label="Contig name format" help="Format of contig FASTA IDs in 'printf' style (default: 'contig%05d')" > |
55 <sanitizer> | 61 <sanitizer> |
56 <valid initial="string.printable"> | 62 <valid initial="string.printable"> |
57 <remove value="'" /> | 63 <remove value="'" /> |
66 <param name="kmers" argument="--kmers" type="text" value="" label="List of kmer sizes to use" help="List of K-mer sizes to use in SPAdes. Blank is AUTO. default: ''" /> | 72 <param name="kmers" argument="--kmers" type="text" value="" label="List of kmer sizes to use" help="List of K-mer sizes to use in SPAdes. Blank is AUTO. default: ''" /> |
67 <param name="opts" argument="--opts" type="text" value="" label="Extra SPAdes options" help="eg. --plasmid --sc ... (default: '')" /> | 73 <param name="opts" argument="--opts" type="text" value="" label="Extra SPAdes options" help="eg. --plasmid --sc ... (default: '')" /> |
68 <param name="nocorr" argument="--nocorr" type="boolean" truevalue="--nocorr" falsevalue="" checked="True" label="Disable post-assembly correction" help="Disable post assembly correction with pilon (default: ON)" /> | 74 <param name="nocorr" argument="--nocorr" type="boolean" truevalue="--nocorr" falsevalue="" checked="True" label="Disable post-assembly correction" help="Disable post assembly correction with pilon (default: ON)" /> |
69 <param name="minlen" argument="--minlen" type="integer" value="0" label="Minimum contig length" help="Minimum length of contig to be output. 0 is AUTO (default: 0)" /> | 75 <param name="minlen" argument="--minlen" type="integer" value="0" label="Minimum contig length" help="Minimum length of contig to be output. 0 is AUTO (default: 0)" /> |
70 <param name="mincov" argument="--mincov" type="integer" value="2" label="Minimum contig coverage" help="Minimum coverage to call part of a contig. 0 is AUTO (default: 2)" /> | 76 <param name="mincov" argument="--mincov" type="integer" value="2" label="Minimum contig coverage" help="Minimum coverage to call part of a contig. 0 is AUTO (default: 2)" /> |
71 <param name="asm" argument="--asm" type="select" label="Spades result to correct" help="Which SPAdes output to correct for: before_rr, contigs or scaffolds. (default: 'contigs')"> | |
72 <option value="before_rr">before_rr</option> | |
73 <option value="contigs" selected="true">contigs</option> | |
74 <option value="scaffolds">scaffolds</option> | |
75 </param> | |
76 </section> | 77 </section> |
77 </inputs> | 78 </inputs> |
78 | 79 |
79 <outputs> | 80 <outputs> |
80 <data name="shovill_std_log" format="txt" label="${tool.name} on ${on_string} Log file" from_work_dir="out/00-shovill.log" > | 81 <data name="shovill_std_log" format="txt" label="${tool.name} on ${on_string} Log file" from_work_dir="out/shovill.log" > |
81 <filter>log</filter> | 82 <filter>log</filter> |
82 </data> | 83 </data> |
83 <data format="fasta" name="contigs" label="${tool.name} on ${on_string}: Contigs" from_work_dir="out/contigs.fa"/> | 84 <data format="fasta" name="contigs" label="${tool.name} on ${on_string}: Contigs" from_work_dir="out/contigs.fa"/> |
84 <data format="txt" name="contigs_graph" label="${tool.name} on ${on_string}: Contig Graph" from_work_dir="out/contigs.gfa"/> | 85 <data format="txt" name="contigs_graph" label="${tool.name} on ${on_string}: Contig Graph" from_work_dir="out/contigs.gfa"/> |
85 </outputs> | 86 </outputs> |
86 | 87 |
87 <tests> | 88 <tests> |
88 <test> <!-- Test 0: Basic test --> | 89 <test> <!-- Test 1: Basic test --> |
89 <param name="lib_type" value="paired" /> | 90 <param name="lib_type" value="paired" /> |
90 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> | 91 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> |
91 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> | 92 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> |
92 <output name="contigs" ftype="fasta"> | 93 <output name="contigs" ftype="fasta"> |
93 <assert_contents> | 94 <assert_contents> |
94 <has_text text=">contig00001"/> | 95 <has_text text=">contig00001"/> |
95 </assert_contents> | 96 </assert_contents> |
96 </output> | 97 </output> |
97 <output name="shovill_std_log" ftype="txt" > | 98 <output name="shovill_std_log" ftype="txt" > |
98 <assert_contents> | 99 <assert_contents> |
99 <has_text text="Running: seqtk"/> | 100 <has_text text="[mash]"/> |
100 <has_text text="Running: kmc"/> | 101 <has_text text="[lighter] Processed 24960 reads"/> |
101 <has_text text="Running: lighter"/> | 102 <has_text text="[FLASH] FLASH v1.2.11 complete!"/> |
102 <has_text text="User supplied --nocorr"/> | 103 <has_text text="[spades] ======= SPAdes pipeline finished."/> |
103 <has_text text="Running: flash"/> | 104 </assert_contents> |
104 <has_text text="Running: spades"/> | 105 </output> |
105 <has_text text="Done."/> | 106 </test> |
106 </assert_contents> | 107 <test> <!-- Test 2: Auto everything + trim + different name format test --> |
107 </output> | |
108 </test> | |
109 <test> <!-- Test 1: Auto everything + trim + different name format test --> | |
110 <param name="lib_type" value="paired" /> | 108 <param name="lib_type" value="paired" /> |
111 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> | 109 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> |
112 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> | 110 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> |
113 <param name="trim" value="true" /> | 111 <param name="trim" value="true" /> |
114 <section name="adv"> | 112 <section name="adv"> |
123 <has_text text=">contig001"/> | 121 <has_text text=">contig001"/> |
124 </assert_contents> | 122 </assert_contents> |
125 </output> | 123 </output> |
126 <output name="shovill_std_log" ftype="txt" > | 124 <output name="shovill_std_log" ftype="txt" > |
127 <assert_contents> | 125 <assert_contents> |
128 <has_text text="Running: seqtk"/> | 126 <has_text text="[mash] Writing to"/> |
129 <has_text text="Running: kmc"/> | 127 <has_text text="[trimmomatic] TrimmomaticPE: Completed successfully"/> |
130 <has_text_matching expression="Running:\s+\S+\s+trimmomatic"/> | 128 <has_text text="[lighter] Processed 24960 reads:"/> |
131 <has_text text="Running: lighter"/> | 129 <has_text text="[FLASH] FLASH v1.2.11 complete!"/> |
132 <has_text text="Running: flash"/> | 130 <has_text text="[spades] ======= SPAdes pipeline finished."/> |
133 <has_text text="Running: spades"/> | 131 <has_text text="[bwa+samtools-sort] [samclip] Done."/> |
134 <has_text text="Running: bwa index"/> | 132 <has_text text="[pilon] Mean total coverage:"/> |
135 <has_text text="Running: (bwa mem"/> | 133 <has_text text="[shovill] Done."/> |
136 <has_text text="Running: _JAVA"/> | 134 </assert_contents> |
137 <has_text text="Done."/> | 135 </output> |
136 </test> | |
137 <test> <!-- Test 3: Alternate assembler #1: Megahit --> | |
138 <param name="lib_type" value="paired" /> | |
139 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> | |
140 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> | |
141 <param name="assembler" value="megahit" /> | |
142 <output name="contigs" ftype="fasta"> | |
143 <assert_contents> | |
144 <has_text text=">contig00001"/> | |
145 </assert_contents> | |
146 </output> | |
147 <output name="shovill_std_log" ftype="txt" > | |
148 <assert_contents> | |
149 <has_text text="[mash]"/> | |
150 <has_text text="[lighter] Processed 24960 reads"/> | |
151 <has_text text="[FLASH] FLASH v1.2.11 complete!"/> | |
152 <has_text text="[megahit] --- [STAT]"/> | |
153 </assert_contents> | |
154 </output> | |
155 </test> | |
156 <test> <!-- Test 4: Alternate assembler #2: Skesa --> | |
157 <param name="lib_type" value="paired" /> | |
158 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> | |
159 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> | |
160 <param name="assembler" value="skesa" /> | |
161 <output name="contigs" ftype="fasta"> | |
162 <assert_contents> | |
163 <has_text text=">contig00001"/> | |
164 </assert_contents> | |
165 </output> | |
166 <output name="shovill_std_log" ftype="txt" > | |
167 <assert_contents> | |
168 <has_text text="[mash]"/> | |
169 <has_text text="[lighter] Processed 24960 reads"/> | |
170 <has_text text="[FLASH] FLASH v1.2.11 complete!"/> | |
171 <has_text text="[skesa] DONE"/> | |
172 </assert_contents> | |
173 </output> | |
174 </test> | |
175 <test> <!-- Test 5: Alternate assembler #3: Velvet --> | |
176 <param name="lib_type" value="paired" /> | |
177 <param name="R1" value="mutant_R1.fastq" ftype="fastqsanger" /> | |
178 <param name="R2" value="mutant_R2.fastq" ftype="fastqsanger" /> | |
179 <param name="assembler" value="velvet" /> | |
180 <output name="contigs" ftype="fasta"> | |
181 <assert_contents> | |
182 <has_text text=">contig00001"/> | |
183 </assert_contents> | |
184 </output> | |
185 <output name="shovill_std_log" ftype="txt" > | |
186 <assert_contents> | |
187 <has_text text="[mash]"/> | |
188 <has_text text="[lighter] Processed 24960 reads"/> | |
189 <has_text text="[FLASH] FLASH v1.2.11 complete!"/> | |
190 <has_text text="[velvetg] Final graph has"/> | |
138 </assert_contents> | 191 </assert_contents> |
139 </output> | 192 </output> |
140 </test> | 193 </test> |
141 </tests> | 194 </tests> |
142 <help><![CDATA[ | 195 <help><![CDATA[ |
145 | 198 |
146 Details and options: | 199 Details and options: |
147 - Takes paired end Illumina fastq reads | 200 - Takes paired end Illumina fastq reads |
148 - Trim reads: Use Trimmomatic to remove common adaptors first (default: OFF) | 201 - Trim reads: Use Trimmomatic to remove common adaptors first (default: OFF) |
149 - Output log file: If set to "Yes", tool will return Shovill's log file as part of the output | 202 - Output log file: If set to "Yes", tool will return Shovill's log file as part of the output |
203 - Assembler: Which assembler should shovill use from: Skesa, Megahit, Velvet or Spades. Spades is the default. | |
150 | 204 |
151 Advanced options: | 205 Advanced options: |
152 - Name format: Format of output contig FASTA IDs in 'printf' style (default: 'contig%05d') | 206 - Name format: Format of output contig FASTA IDs in 'printf' style (default: 'contig%05d') |
153 - Depth: Sub-sample the reads to this depth. Disable with *Depth: 0* (default: 100) | 207 - Depth: Sub-sample the reads to this depth. Disable with *Depth: 0* (default: 100) |
154 - Estimated genomesize: An estimate of the final genome size, it will autodetect if this is blank. (default: '') | 208 - Estimated genomesize: An estimate of the final genome size, it will autodetect if this is blank. (default: '') |