annotate stacks_assembleperead.xml @ 13:38ecfb8d52c6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
author iuc
date Fri, 07 Apr 2023 22:02:47 +0000
parents 6eaf0f9836c8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
0c741f364d18 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 2b0a6546733e3e090b19e83f4a8b87e09bb11424"
iuc
parents: 8
diff changeset
1 <tool id="stacks_assembleperead" name="Stacks: assemble read pairs by locus" version="@WRAPPER_VERSION@.1">
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
2 <description>run the STACKS sort_read_pairs.pl and exec_velvet.pl wrappers</description>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
3 <macros>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
4 <import>macros.xml</import>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
5 </macros>
13
38ecfb8d52c6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 12
diff changeset
6 <expand macro="bio_tools"/>
11
0c741f364d18 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 2b0a6546733e3e090b19e83f4a8b87e09bb11424"
iuc
parents: 8
diff changeset
7 <expand macro="requirements" />
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
9 <command><![CDATA[
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
10
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
11 mkdir stacks_inputs reads stacks_outputs
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
12 &&
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
13 #for $input_file in $stacks_col
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
14 #set $ext = ""
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
15 #if not str($input_file.element_identifier).endswith('.tsv')
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
16 #set $ext = ".tsv"
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
17 #end if
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
18 ln -s '${input_file}' 'stacks_inputs/${input_file.element_identifier}${ext}' &&
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
19 #end for
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
20
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
21 #for $input_file in $reads
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
22 #set $name = str($input_file.element_identifier)
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
23 ## sort_read_pairs is expecting strange fastq names: <sample_name>.fq_2
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
24 #if $name.endswith('.1.fq')
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
25 ## handle a common case
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
26 #set $name = $name[:-5]+".fq_1"
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
27 #else if $name.endswith('.2.fq')
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
28 ## handle a common case
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
29 #set $name = $name[:-5]+".fq_2"
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
30 #else if not $name.endswith('.fq') and not $name.endswith('.fq_2')
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
31 ## no extension, consider it's a fq_2 file
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
32 #set $name = $name + ".fq_2"
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
33 #end if
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
34 ln -s '${input_file}' 'reads/${name}' &&
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
35 #end for
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
36
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
37 sort_read_pairs.pl
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
38 -p stacks_inputs
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
39 -s 'reads'
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
40
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
41 #if $whitelist
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
42 -w '$whitelist'
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
43 #end if
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
44
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
45 #if $threshold
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
46 -r $threshold
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
47 #end if
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
48
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
49 -o stacks_outputs
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
50
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
51 #if $velvet.use_velvet == "yes"
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
52 ## remove possible empty files
11
0c741f364d18 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 2b0a6546733e3e090b19e83f4a8b87e09bb11424"
iuc
parents: 8
diff changeset
53 && find stacks_outputs -type f -size 0 -exec rm {} \;
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
54
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
55 &&
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
56 mkdir assembled
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
57 &&
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
58 velvet_path=`which velveth` && velvet_path=`dirname "\$velvet_path"`
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
59 &&
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
60 exec_velvet.pl -s stacks_outputs -o assembled -c -M ${velvet.contig_length} -e "\$velvet_path"
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
61 #end if
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
62
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
63 ]]></command>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
64 <inputs>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
65 <param name="stacks_col" argument="-p" format="tabular,txt" type="data_collection" collection_type="list" label="Output from previous Stacks pipeline steps (e.g. denovo_map or refmap)" />
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
66 <param name="reads" argument="-s" format="fastqsanger" type="data" multiple="true" label="Files containing reads to assemble" help="only R2 reads" />
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
67
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
68 <param name="whitelist" argument="-w" format="txt,tabular" type="data" optional="true" label="White list of catalog IDs to include" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
69 <param name="threshold" argument="-r" type="integer" value="" optional="true" label="Minimum number of reads by locus"/>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
70
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
71 <conditional name="velvet">
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
72 <param name="use_velvet" type="select" label="Perform assembly with Velvet" help="If not selected, the tool will only produce of collection of fasta files (one per locus) containing reads ready to assemble.">
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
73 <option value="no" selected="true">No</option>
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
74 <option value="yes">Yes</option>
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
75 </param>
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
76 <when value="no"/>
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
77 <when value="yes">
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
78 <param name="contig_length" type="integer" value="200" label="Minimum length for asssembled contigs"/>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
79 </when>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
80 </conditional>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
81 </inputs>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
82 <outputs>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
83 <collection name="collated" type="list" label="Collated FASTA files per locus on ${on_string}">
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
84 <filter>velvet['use_velvet'] == "no"</filter>
3
ee52d9cfaffc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents: 0
diff changeset
85 <discover_datasets pattern="(?P&lt;name&gt;.+)\.fa(sta)?$" ext="fasta" directory="stacks_outputs" />
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
86 </collection>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
87
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
88 <data format="fasta" name="contigs" label="Assembled contigs on ${on_string}" from_work_dir="assembled/collated.fa">
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
89 <filter>velvet['use_velvet'] == "yes"</filter>
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
90 </data>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
91 </outputs>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
92
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
93 <tests>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
94 <test>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
95 <param name="stacks_col">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
96 <collection type="list">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
97 <element name="batch_1.catalog.alleles.tsv" ftype="tabular" value="genotypes/batch_1.catalog.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
98 <element name="batch_1.catalog.snps.tsv" ftype="tabular" value="genotypes/batch_1.catalog.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
99 <element name="batch_1.catalog.tags.tsv" ftype="tabular" value="genotypes/batch_1.catalog.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
100 <element name="PopA_01.alleles.tsv" ftype="tabular" value="genotypes/PopA_01.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
101 <element name="PopA_01.matches.tsv" ftype="tabular" value="genotypes/PopA_01.matches.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
102 <element name="PopA_01.snps.tsv" ftype="tabular" value="genotypes/PopA_01.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
103 <element name="PopA_01.tags.tsv" ftype="tabular" value="genotypes/PopA_01.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
104 <element name="PopA_02.alleles.tsv" ftype="tabular" value="genotypes/PopA_02.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
105 <element name="PopA_02.matches.tsv" ftype="tabular" value="genotypes/PopA_02.matches.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
106 <element name="PopA_02.snps.tsv" ftype="tabular" value="genotypes/PopA_02.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
107 <element name="PopA_02.tags.tsv" ftype="tabular" value="genotypes/PopA_02.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
108 </collection>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
109 </param>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
110 <param name="reads" value="demultiplexed/PopA_01.2.fq,demultiplexed/PopA_02.2.fq" ftype="fastqsanger" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
111
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
112 <output_collection name="collated">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
113 <element name="1">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
114 <assert_contents>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
115 <has_text text="CCGATCAGCATCAGTAGTTTTCAACGAGCTGGCCCAATGGTGTATAACTATGTGGTAGAGAGAAACTGCTGCTATCACTCACGATATAAGCCCTCTGACG" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
116 </assert_contents>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
117 </element>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
118 </output_collection>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
119 </test>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
120 <test>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
121 <param name="stacks_col">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
122 <collection type="list">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
123 <element name="batch_1.catalog.alleles.tsv" ftype="tabular" value="genotypes/batch_1.catalog.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
124 <element name="batch_1.catalog.snps.tsv" ftype="tabular" value="genotypes/batch_1.catalog.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
125 <element name="batch_1.catalog.tags.tsv" ftype="tabular" value="genotypes/batch_1.catalog.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
126 <element name="PopA_01.alleles.tsv" ftype="tabular" value="genotypes/PopA_01.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
127 <element name="PopA_01.matches.tsv" ftype="tabular" value="genotypes/PopA_01.matches.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
128 <element name="PopA_01.snps.tsv" ftype="tabular" value="genotypes/PopA_01.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
129 <element name="PopA_01.tags.tsv" ftype="tabular" value="genotypes/PopA_01.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
130 <element name="PopA_02.alleles.tsv" ftype="tabular" value="genotypes/PopA_02.alleles.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
131 <element name="PopA_02.matches.tsv" ftype="tabular" value="genotypes/PopA_02.matches.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
132 <element name="PopA_02.snps.tsv" ftype="tabular" value="genotypes/PopA_02.snps.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
133 <element name="PopA_02.tags.tsv" ftype="tabular" value="genotypes/PopA_02.tags.tsv" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
134 </collection>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
135 </param>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
136 <param name="reads" value="demultiplexed/PopA_01.2.fq,demultiplexed/PopA_02.2.fq" ftype="fastqsanger" />
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
137 <param name="velvet|use_velvet" value="yes" />
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
138 <param name="velvet|contig_length" value="20" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
139
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
140 <output name="contigs">
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
141 <assert_contents>
8
e6919d8ae34d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 4
diff changeset
142 <has_text text="|NODE_" />
0
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
143 </assert_contents>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
144 </output>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
145 </test>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
146 </tests>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
147
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
148 <help>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
149 <![CDATA[
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
150 .. class:: infomark
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
151
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
152 **What it does**
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
153
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
154 This program will run each of the Stacks sort_read_pairs.pl and exec_velvet.pl utilities to assemble pair-end reads from STACKS pipeline results
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
155
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
156 --------
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
157
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
158 **Input file**
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
159
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
160 Output from denovo_map or ref_map
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
161
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
162
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
163 **Output file**
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
164
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
165 A collated.fa file containing assembled contigs for each locus
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
166
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
167 @STACKS_INFOS@
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
168 ]]>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
169 </help>
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
170 <expand macro="citation" />
e3ca198820a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit f3a59c91c231cc1582479109e776d05602b7f24d-dirty
iuc
parents:
diff changeset
171 </tool>