annotate stacks_refmap.xml @ 7:5b5af243ce5c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 82e7263f3e57a29362d981e36b82b82063f12ac3
author matthias
date Tue, 25 Jun 2019 10:55:53 -0400
parents 60687cc87548
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
1 <tool id="stacks2_refmap" name="Stacks2: reference map" profile="@PROFILE@" version="@STACKS_VERSION@+galaxy@WRAPPER_VERSION@">
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
2 <description>the Stacks pipeline with a reference genome (ref_map.pl)</description>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
3 <macros>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
4 <import>macros.xml</import>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
5 </macros>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
6 <expand macro="requirements"/>
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
7 <expand macro="version_cmd"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
8 <command detect_errors="aggressive"><![CDATA[
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
9 @FASTQ_INPUT_FUNCTIONS@
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
10 mkdir bam_inputs stacks_outputs&&
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
11 @BAM_INPUT@
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
12
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
13 ref_map.pl
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
14 --samples bam_inputs
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
15 #if str($popmap) != 'None':
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
16 --popmap '$popmap'
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
17 #end if
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
18 $paired_select
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
19 -o stacks_outputs
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
20 -T \${GALAXY_SLOTS:-1}
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
21 --var-alpha $model_options.var_alpha
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
22 --gt-alpha $model_options.gt_alpha
1
a8d93e132d3b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 8b047549e9e8791a5ca9424b1ef391e8980aba79-dirty
matthias
parents: 0
diff changeset
23
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
24 @EXTRACT_VCF@
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
25
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
26 #if $output_log
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
27 && mv stacks_outputs/ref_map.log $output_log
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
28 #end if
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
29 ]]></command>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
30
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
31 <inputs>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
32 <expand macro="bam_input_macro"/>
6
60687cc87548 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f507c4eaca0fe04e730d7c3bbb9e9d2488239a9f
matthias
parents: 5
diff changeset
33 <param argument="--popmap" type="data" optional="true" format="tabular,txt" label="Population map" />
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
34 <param name="paired_select" type="select" label="Paired end options" help="select single/paired for single end data or to select advanced paired end options, --unpaired: treat reverse reads as if they were forward reads; --ignore-pe-reads: ignore paired-end reads even if present in the input">
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
35 <option value="" selected="true">single/paired</option>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
36 <option value="--unpaired" selected="true">ignore read pairing (--unpaired)</option>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
37 <option value="--ignore-pe-reads" selected="true">ignore paired-end reads (--ignore-pe-reads)</option>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
38 </param>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
39 <section name="model_options" title="Variant calling options (for gstacks)" expanded="true">
6
60687cc87548 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f507c4eaca0fe04e730d7c3bbb9e9d2488239a9f
matthias
parents: 5
diff changeset
40 <expand macro="variant_calling_options_vg" varalpha_default="0.01"/>
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
41 </section>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
42 <expand macro="in_log"/>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
43 </inputs>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
44 <outputs>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
45 <expand macro="out_log"/> <!-- pipeline also writes other logs? .. could be a collection -->
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
46 <expand macro="gstacks_outputs_macro" tooladd="(gstacks)"/>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
47 <expand macro="populations_output_light" tooladd="(populations)"/>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
48 </outputs>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
49
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
50 <tests>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
51 <!-- bams as list -->
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
52 <test>
3
93fb82c0fc94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9c41b2599125298b1a4d9ffb2511cdc87ff79a73
matthias
parents: 2
diff changeset
53 <param name="input_bam" ftype="bam" value="refmap/PopA_01.bam,refmap/PopA_02.bam"/>
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
54 <param name="popmap" ftype="tabular" value="denovo_map/popmap_cstacks.tsv" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
55 <param name="add_log" value="yes" />
1
a8d93e132d3b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 8b047549e9e8791a5ca9424b1ef391e8980aba79-dirty
matthias
parents: 0
diff changeset
56 <output ftype="txt" name="output_log"><assert_contents><has_text text="ref_map.pl is done." /></assert_contents></output>
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
57 <output_collection name="gstacks_out" type="list" count="2">
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
58 <element name="catalog.calls.vcf" file="refmap/catalog.calls.vcf" ftype="vcf" lines_diff="2"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
59 <element name="catalog.fa.gz" file="refmap/catalog.fa.gz" ftype="fasta.gz" compare="sim_size"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
60 </output_collection>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
61 <output ftype="tabular" name="out_haplotypes" value="refmap/populations.haplotypes.tsv"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
62 <output ftype="tabular" name="out_hapstats" value="refmap/populations.hapstats.tsv"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
63 <output ftype="txt" name="out_populations_log_distribs" value="refmap/populations.log.distribs"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
64 <output ftype="tabular" name="out_sumstats_sum" value="refmap/populations.sumstats_summary.tsv"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
65 <output ftype="tabular" name="out_sumstats" value="refmap/populations.sumstats.tsv"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
66 <output ftype="tabular" name="out_sql" value="refmap/populations.markers.tsv"/>
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
67 </test>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
68 <test>
3
93fb82c0fc94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9c41b2599125298b1a4d9ffb2511cdc87ff79a73
matthias
parents: 2
diff changeset
69 <param name="input_bam" ftype="bam" value="refmap/PopA_01.bam,refmap/PopA_02.bam"/>
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
70 <param name="popmap" ftype="tabular" value="denovo_map/popmap_cstacks.tsv" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
71 <param name="paired_select" value="--unpaired"/>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
72 <param name="model_options|var_alpha" value="0.1" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
73 <param name="model_options|gt_alpha" value="0.1" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
74 <assert_command>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
75 <has_text text="--unpaired" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
76 <has_text text="--var-alpha 0.1" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
77 <has_text text="--gt-alpha 0.1" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
78 </assert_command>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
79 <param name="add_log" value="yes" />
1
a8d93e132d3b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 8b047549e9e8791a5ca9424b1ef391e8980aba79-dirty
matthias
parents: 0
diff changeset
80 <output ftype="txt" name="output_log"><assert_contents><has_text text="ref_map.pl is done." /></assert_contents></output>
5
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
81 <output_collection name="gstacks_out" type="list" count="2"/>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
82 <output ftype="tabular" name="out_haplotypes"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
83 <output ftype="tabular" name="out_hapstats"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
84 <output ftype="txt" name="out_populations_log_distribs"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
85 <output ftype="tabular" name="out_sumstats_sum"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
86 <output ftype="tabular" name="out_sumstats"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
87 <output ftype="tabular" name="out_sql"><assert_contents><has_text text="#"/></assert_contents></output>
466cc910d640 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 4e87a14a5479800df9675c1cbcdbe1b11f63653b-dirty
matthias
parents: 3
diff changeset
88
0
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
89 </test>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
90 </tests>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
91
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
92 <help>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
93 <![CDATA[
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
94 .. class:: infomark
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
95
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
96 **What it does**
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
97
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
98 This program expects data that have been aligned to a reference genome, and can accept data directly from Bowtie, or from any aligner that can produce SAM format. To avoid datasets names problems, we recommand the use of the *Map with BWA for STACKS tool*. This program will execute each of the Stacks components: first, running pstacks on each of the samples specified, building loci (based on the reference alignment) and calling SNPs in each. Second, cstacks will be run to create a catalog of all loci specified as 'parents' or 'samples' on the command line, again using alignment to match loci in the catalog. Finally, sstacks will be executed to match each sample against the catalog. The ref_map.pl program will also load the results of each stage of the analysis: individual loci, the catalog, and matches against the catalog into the database (although this can be disabled). After matching the program will build a database index to speed up access (index_radtags.pl) and enable web-based filtering.
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
99
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
100 --------
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
101
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
102 **Input files**
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
103
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
104 - SAM, BAM
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
105
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
106 - Population map::
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
107
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
108 indv_01 1
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
109 indv_02 1
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
110 indv_03 1
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
111 indv_04 2
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
112 indv_05 2
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
113 indv_06 2
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
114
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
115 **Output files**
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
116
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
117 - XXX.tags.tsv file:
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
118
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
119 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
120
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
121 Notes: For the tags file, each stack will start in the file with a consensus sequence for the entire stack followed by the flags for that stack. Then, each individual read that was merged into that stack will follow. The next stack will start with another consensus sequence.
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
122
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
123
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
124 - XXX.snps.tsv file:
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
125
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
126 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
127
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
128 Notes: If a stack has two SNPs called within it, then there will be two lines in this file listing each one.
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
129
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
130
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
131 - XXX.alleles.tsv file:
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
132
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
133 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
134
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
135
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
136 - XXX.matches.tsv file:
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
137
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
138 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
139
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
140 Notes: Each line in this file records a match between a catalog locus and a locus in an individual, for a particular haplotype. The Batch ID plus the Catalog ID together represent a unique locus in the entire population, while the Sample ID and the Stack ID together represent a unique locus in an individual sample.
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
141
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
142
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
143 - other files:
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
144
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
145 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
146
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
147 @STACKS_INFOS@
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
148 ]]>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
149 </help>
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
150 <expand macro="citation" />
bd0bf17caa4d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 98327d2948ae1ccb5aef5db9ab88605fd74a0de7-dirty
matthias
parents:
diff changeset
151 </tool>