comparison macros.xml @ 30:4014de1b6daf draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2b3fa63863a366beef057c7f75ccbcaf0c280151
author iuc
date Tue, 27 Aug 2024 14:11:16 +0000
parents b0f2be869d6d
children
comparison
equal deleted inserted replaced
29:b0f2be869d6d 30:4014de1b6daf
3 whenever you make changes to the @TOOL_VERSION@ token! 3 whenever you make changes to the @TOOL_VERSION@ token!
4 The data manager uses a symlink to this macro file to keep the STAR and 4 The data manager uses a symlink to this macro file to keep the STAR and
5 the index versions in sync, but you should manually update @IDX_VERSION_SUFFIX@ --> 5 the index versions in sync, but you should manually update @IDX_VERSION_SUFFIX@ -->
6 <!-- STAR version to be used --> 6 <!-- STAR version to be used -->
7 <token name="@TOOL_VERSION@">2.7.11a</token> 7 <token name="@TOOL_VERSION@">2.7.11a</token>
8 <token name="@VERSION_SUFFIX@">0</token> 8 <token name="@VERSION_SUFFIX@">1</token>
9 <token name="@PROFILE@">21.01</token> 9 <token name="@PROFILE@">21.01</token>
10 <!-- STAR index version compatible with this version of STAR 10 <!-- STAR index version compatible with this version of STAR
11 This is the STAR version that introduced the index structure expected 11 This is the STAR version that introduced the index structure expected
12 by the current version. 12 by the current version.
13 It can be found for any specific version of STAR with: 13 It can be found for any specific version of STAR with:
15 or by looking for the versionGenome parameter in source/parametersDefault 15 or by looking for the versionGenome parameter in source/parametersDefault
16 of STAR's source code --> 16 of STAR's source code -->
17 <token name="@IDX_VERSION@">2.7.4a</token> 17 <token name="@IDX_VERSION@">2.7.4a</token>
18 <token name="@IDX_VERSION_SUFFIX@">2</token> 18 <token name="@IDX_VERSION_SUFFIX@">2</token>
19 <token name="@IDX_DATA_TABLE@">rnastar_index2x_versioned</token> 19 <token name="@IDX_DATA_TABLE@">rnastar_index2x_versioned</token>
20
21 <xml name="requirements"> 20 <xml name="requirements">
22 <requirements> 21 <requirements>
23 <requirement type="package" version="@TOOL_VERSION@">star</requirement> 22 <requirement type="package" version="@TOOL_VERSION@">star</requirement>
24 <requirement type="package" version="1.18">samtools</requirement> 23 <requirement type="package" version="1.18">samtools</requirement>
25 <requirement type="package" version="1.13">gzip</requirement> 24 <requirement type="package" version="1.13">gzip</requirement>
26 <yield /> 25 <yield/>
27 </requirements> 26 </requirements>
28 </xml> 27 </xml>
29
30 <xml name="edam"> 28 <xml name="edam">
31 <edam_topics> 29 <edam_topics>
32 <edam_topic>topic_3170</edam_topic> 30 <edam_topic>topic_3170</edam_topic>
33 <edam_topic>topic_3308</edam_topic> 31 <edam_topic>topic_3308</edam_topic>
34 </edam_topics> 32 </edam_topics>
35 <edam_operations> 33 <edam_operations>
36 <edam_operation>operation_0292</edam_operation> 34 <edam_operation>operation_0292</edam_operation>
37 </edam_operations> 35 </edam_operations>
38 </xml> 36 </xml>
39
40 <xml name="index_selection" token_with_gene_model="0"> 37 <xml name="index_selection" token_with_gene_model="0">
41 <param argument="--genomeDir" type="select" 38 <param argument="--genomeDir" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
42 label="Select reference genome"
43 help="If your genome of interest is not listed, contact the Galaxy team">
44 <options from_data_table="@IDX_DATA_TABLE@"> 39 <options from_data_table="@IDX_DATA_TABLE@">
45 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@" /> 40 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@"/>
46 <filter type="static_value" column="5" value="@IDX_VERSION@" /> 41 <filter type="static_value" column="5" value="@IDX_VERSION@"/>
47 <filter type="sort_by" column="2" /> 42 <filter type="sort_by" column="2"/>
48 <validator type="no_options" message="No indexes are available for the selected input dataset" /> 43 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
49 </options> 44 </options>
50 </param> 45 </param>
51 </xml> 46 </xml>
52
53 <token name="@FASTQ_GZ_OPTION@"> 47 <token name="@FASTQ_GZ_OPTION@">
54 --readFilesCommand zcat 48 --readFilesCommand zcat
55 </token> 49 </token>
56 <xml name="citations"> 50 <xml name="citations">
57 <citations> 51 <citations>
58 <citation type="doi">10.1093/bioinformatics/bts635</citation> 52 <citation type="doi">10.1093/bioinformatics/bts635</citation>
59 </citations> 53 </citations>
60 </xml> 54 </xml>
61 <xml name="SJDBOPTIONS"> 55 <xml name="SJDBOPTIONS">
62 <param argument="--sjdbGTFfile" type="data" format="gff3,gtf" label="Gene model (gff3,gtf) file for splice junctions" optional="false" help="Exon junction information for mapping splices"/> 56 <param argument="--sjdbGTFfile" type="data" format="gff3,gtf" label="Gene model (gff3,gtf) file for splice junctions" optional="false" help="Exon junction information for mapping splices"/>
63 <param argument="--sjdbGTFfeatureExon" type="text" value="exon" label="Elements to use from the gene model to use for splice junctions" help="By default and for almost all cases: 'exon', referring to finding junctions at the RNA splice sites. This can optionally be changed to allow splicing at other levels, such as 'gene', 'transcript', 'CDS'."/> 57 <param argument="--sjdbGTFfeatureExon" type="text" value="exon" label="Elements to use from the gene model to use for splice junctions" help="By default and for almost all cases: 'exon', referring to finding junctions at the RNA splice sites. This can optionally be changed to allow splicing at other levels, such as 'gene', 'transcript', 'CDS'."/>
64 <param argument="--sjdbOverhang" type="integer" min="1" value="100" label="Length of the genomic sequence around annotated junctions" help="Used in constructing the splice junctions database. Ideal value is ReadLength-1"/> 58 <param argument="--sjdbOverhang" type="integer" min="1" value="100" label="Length of the genomic sequence around annotated junctions" help="Used in constructing the splice junctions database. Ideal value is ReadLength-1"/>
65 </xml> 59 </xml>
66 <xml name="dbKeyActions"> 60 <xml name="dbKeyActions">
67 <actions> 61 <actions>
68 <expand macro="dbKeyAction"/> 62 <expand macro="dbKeyAction"/>
69 </actions> 63 </actions>
78 </option> 72 </option>
79 </action> 73 </action>
80 </when> 74 </when>
81 <when value="history"> 75 <when value="history">
82 <action type="metadata" name="dbkey"> 76 <action type="metadata" name="dbkey">
83 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" /> 77 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey"/>
84 </action> 78 </action>
85 </when> 79 </when>
86 </conditional> 80 </conditional>
87 </xml> 81 </xml>
88 <token name="@TEMPINDEX@"><![CDATA[ 82 <token name="@TEMPINDEX@"><![CDATA[
133 ## in bytes 127 ## in bytes
134 --limitGenomeGenerateRAM \$((\${GALAXY_MEMORY_MB:-31000} * 1000000)) 128 --limitGenomeGenerateRAM \$((\${GALAXY_MEMORY_MB:-31000} * 1000000))
135 && 129 &&
136 #end if 130 #end if
137 ]]></token> 131 ]]></token>
138 <token name="@REFGENOMEHANDLING@" ><![CDATA[ 132 <token name="@REFGENOMEHANDLING@"><![CDATA[
139 --runThreadN \${GALAXY_SLOTS:-4} 133 --runThreadN \${GALAXY_SLOTS:-4}
140 --genomeLoad NoSharedMemory 134 --genomeLoad NoSharedMemory
141 --genomeDir 135 --genomeDir
142 #if str($refGenomeSource.geneSource) == 'history': 136 #if str($refGenomeSource.geneSource) == 'history':
143 tempstargenomedir 137 tempstargenomedir
152 --sjdbGTFtagExonParentTranscript Parent 146 --sjdbGTFtagExonParentTranscript Parent
153 #end if 147 #end if
154 #end if 148 #end if
155 #end if 149 #end if
156 ]]></token> 150 ]]></token>
157 <token name="@READSHANDLING@" ><![CDATA[ 151 <token name="@READSHANDLING@"><![CDATA[
158 ## Check that the input pairs are of the same type 152 ## Check that the input pairs are of the same type
159 ## otherwise STARsolo will run for a long time and then error out. 153 ## otherwise STARsolo will run for a long time and then error out.
160 ## We consume either repeats of two inputs R1 + R2 154 ## We consume either repeats of two inputs R1 + R2
161 ## or a collection of paired reads. 155 ## or a collection of paired reads.
162 #if str($sc.input_types.use) == "repeat": 156 #if str($sc.input_types.use) == "repeat":
181 --soloCBmatchWLtype $sc.soloCBmatchWLtype 175 --soloCBmatchWLtype $sc.soloCBmatchWLtype
182 #if $r1.is_of_type('fastq.gz', 'fastqsanger.gz'): 176 #if $r1.is_of_type('fastq.gz', 'fastqsanger.gz'):
183 @FASTQ_GZ_OPTION@ 177 @FASTQ_GZ_OPTION@
184 #end if 178 #end if
185 ]]></token> 179 ]]></token>
186 <token name="@LIMITS@" ><![CDATA[ 180 <token name="@LIMITS@"><![CDATA[
187 --limitOutSJoneRead $getVar('algo.params.junction_limits.limitOutSJoneRead', $getVar('solo.junction_limits.limitOutSJoneRead', 1000)) 181 --limitOutSJoneRead $getVar('algo.params.junction_limits.limitOutSJoneRead', $getVar('solo.junction_limits.limitOutSJoneRead', 1000))
188 --limitOutSJcollapsed $getVar('algo.params.junction_limits.limitOutSJcollapsed', $getVar('solo.junction_limits.limitOutSJcollapsed', 1000000)) 182 --limitOutSJcollapsed $getVar('algo.params.junction_limits.limitOutSJcollapsed', $getVar('solo.junction_limits.limitOutSJcollapsed', 1000000))
189 --limitSjdbInsertNsj $getVar('algo.params.junction_limits.limitSjdbInsertNsj', $getVar('solo.junction_limits.limitSjdbInsertNsj', 1000000)) 183 --limitSjdbInsertNsj $getVar('algo.params.junction_limits.limitSjdbInsertNsj', $getVar('solo.junction_limits.limitSjdbInsertNsj', 1000000))
190 ]]></token> 184 ]]></token>
191 <xml name="ref_selection"> 185 <xml name="ref_selection">
192 <param argument="--genomeFastaFiles" type="data" format="fasta,fasta.gz" label="Select a reference genome" /> 186 <param argument="--genomeFastaFiles" type="data" format="fasta,fasta.gz" label="Select a reference genome"/>
193 <param argument="--genomeSAindexNbases" type="integer" min="2" max="16" value="14" label="Length of the SA pre-indexing string" help="Typically between 10 and 15. Longer strings will use much more memory, but allow faster searches. For small genomes, the parameter --genomeSAindexNbases must be scaled down to min(14, log2(GenomeLength)/2 - 1)"/> 187 <param argument="--genomeSAindexNbases" type="integer" min="2" max="16" value="14" label="Length of the SA pre-indexing string" help="Typically between 10 and 15. Longer strings will use much more memory, but allow faster searches. For small genomes, the parameter --genomeSAindexNbases must be scaled down to min(14, log2(GenomeLength)/2 - 1)"/>
194 </xml> 188 </xml>
195 <xml name="stdio" > 189 <xml name="stdio">
196 <stdio> 190 <stdio>
197 <regex match="FATAL error" source="both" level="fatal"/> 191 <regex match="FATAL error" source="both" level="fatal"/>
198 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/> 192 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/>
199 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/> 193 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/>
200 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/> 194 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/>
201 <yield /> 195 <yield/>
202 </stdio> 196 </stdio>
203 </xml> 197 </xml>
204 <xml name="input_selection"> 198 <xml name="input_selection">
205 <conditional name="input_types" > 199 <conditional name="input_types">
206 <param name="use" type="select" label="Input Type" > 200 <param name="use" type="select" label="Input Type">
207 <option value="repeat" >Separate barcode and cDNA reads</option> 201 <option value="repeat">Separate barcode and cDNA reads</option>
208 <option value="list_paired" >Paired collection of barcode and cDNA reads</option> 202 <option value="list_paired">Paired collection of barcode and cDNA reads</option>
209 </param> 203 </param>
210 <when value="repeat"> 204 <when value="repeat">
211 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input1" type="data" multiple="true" 205 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input1" type="data" multiple="true" label="RNA-Seq FASTQ/FASTA file, Barcode reads"/>
212 label="RNA-Seq FASTQ/FASTA file, Barcode reads" /> 206 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input2" type="data" multiple="true" label="RNA-Seq FASTQ/FASTA file, cDNA reads"/>
213 <param format="fastq,fasta,fastq.gz,fastqsanger.gz" name="input2" type="data" multiple="true"
214 label="RNA-Seq FASTQ/FASTA file, cDNA reads"/>
215 </when> 207 </when>
216 <when value="list_paired"> 208 <when value="list_paired">
217 <param name="input_collection" collection_type="paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="Collection of Pairs" /> 209 <param name="input_collection" collection_type="paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="Collection of Pairs"/>
218 </when> 210 </when>
219 </conditional> 211 </conditional>
220 </xml> 212 </xml>
221 <xml name="input_selection_smart_seq"> 213 <xml name="input_selection_smart_seq">
222 <conditional name="input_types_smart_seq" > 214 <conditional name="input_types_smart_seq">
223 <param name="use" type="select" label="Input Type" > 215 <param name="use" type="select" label="Input Type">
224 <option value="list_single_end" >Single-end FASTQ collection</option> 216 <option value="list_single_end">Single-end FASTQ collection</option>
225 <option value="list_paired_end" >Paired FASTQ collection</option> 217 <option value="list_paired_end">Paired FASTQ collection</option>
226 </param> 218 </param>
227 <when value="list_single_end"> 219 <when value="list_single_end">
228 <param name="single_end_collection" collection_type="list" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of single-end FASTQ files" /> 220 <param name="single_end_collection" collection_type="list" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of single-end FASTQ files"/>
229 </when> 221 </when>
230 <when value="list_paired_end"> 222 <when value="list_paired_end">
231 <param name="paired_end_collection" collection_type="list:paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of paired-end FASTQ files" /> 223 <param name="paired_end_collection" collection_type="list:paired" type="data_collection" format="fastq,fasta,fastq.gz,fastqsanger.gz" label="List of paired-end FASTQ files"/>
232 </when> 224 </when>
233 </conditional> 225 </conditional>
234 </xml> 226 </xml>
235 <xml name="umidedup_options"> 227 <xml name="umidedup_options">
236 <option value="1MM_All" selected="true">Collapse all UMIs with 1 mismatch distance to each other (1MM_All)</option> 228 <option value="1MM_All" selected="true">Collapse all UMIs with 1 mismatch distance to each other (1MM_All)</option>
237 <option value="1MM_Directional_UMItools" >Directional method from the UMI-tool</option> 229 <option value="1MM_Directional_UMItools">Directional method from the UMI-tool</option>
238 <option value="1MM_Directional" >Directional with stringent UMI deduplication</option> 230 <option value="1MM_Directional">Directional with stringent UMI deduplication</option>
239 </xml> 231 </xml>
240 <xml name="anchor_types"> 232 <xml name="anchor_types">
241 <option value="0">Read start</option> 233 <option value="0">Read start</option>
242 <option value="1">Read end</option> 234 <option value="1">Read end</option>
243 <option value="2">Adapter start</option> 235 <option value="2">Adapter start</option>
244 <option value="3">Adapter end</option> 236 <option value="3">Adapter end</option>
245 </xml> 237 </xml>
246 <xml name="cb_match_wl_common"> 238 <xml name="cb_match_wl_common">
247 <option value="Exact" >Exact</option> 239 <option value="Exact">Exact</option>
248 <option value="1MM" >Single match (1MM)</option> 240 <option value="1MM">Single match (1MM)</option>
249 </xml> 241 </xml>
250 <xml name="cb_match_wl_cellranger"> 242 <xml name="cb_match_wl_cellranger">
251 <option value="1MM_multi" selected="true" >Multiple matches (CellRanger 2, 1MM_multi)</option> 243 <option value="1MM_multi" selected="true">Multiple matches (CellRanger 2, 1MM_multi)</option>
252 <option value="1MM_multi_pseudocounts" >Multiple matches (CellRanger 3, 1MM_multi_pseudocounts)</option> 244 <option value="1MM_multi_pseudocounts">Multiple matches (CellRanger 3, 1MM_multi_pseudocounts)</option>
253 <option value="1MM_multi_Nbase_pseudocounts" >Multimatching to WL is allowed for CBs with N-bases (CellRanger 3, 1MM_multi_Nbase_pseudocounts)</option> 245 <option value="1MM_multi_Nbase_pseudocounts">Multimatching to WL is allowed for CBs with N-bases (CellRanger 3, 1MM_multi_Nbase_pseudocounts)</option>
254 </xml> 246 </xml>
255 <xml name="solo_adapter_params"> 247 <xml name="solo_adapter_params">
256 <param argument="--soloAdapterSequence" type="text" value="-" label="Adapter sequence to anchor barcodes." > 248 <param argument="--soloAdapterSequence" type="text" value="-" label="Adapter sequence to anchor barcodes.">
257 <sanitizer> 249 <sanitizer>
258 <valid initial="string.digits"> 250 <valid initial="string.digits">
259 <add value="-"/> 251 <add value="-"/>
260 <add value="A"/> 252 <add value="A"/>
261 <add value="T"/> 253 <add value="T"/>
263 <add value="G"/> 255 <add value="G"/>
264 <add value="N"/> 256 <add value="N"/>
265 </valid> 257 </valid>
266 </sanitizer> 258 </sanitizer>
267 </param> 259 </param>
268 <param argument="--soloAdapterMismatchesNmax" type="integer" min="1" value="1" label="Maximum number of mismatches allowed in adapter sequence" /> 260 <param argument="--soloAdapterMismatchesNmax" type="integer" min="1" value="1" label="Maximum number of mismatches allowed in adapter sequence"/>
269 <param argument="--clipAdapterType" type="select" > 261 <param argument="--clipAdapterType" type="select">
270 <option value="Hamming" selected="true" >Adapter clipping based on Hamming distance</option> 262 <option value="Hamming" selected="true">Adapter clipping based on Hamming distance</option>
271 <option value="CellRanger4" >5p and 3p adapter clipping similar to CellRanger4</option> 263 <option value="CellRanger4">5p and 3p adapter clipping similar to CellRanger4</option>
272 <option value="None" >No adapter clipping</option> 264 <option value="None">No adapter clipping</option>
273 </param> 265 </param>
274 </xml> 266 </xml>
275 <xml name="common_SAM_attributes"> 267 <xml name="common_SAM_attributes">
276 <option value="NH" selected="true">NH (number of reported alignments/hits for the read)</option> 268 <option value="NH" selected="true">NH (number of reported alignments/hits for the read)</option>
277 <option value="HI" selected="true">HI (query hit index)</option> 269 <option value="HI" selected="true">HI (query hit index)</option>
282 <option value="jM">jM (intron motifs for all junctions)</option> 274 <option value="jM">jM (intron motifs for all junctions)</option>
283 <option value="jI">jI (1-based start and end of introns for all junctions)</option> 275 <option value="jI">jI (1-based start and end of introns for all junctions)</option>
284 </xml> 276 </xml>
285 <xml name="limits"> 277 <xml name="limits">
286 <section name="junction_limits" title="Junction Limits" expanded="false"> 278 <section name="junction_limits" title="Junction Limits" expanded="false">
287 <param argument="--limitOutSJoneRead" type="integer" min="1" value="1000" label="Maximum number of junctions for one read (including all multimappers)" /> 279 <param argument="--limitOutSJoneRead" type="integer" min="1" value="1000" label="Maximum number of junctions for one read (including all multimappers)"/>
288 <param argument="--limitOutSJcollapsed" type="integer" min="1" value="1000000" label="Maximum number of collapsed junctions" /> 280 <param argument="--limitOutSJcollapsed" type="integer" min="1" value="1000000" label="Maximum number of collapsed junctions"/>
289 <param argument="--limitSjdbInsertNsj" type="integer" min="0" value="1000000" label="Maximum number of inserts to be inserted into the genome on the fly." /> 281 <param argument="--limitSjdbInsertNsj" type="integer" min="0" value="1000000" label="Maximum number of inserts to be inserted into the genome on the fly."/>
290 </section> 282 </section>
291 </xml> 283 </xml>
292 <xml name="outCountActions"> 284 <xml name="outCountActions">
293 <actions> 285 <actions>
294 <action name="column_names" type="metadata" default="GeneID,Counts_unstrand,Counts_firstStrand,Counts_secondStrand" /> 286 <action name="column_names" type="metadata" default="GeneID,Counts_unstrand,Counts_firstStrand,Counts_secondStrand"/>
295 <expand macro="dbKeyAction"/> 287 <expand macro="dbKeyAction"/>
296 </actions> 288 </actions>
297 </xml> 289 </xml>
298 <xml name="outWig"> 290 <xml name="outWig">
299 <conditional name="outWig"> 291 <conditional name="outWig">
302 <option value="bedGraph">Yes in bedgraph format</option> 294 <option value="bedGraph">Yes in bedgraph format</option>
303 <option value="wiggle">Yes in wiggle format</option> 295 <option value="wiggle">Yes in wiggle format</option>
304 </param> 296 </param>
305 <when value="None"> 297 <when value="None">
306 <!-- This is necessary for the filtering of output --> 298 <!-- This is necessary for the filtering of output -->
307 <param name="outWigStrand" type="hidden" value="false" /> 299 <param name="outWigStrand" type="hidden" value="false"/>
308 </when> 300 </when>
309 <when value="bedGraph"> 301 <when value="bedGraph">
310 <expand macro="outWigParams"/> 302 <expand macro="outWigParams"/>
311 </when> 303 </when>
312 <when value="wiggle"> 304 <when value="wiggle">
350 #end if 342 #end if
351 ]]></token> 343 ]]></token>
352 <xml name="outWigOutputs"> 344 <xml name="outWigOutputs">
353 <data format="bedgraph" name="signal_unique_str1" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 1" from_work_dir="Signal.Unique.str1.out"> 345 <data format="bedgraph" name="signal_unique_str1" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 1" from_work_dir="Signal.Unique.str1.out">
354 <filter>outWig['outWigType'] != "None"</filter> 346 <filter>outWig['outWigType'] != "None"</filter>
355 <expand macro="dbKeyActions" /> 347 <expand macro="dbKeyActions"/>
356 <change_format> 348 <change_format>
357 <when input="outWig.outWigType" value="wiggle" format="wig" /> 349 <when input="outWig.outWigType" value="wiggle" format="wig"/>
358 </change_format> 350 </change_format>
359 </data> 351 </data>
360 <data format="bedgraph" name="signal_uniquemultiple_str1" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 1" from_work_dir="Signal.UniqueMultiple.str1.out"> 352 <data format="bedgraph" name="signal_uniquemultiple_str1" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 1" from_work_dir="Signal.UniqueMultiple.str1.out">
361 <filter>outWig['outWigType'] != "None"</filter> 353 <filter>outWig['outWigType'] != "None"</filter>
362 <expand macro="dbKeyActions" /> 354 <expand macro="dbKeyActions"/>
363 <change_format> 355 <change_format>
364 <when input="outWig.outWigType" value="wiggle" format="wig" /> 356 <when input="outWig.outWigType" value="wiggle" format="wig"/>
365 </change_format> 357 </change_format>
366 </data> 358 </data>
367 <data format="bedgraph" name="signal_unique_str2" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 2" from_work_dir="Signal.Unique.str2.out"> 359 <data format="bedgraph" name="signal_unique_str2" label="${tool.name} on ${on_string}: Coverage Uniquely mapped strand 2" from_work_dir="Signal.Unique.str2.out">
368 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter> 360 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter>
369 <expand macro="dbKeyActions" /> 361 <expand macro="dbKeyActions"/>
370 <change_format> 362 <change_format>
371 <when input="outWig.outWigType" value="wiggle" format="wig" /> 363 <when input="outWig.outWigType" value="wiggle" format="wig"/>
372 </change_format> 364 </change_format>
373 </data> 365 </data>
374 <data format="bedgraph" name="signal_uniquemultiple_str2" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 2" from_work_dir="Signal.UniqueMultiple.str2.out"> 366 <data format="bedgraph" name="signal_uniquemultiple_str2" label="${tool.name} on ${on_string}: Coverage Uniquely + Multiple mapped strand 2" from_work_dir="Signal.UniqueMultiple.str2.out">
375 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter> 367 <filter>outWig['outWigType'] != "None" and outWig['outWigStrand']</filter>
376 <expand macro="dbKeyActions" /> 368 <expand macro="dbKeyActions"/>
377 <change_format> 369 <change_format>
378 <when input="outWig.outWigType" value="wiggle" format="wig" /> 370 <when input="outWig.outWigType" value="wiggle" format="wig"/>
379 </change_format> 371 </change_format>
380 </data> 372 </data>
381 </xml> 373 </xml>
382 <xml name="quantMode"> 374 <xml name="quantMode">
383 <conditional name="quantmode_output"> 375 <conditional name="quantmode_output">
384 <param argument="--quantMode" type="select" 376 <param argument="--quantMode" type="select" label="Per gene/transcript output" help="STAR can provide analysis results not only with respect to the reference genome, but also with respect to genes and transcripts described by a gene model. Note: This functionality requires either the selection above of a cached index with a gene model, or a gene model provided alongside the index/reference genome in GTF or GFF3 format!">
385 label="Per gene/transcript output"
386 help="STAR can provide analysis results not only with respect to the reference genome, but also with respect to genes and transcripts described by a gene model. Note: This functionality requires either the selection above of a cached index with a gene model, or a gene model provided alongside the index/reference genome in GTF or GFF3 format!">
387 <option value="-">No per gene or transcript output</option> 377 <option value="-">No per gene or transcript output</option>
388 <option value="GeneCounts">Per gene read counts (GeneCounts)</option> 378 <option value="GeneCounts">Per gene read counts (GeneCounts)</option>
389 <option value="TranscriptomeSAM">Transcript-based BAM output (TranscriptomeSAM)</option> 379 <option value="TranscriptomeSAM">Transcript-based BAM output (TranscriptomeSAM)</option>
390 <option value="TranscriptomeSAM GeneCounts">Both per gene read counts and transcript-based BAM output (TranscriptomeSAM GeneCounts)</option> 380 <option value="TranscriptomeSAM GeneCounts">Both per gene read counts and transcript-based BAM output (TranscriptomeSAM GeneCounts)</option>
391 </param> 381 </param>
392 <when value="-" /> 382 <when value="-"/>
393 <when value="GeneCounts" /> 383 <when value="GeneCounts"/>
394 <when value="TranscriptomeSAM"> 384 <when value="TranscriptomeSAM">
395 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend" 385 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend" label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?" help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled."/>
396 label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?"
397 help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled." />
398 </when> 386 </when>
399 <when value="TranscriptomeSAM GeneCounts"> 387 <when value="TranscriptomeSAM GeneCounts">
400 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend" 388 <param argument="--quantTranscriptomeBan" type="boolean" truevalue="IndelSoftclipSingleend" falsevalue="Singleend" label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?" help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled."/>
401 label="Exclude alignments with indels or soft clipping from the transcriptome BAM output?"
402 help="You will need to exclude alignments with indels and soft-clipped bases from the transcriptome BAM output for compatibility with certain transcript quantification tools, most notably RSEM. If you are using a tool, like eXpress, that can deal with indels and soft-clipped bases, you can achieve better results by leaving this option disabled." />
403 </when> 389 </when>
404 </conditional> 390 </conditional>
405 </xml> 391 </xml>
406 <xml name="quantModeNoGTF"> 392 <xml name="quantModeNoGTF">
407 <conditional name="quantmode_output"> 393 <conditional name="quantmode_output">
408 <param argument="--quantMode" type="select" 394 <param argument="--quantMode" type="select" label="Per gene/transcript output">
409 label="Per gene/transcript output">
410 <option value="-">No per gene or transcript output as no GTF was provided</option> 395 <option value="-">No per gene or transcript output as no GTF was provided</option>
411 </param> 396 </param>
412 <when value="-" /> 397 <when value="-"/>
413 </conditional> 398 </conditional>
414 </xml> 399 </xml>
415 <xml name="outSAMmapqUnique"> 400 <xml name="outSAMmapqUnique">
416 <!-- MAPQ 255 is the default in STAR (coming from tophat behaviour and compatibility for Cufflinks) but it is a problematic value 401 <!-- MAPQ 255 is the default in STAR (coming from tophat behaviour and compatibility for Cufflinks) but it is a problematic value
417 - according to SAM/BAM specs it means "undefined". 402 - according to SAM/BAM specs it means "undefined".
418 - Using 255 as the max mapq causes problem with modern downstream tools like mutect2: https://sites.duke.edu/workblog/2021/08/18/star-rnaseq-gatk-mutect2/ and 60 has become an inofficial replacement for 255. --> 403 - Using 255 as the max mapq causes problem with modern downstream tools like mutect2: https://sites.duke.edu/workblog/2021/08/18/star-rnaseq-gatk-mutect2/ and 60 has become an inofficial replacement for 255. -->
419 <param argument="--outSAMmapqUnique" type="integer" value="60" min="0" max="255" 404 <param argument="--outSAMmapqUnique" type="integer" value="60" min="0" max="255" label="MAPQ value for unique mappers" help="STAR bases the mapping quality scores of alignment records in its BAM output on the number of alternative mappings for the read. If a read maps to multiple locations on the reference genome, the following MAPQ scoring scheme is used: &gt;=5 mappings =&gt; MAPQ=0; 3-4 mappings =&gt; MAPQ=1; 2 mappings =&gt; MAPQ=3. This setting lets you control the MAPQ used for reads mapped to a single location. Set to 255 for compatibility with Cufflink (default in STAR) but keep to 60 for modern downstream tools like mutect2."/>
420 label="MAPQ value for unique mappers" 405 </xml>
421 help="STAR bases the mapping quality scores of alignment records in its BAM output on the number of alternative mappings for the read. If a read maps to multiple locations on the reference genome, the following MAPQ scoring scheme is 406 <xml name="wasp">
422 used: >=5 mappings => MAPQ=0; 3-4 mappings => MAPQ=1; 2 mappings => MAPQ=3. This setting lets you control the MAPQ used for reads mapped to a single location. Set to 255 for compatibility with Cufflink (default in STAR) but keep to 60 for modern downstream tools like mutect2." /> 407 <!--
408 This is re-implementation of the original WASP algorithm by Bryce van de Geijn, Graham McVicker,
409 Yoav Gilad and Jonathan K Pritchard. Please cite the original WASP paper: Nature Methods 12,
410 1061–1063 (2015) https://www.nature.com/articles/nmeth.3582. WASP filtering is activated
411 with "waspOutputMode SAMtag".
412 -->
413 <conditional name="wasp_conditional">
414 <param argument="--waspOutputMode" type="select" label="Actiavte WASP filtering">
415 <help><![CDATA[This is a reimplementation of the original WASP algorithm by Bryce van de Geijn, Graham McVicker,
416 Yoav Gilad and Jonathan K Pritchard. https://doi.org/10.1038/nmeth.3582. This option will add the vW tag to the SAM output. vW:i:1 means
417 alignment passed WASP filtering, and all other values mean it did not:<br/>
418 - vW:i:2 = multi-mapping read<br/>
419 - vW:i:3 = variant base in the read is N (non-ACGT)<br/>
420 - vW:i:4 = remapped read did not map <br/>
421 - vW:i:5 = remapped read multi-maps <br/>
422 - vW:i:6 = remapped read maps to a different locus <br/>
423 - vW:i:7 = read overlaps too many variants <br/>
424 ]]>
425 </help>
426 <option value="" selected="true">No WASP filtering</option>
427 <option value="wasp_mode">Activate WASP filtering</option>
428 </param>
429 <when value="wasp_mode">
430 <param argument="--varVCFfile" type="data" format="vcf" label="VCF file with personal variants" help="Each variant is expected to have a genotype with two alleles. The VCF file needs to have the 10th column with genotype recorded as 0/1, 1/0, 1/1 (or | instead of /)"/>
431 </when>
432 <when value=""/>
433 </conditional>
423 </xml> 434 </xml>
424 </macros> 435 </macros>