annotate STACKS_sort_read_pairs.xml @ 2:c9e10e0d6c10

fix discard file
author cmonjeau
date Mon, 24 Aug 2015 15:39:12 +0000
parents d6ba40f6c824
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
1 <tool id="STACKSassembleperead" name="STACKS : assemble read pairs by locus" version="1.1.1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
2 <description>Run the STACKS sort_read_pairs.pl and exec_velvet.pl wrappers</description>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
3
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
4 <requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
5 <requirement type="package" version="1.18">stacks</requirement>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
6 <requirement type="package" version="1.2.10">velvet</requirement>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
7 </requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
8 <command interpreter="python">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
9
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
10 STACKS_sort_read_pairs.py
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
11 -a $STACKS_archive
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
12 -e $samples_archive
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
13 #if str( $options_whitelist.whitelist_selector) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
14 -b $whitelist
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
15 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
16 #if str( $options_filter.reads_selector) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
17 -c $options_filter.threshold
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
18 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
19 #if str( $options_filter2.length_selector) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
20 -d $options_filter2.threshold2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
21 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
22 -o $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
23
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
24
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
25 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
26
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
27 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
28 <param name="STACKS_archive" format="zip,tar.gz" type="data" label="Archive from STACKS pipeline regrouping all outputs" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
29
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
30 <param name="samples_archive" format="zip,fastq.gz,tar.gz,tar.bz2" type="data" label="Archive with raw reads used to execute previous STACKS pipeline" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
31
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
32 <conditional name="options_whitelist">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
33 <param name="whitelist_selector" type="select" label="Have you got a whitelist?" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
34 <option value="no" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
35 <option value="yes">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
36 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
37 <when value="no"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
38 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
39 <param name="whitelist" format="txt, tabular" type="data" label="Whitelist file containing loci that we want to assemble: those that have SNPs" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
40 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
41 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
42
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
43
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
44 <conditional name="options_filter">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
45 <param name="reads_selector" type="select" label="Specify a treshold for the minimum number of reads by locus?" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
46 <option value="no" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
47 <option value="yes">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
48 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
49 <when value="no"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
50 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
51 <param name="threshold" type="integer" value="10" label="Minimum number of reads by locus"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
52 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
53 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
54 <conditional name="options_filter2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
55 <param name="length_selector" type="select" label="Specify a minimum length for asssembled contigs?" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
56 <option value="no" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 <option value="yes">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 <when value="no"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 <param name="threshold2" type="integer" value="200" label="Minimum length for asssembled contigs"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 <data format="fasta" name="output" label="collated.fa : ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 <stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 <exit_code range="1" level="fatal" description="Error" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 </stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 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
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 **Example:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90 Input file:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92 Output archives of STACKS : Reference map or STACKS : De novo map, in zip or tar.gz format
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
94
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
95 Output file:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
96
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
97 A collated.fa file containing assembled contigs for each locus
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
100 Instructions to add the functionality of archives management in Galaxy on the `eBiogenouest HUB wiki &lt;https://www.e-biogenouest.org/wiki/ManArchiveGalaxy&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
102 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
104
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
105 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
106
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
113 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
114
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
116
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 -J. Catchen, P. Hohenlohe, S. Bassham, A. Amores, and W. Cresko. Stacks: an analysis tool set for population genomics. Molecular Ecology. 2013.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 -J. Catchen, S. Bassham, T. Wilson, M. Currey, C. O'Brien, Q. Yeates, and W. Cresko. The population structure and recent colonization history of Oregon threespine stickleback determined using restriction-site associated DNA-sequencing. Molecular Ecology. 2013.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 -J. Catchen, A. Amores, P. Hohenlohe, W. Cresko, and J. Postlethwait. Stacks: building and genotyping loci de novo from short-read sequences. G3: Genes, Genomes, Genetics, 1:171-182, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 -A. Amores, J. Catchen, A. Ferrara, Q. Fontenot and J. Postlethwait. Genome evolution and meiotic maps by massively parallel DNA sequencing: Spotted gar, an outgroup for the teleost genome duplication. Genetics, 188:799'808, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 -P. Hohenlohe, S. Amish, J. Catchen, F. Allendorf, G. Luikart. RAD sequencing identifies thousands of SNPs for assessing hybridization between rainbow trout and westslope cutthroat trout. Molecular Ecology Resources, 11(s1):117-122, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 -K. Emerson, C. Merz, J. Catchen, P. Hohenlohe, W. Cresko, W. Bradshaw, C. Holzapfel. Resolving postglacial phylogeography using high-throughput sequencing. Proceedings of the National Academy of Science, 107(37):16196-200, 2010.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 If you use this tool in Galaxy, please cite :
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143 `Y. Le Bras, A. Roult, C. Monjeaud, M. Bahin, O. Quenez, C. Heriveau, A. Bretaudeau, O. Sallou, O. Collin, Towards a Life Sciences Virtual Research Environment : an e-Science initiative in Western France. JOBIM 2013. &lt;https://www.e-biogenouest.org/resources/128&gt;`_
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
149 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156 author = {Le Bras, Y. and ROULT, A. and Monjeaud, C. and Bahin, M. and Quenez, O. and Heriveau, C. and Bretaudeau, A. and Sallou, O. and Collin, O.},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164 </tool>