Mercurial > repos > iuc > stacks2_ustacks
annotate macros_process.xml @ 3:cfb504394ae1 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
author | iuc |
---|---|
date | Tue, 27 Apr 2021 09:30:21 +0000 |
parents | d033e1ccb386 |
children | d1fda11e602f |
rev | line source |
---|---|
0
7e5a174bc201
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"?> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
2 |
7e5a174bc201
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 --> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
4 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
5 <macros> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
6 |
7e5a174bc201
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[ |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
8 -p stacks_inputs/ |
7e5a174bc201
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" |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
10 --paired |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
11 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
12 -i $inputype |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
13 -b '$barcode' |
7e5a174bc201
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 |
7e5a174bc201
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" |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
16 -y $outype |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
17 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
18 -o stacks_outputs |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
19 ]]></token> |
7e5a174bc201
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"> |
7e5a174bc201
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" > |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
27 </param> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
28 </xml> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
29 |
7e5a174bc201
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=""> |
7e5a174bc201
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@"/> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
32 <discover_datasets pattern="@PATTERN@\.fq\.gz$" ext="fastqsanger.gz" directory="@DIR@/"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
33 <discover_datasets pattern="@PATTERN@\.fa\.gz$" ext="fasta.gz" directory="@DIR@/"/> |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
34 </xml> |
7e5a174bc201
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=""> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
36 <discover_datasets pattern="@PATTERN@\.fq$" ext="fastqsanger" directory="@DIR@/"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
37 <discover_datasets pattern="@PATTERN@\.fa$" ext="fasta" directory="@DIR@/"/> |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
38 </xml> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
39 |
7e5a174bc201
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"> |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
44 </collection> |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
48 </collection> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
49 |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
53 </collection> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
54 |
7e5a174bc201
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 --> |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
59 </collection> |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
63 </collection> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
64 </xml> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
65 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
66 <!-- FASTQ filtering options --> |
7e5a174bc201
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"> |
7e5a174bc201
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" > |
7e5a174bc201
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"> |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
72 </param> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
73 <when value="yes"> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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"/> |
0
7e5a174bc201
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"/> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
79 </when> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
80 <when value="no"> |
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
82 </when> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
83 </conditional> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
84 <param name="capture" type="boolean" checked="false" truevalue="-D" falsevalue="" argument="-D" label="Capture discarded reads to a file"/> |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
85 </xml> |
7e5a174bc201
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[ |
7e5a174bc201
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': |
7e5a174bc201
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 |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
90 $filter_cond.remove |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
91 $filter_cond.discard |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
93 #else |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
96 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
97 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
98 $capture |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
99 ]]></token> |
7e5a174bc201
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[ |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
101 #if $capture: |
7e5a174bc201
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/ |
7e5a174bc201
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/ |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
104 |
7e5a174bc201
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 |
7e5a174bc201
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': |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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) |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
108 #end if |
7e5a174bc201
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) |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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) |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
111 |
7e5a174bc201
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 |
7e5a174bc201
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"): |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
114 && (find stacks_outputs/discarded/ -type f | while read file; do mv "\$file" "\$(echo \$file | sed 's/\.fastq.discards/.fa/;')"; done) |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
115 #else |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
116 && (find stacks_outputs/discarded/ -type f | while read file; do mv "\$file" "\$(echo \$file | sed 's/\.fastq.discards/.fq/;')"; done) |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
117 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
118 #end if |
7e5a174bc201
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 |
7e5a174bc201
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': |
7e5a174bc201
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 |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
122 && (find stacks_outputs -iregex ".*\.rem\.[12]\.f[aq]\(\.gz\)?" | while read file; do mv "\$file" stacks_outputs/remaining/; done) |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
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) |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
124 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
125 ]]></token> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
126 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
127 <!-- adapter trimming options --> |
7e5a174bc201
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"> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
129 <param argument="--adapter_1" type="text" value="" optional="true" label="Adaptor sequence that may occur on the first read"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
130 <param argument="--adapter_2" type="text" value="" optional="true" label="Adaptor sequence that may occur on the paired-read"/> |
0
7e5a174bc201
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"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
132 </xml> |
7e5a174bc201
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[ |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
134 ## Adapter options |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
137 #end if |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
140 #end if |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
143 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
144 ]]></token> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
145 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
146 <!-- barcode rescue options --> |
7e5a174bc201
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"> |
7e5a174bc201
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"> |
7e5a174bc201
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?"> |
7e5a174bc201
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> |
7e5a174bc201
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> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
152 </param> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
153 <when value="-r"> |
7e5a174bc201
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)"/> |
7e5a174bc201
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)"/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
156 </when> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
157 <when value=""/> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
158 </conditional> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
159 </xml> |
7e5a174bc201
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[ |
7e5a174bc201
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) != "" |
7e5a174bc201
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 |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
165 #end if |
7e5a174bc201
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) != "": |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
168 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
169 #end if |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
170 ]]></token> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
171 |
7e5a174bc201
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 --> |
7e5a174bc201
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"> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
174 <param name="truncate" type="integer" value="" optional="True" argument="-t" label="Truncate final read length to this value"/> |
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
175 <param argument="--retain_header" type="boolean" checked="false" truevalue="--retain_header" falsevalue="" label="Retain unmodified FASTQ headers in the output"/> |
0
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
176 </xml> |
7e5a174bc201
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[ |
7e5a174bc201
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) |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
180 #end if |
7e5a174bc201
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 |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
182 ]]></token> |
7e5a174bc201
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff
changeset
|
183 </macros> |
2
d033e1ccb386
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents:
1
diff
changeset
|
184 |