Mercurial > repos > iuc > stacks2_shortreads
annotate macros_process.xml @ 1:1974fee35ca7 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
author | iuc |
---|---|
date | Mon, 30 Sep 2019 14:16:13 -0400 |
parents | ad7a60726fc3 |
children | 43e3eeb2e0ec |
rev | line source |
---|---|
0
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
2 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
3 <!-- macros and tokens for process_radtags and process_short_reads --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
4 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
5 <macros> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
6 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
7 <token name="@PROCESS_IOOPTIONS@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
8 -p stacks_inputs/ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
9 #if $input_type.input_type_select == "paired" |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
10 --paired |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
11 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
12 -i $inputype |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
13 -b '$barcode' |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
14 $input_type.barcode_encoding |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
15 #if str( $outype ) != "auto" |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
16 -y $outype |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
17 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
18 -o stacks_outputs |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
19 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
20 <xml name="process_output_types"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
21 <param name="outype" argument="-y" type="select" label="Output format" > |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
22 <option value="auto" selected="True">Same as input</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
23 <option value="fastq">fastq</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
24 <option value="fasta">fasta</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
25 <option value="gzfastq">gzipped fastq</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
26 <option value="gzfasta">gzipped fasta</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
27 </param> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
28 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
29 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
30 <xml name="discover_faqgz_output_macro" token_pattern="" token_dir=""> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
31 <expand macro="discover_faq_output_macro" pattern="@PATTERN@" dir="@DIR@"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
32 <discover_datasets pattern="@PATTERN@\.fq\.gz$" ext="fastqsanger.gz" directory="@DIR@/" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
33 <discover_datasets pattern="@PATTERN@\.fa\.gz$" ext="fasta.gz" directory="@DIR@/" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
34 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
35 <xml name="discover_faq_output_macro" token_pattern="" token_dir=""> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
36 <discover_datasets pattern="@PATTERN@\.fq$" ext="fastqsanger" directory="@DIR@/" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
37 <discover_datasets pattern="@PATTERN@\.fa$" ext="fasta" directory="@DIR@/" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
38 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
39 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
40 <xml name="process_outputs"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
41 <collection name="demultiplexed" type="list" label="${tool.name} on ${on_string} Demultiplexed reads"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
42 <filter>input_type['input_type_select'] == "single"</filter> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
43 <expand macro="discover_faqgz_output_macro" pattern="(?P<name>.+)" dir="stacks_outputs"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
44 </collection> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
45 <collection name="demultiplexed_paired" type="list:paired" label="${tool.name} on ${on_string} Demultiplexed reads"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
46 <filter>input_type['input_type_select'] == "paired"</filter> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
47 <expand macro="discover_faqgz_output_macro" pattern="(?P<identifier_0>.+)\.(?P<identifier_1>[^.]+)" dir="stacks_outputs"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
48 </collection> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
49 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
50 <collection name="remaining" type="list:paired" label="${tool.name} on ${on_string} Remaining orphan reads"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
51 <filter>input_type['input_type_select'] == "paired"</filter> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
52 <expand macro="discover_faqgz_output_macro" pattern="(?P<identifier_0>.+)\.rem\.(?P<identifier_1>[^.]+)" dir="stacks_outputs/remaining"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
53 </collection> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
54 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
55 <!-- note irrespective of -y output is always named fastq and are never zipped --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
56 <collection name="discarded" type="list" label="${tool.name} on ${on_string} Discarded reads"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
57 <filter>capture is True and input_type['input_type_select'] == "single"</filter> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
58 <expand macro="discover_faq_output_macro" pattern="(?P<name>.*)" dir="stacks_outputs/discarded"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
59 </collection> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
60 <collection name="discarded_paired" type="list:paired" label="${tool.name} on ${on_string} Discarded reads"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
61 <filter>capture is True and input_type['input_type_select'] == "paired"</filter> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
62 <expand macro="discover_faq_output_macro" pattern="(?P<identifier_0>.+)\.(?P<identifier_1>[^.]+)" dir="stacks_outputs/discarded"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
63 </collection> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
64 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
65 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
66 <!-- FASTQ filtering options --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
67 <xml name="process_filter"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
68 <conditional name="filter_cond" > |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
69 <param name="filter_select" type="select" label="Do quality filtering"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
70 <option value="yes">Yes</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
71 <option value="no" selected="true">No</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
72 </param> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
73 <when value="yes"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
74 <param name="sliding" type="float" value="0.15" min="0" max="1" argument="-w" label="Set the size of the sliding window as a fraction of the read length, between 0 and 1" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
75 <param name="score" type="integer" value="10" min="0" max="40" argument="-s" label="Set the score limit. If the average score within the sliding window drops below this value, the read is discarded" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
76 <param name="remove" type="boolean" checked="false" truevalue="-c" falsevalue="" argument="-c" label="Clean data, remove any read with an uncalled base" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
77 <param name="discard" type="boolean" checked="false" truevalue="-q" falsevalue="" argument="-q" label="Discard reads with low quality scores"/> |
1
1974fee35ca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
iuc
parents:
0
diff
changeset
|
78 <param argument="--filter-illumina" name="filter_illumina" type="boolean" checked="false" truevalue="--filter-illumina" falsevalue="" label="Discard reads that have been marked by Illumina's chastity/purity filter as failing" /> |
0
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
79 </when> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
80 <when value="no"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
81 <param argument="--len_limit" type="integer" value="" optional="true" label="Minimum sequence length" help="useful if your data has already been trimmed"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
82 </when> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
83 </conditional> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
84 <param name="capture" type="boolean" checked="false" truevalue="-D" falsevalue="" argument="-D" label="Capture discarded reads to a file" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
85 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
86 <token name="@PROCESS_FILTER@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
87 #if $filter_cond.filter_select == 'yes': |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
88 -w $filter_cond.sliding |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
89 -s $filter_cond.score |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
90 $filter_cond.remove |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
91 $filter_cond.discard |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
92 $filter_cond.filter_illumina |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
93 #else |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
94 #if str($filter_cond.len_limit) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
95 --len_limit $filter_cond.len_limit |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
96 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
97 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
98 $capture |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
99 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
100 <token name="@PROCESS_FASTQ_POSTPROC@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
101 #if $capture: |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
102 && mkdir stacks_outputs/discarded/ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
103 && mv stacks_outputs/*discards stacks_outputs/discarded/ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
104 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
105 ## fix the _R[12]_0 that was added for preparing the input |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
106 #if $input_type.input_type_select == 'paired': |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
107 && find stacks_outputs/discarded/ -type f | while read file; do mv "\$file" "\$(echo \$file | sed 's/_R1_0/.1/; s/_R2_0/.2/;')"; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
108 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
109 ## also remove the gz which is added by procrad (but its uncompressed) |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
110 && find stacks_outputs/discarded/ -type f -iname "*.gz.discards" | while read file; do mv "\$file" "\$(echo \$file | sed 's/.gz.discards$/.discards/;')"; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
111 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
112 ## the discard files are named fastq even if the output is fasta |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
113 #if str($outype).endswith("fasta"): |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
114 && find stacks_outputs/discarded/ -type f | while read file; do mv "\$file" "\$(echo \$file | sed 's/\.fastq.discards/.fa/;')"; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
115 #else |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
116 && find stacks_outputs/discarded/ -type f | while read file; do mv "\$file" "\$(echo \$file | sed 's/\.fastq.discards/.fq/;')"; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
117 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
118 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
119 ## prepare paired read output for processing in galaxy |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
120 #if $input_type.input_type_select == 'paired': |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
121 && mkdir stacks_outputs/remaining |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
122 && find stacks_outputs -iregex ".*\.rem\.[12]\.f[aq]\(\.gz\)?" | while read file; do mv "\$file" stacks_outputs/remaining/; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
123 && find stacks_outputs/ -iregex ".*.f[aq]\(\.gz\)?" | while read file; do mv "\$file" "\$(echo \$file | sed 's/\.1\./.forward./; s/\.2\./.reverse./')"; done |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
124 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
125 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
126 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
127 <!-- adapter trimming options --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
128 <xml name="process_adapter"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
129 <param argument="--adapter_1" type="text" value="" optional="true" label="Adaptor sequence that may occur on the first read" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
130 <param argument="--adapter_2" type="text" value="" optional="true" label="Adaptor sequence that may occur on the paired-read" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
131 <param argument="--adapter_mm" type="integer" value="" optional="true" label="Number of mismatches allowed in the adapter sequence"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
132 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
133 <token name="@PROCESS_ADAPTER@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
134 ## Adapter options |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
135 #if str($options_advanced.adapter_1) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
136 --adapter_1 $options_advanced.adapter_1 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
137 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
138 #if str($options_advanced.adapter_2) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
139 --adapter_2 $options_advanced.adapter_2 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
140 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
141 #if str($options_advanced.adapter_mm) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
142 --adapter_mm $options_advanced.adapter_mm |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
143 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
144 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
145 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
146 <!-- barcode rescue options --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
147 <xml name="rescue_barcode"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
148 <conditional name="rescue_cond"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
149 <param name="rescue" type="select" argument="-r" label="Rescue mutated barcodes and RAD-Tags?"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
150 <option value="-r">yes</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
151 <option value="" selected="true">no</option> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
152 </param> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
153 <when value="-r"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
154 <param argument="--barcode_dist_1" type="integer" value="" optional="true" label="Number of allowed mismatches when rescuing first read barcodes" help="(default 1)"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
155 <param argument="--barcode_dist_2" type="integer" value="" optional="true" label="Number of allowed mismatches when rescuing paired read barcodes" help="(default value for single end barcodes)"/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
156 </when> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
157 <when value=""/> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
158 </conditional> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
159 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
160 <token name="@RESCUE_BARCODE@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
161 #if str($options_advanced.rescue_cond.rescue) != "" |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
162 $options_advanced.rescue_cond.rescue |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
163 #if str($options_advanced.rescue_cond.barcode_dist_1) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
164 --barcode_dist_1 $options_advanced.rescue_cond.barcode_dist_1 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
165 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
166 #if str($options_advanced.rescue_cond.barcode_dist_2) != "": |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
167 --barcode_dist_2 $options_advanced.rescue_cond.barcode_dist_2 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
168 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
169 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
170 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
171 |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
172 <!-- advanced options that are shared --> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
173 <xml name="common_advanced"> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
174 <param name="truncate" type="integer" value="" optional="True" argument="-t" label="Truncate final read length to this value" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
175 <param argument="--retain_header" type="boolean" checked="false" truevalue="--retain_header" falsevalue="" label="Retain unmodified FASTQ headers in the output" /> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
176 </xml> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
177 <token name="@COMMON_ADVANCED@"><![CDATA[ |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
178 #if str($options_advanced.truncate) |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
179 -t $options_advanced.truncate |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
180 #end if |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
181 $options_advanced.retain_header |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
182 ]]></token> |
ad7a60726fc3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
183 </macros> |