0
|
1 <tool id="STACKSassembleperead" name="STACKS : assemble read pairs by locus" version="1.1.1">
|
|
2 <description>Run the STACKS sort_read_pairs.pl and exec_velvet.pl wrappers</description>
|
|
3
|
|
4 <requirements>
|
|
5 <requirement type="package" version="1.18">stacks</requirement>
|
|
6 <requirement type="package" version="1.2.10">velvet</requirement>
|
|
7 </requirements>
|
|
8 <command interpreter="python">
|
|
9
|
|
10 STACKS_sort_read_pairs.py
|
|
11 -a $STACKS_archive
|
|
12 -e $samples_archive
|
|
13 #if str( $options_whitelist.whitelist_selector) == "yes"
|
|
14 -b $whitelist
|
|
15 #end if
|
|
16 #if str( $options_filter.reads_selector) == "yes"
|
|
17 -c $options_filter.threshold
|
|
18 #end if
|
|
19 #if str( $options_filter2.length_selector) == "yes"
|
|
20 -d $options_filter2.threshold2
|
|
21 #end if
|
|
22 -o $output
|
|
23
|
|
24
|
|
25 </command>
|
|
26
|
|
27 <inputs>
|
|
28 <param name="STACKS_archive" format="zip,tar.gz" type="data" label="Archive from STACKS pipeline regrouping all outputs" />
|
|
29
|
|
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" />
|
|
31
|
|
32 <conditional name="options_whitelist">
|
|
33 <param name="whitelist_selector" type="select" label="Have you got a whitelist?" >
|
|
34 <option value="no" selected="true">No</option>
|
|
35 <option value="yes">Yes</option>
|
|
36 </param>
|
|
37 <when value="no"></when>
|
|
38 <when value="yes">
|
|
39 <param name="whitelist" format="txt, tabular" type="data" label="Whitelist file containing loci that we want to assemble: those that have SNPs" />
|
|
40 </when>
|
|
41 </conditional>
|
|
42
|
|
43
|
|
44 <conditional name="options_filter">
|
|
45 <param name="reads_selector" type="select" label="Specify a treshold for the minimum number of reads by locus?" >
|
|
46 <option value="no" selected="true">No</option>
|
|
47 <option value="yes">Yes</option>
|
|
48 </param>
|
|
49 <when value="no"></when>
|
|
50 <when value="yes">
|
|
51 <param name="threshold" type="integer" value="10" label="Minimum number of reads by locus"/>
|
|
52 </when>
|
|
53 </conditional>
|
|
54 <conditional name="options_filter2">
|
|
55 <param name="length_selector" type="select" label="Specify a minimum length for asssembled contigs?" >
|
|
56 <option value="no" selected="true">No</option>
|
|
57 <option value="yes">Yes</option>
|
|
58 </param>
|
|
59 <when value="no"></when>
|
|
60 <when value="yes">
|
|
61 <param name="threshold2" type="integer" value="200" label="Minimum length for asssembled contigs"/>
|
|
62 </when>
|
|
63 </conditional>
|
|
64
|
|
65 </inputs>
|
|
66 <outputs>
|
|
67 <data format="fasta" name="output" label="collated.fa : ${tool.name} on ${on_string}" />
|
|
68 </outputs>
|
|
69 <stdio>
|
|
70 <exit_code range="1" level="fatal" description="Error" />
|
|
71 </stdio>
|
|
72 <help>
|
|
73
|
|
74 .. class:: infomark
|
|
75
|
|
76 **What it does**
|
|
77
|
|
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
|
|
79
|
|
80 --------
|
|
81
|
|
82 **Created by:**
|
|
83
|
|
84 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
|
|
85
|
|
86 --------
|
|
87
|
|
88 **Example:**
|
|
89
|
|
90 Input file:
|
|
91
|
|
92 Output archives of STACKS : Reference map or STACKS : De novo map, in zip or tar.gz format
|
|
93
|
|
94
|
|
95 Output file:
|
|
96
|
|
97 A collated.fa file containing assembled contigs for each locus
|
|
98
|
|
99
|
|
100 Instructions to add the functionality of archives management in Galaxy on the `eBiogenouest HUB wiki <https://www.e-biogenouest.org/wiki/ManArchiveGalaxy>`_ .
|
|
101
|
|
102 --------
|
|
103
|
|
104
|
|
105 **Project links:**
|
|
106
|
|
107 `STACKS website <http://creskolab.uoregon.edu/stacks/>`_ .
|
|
108
|
|
109 `STACKS manual <http://creskolab.uoregon.edu/stacks/stacks_manual.pdf>`_ .
|
|
110
|
|
111 `STACKS google group <https://groups.google.com/forum/#!forum/stacks-users>`_ .
|
|
112
|
|
113 --------
|
|
114
|
|
115 **References:**
|
|
116
|
|
117 -J. Catchen, P. Hohenlohe, S. Bassham, A. Amores, and W. Cresko. Stacks: an analysis tool set for population genomics. Molecular Ecology. 2013.
|
|
118
|
|
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.
|
|
120
|
|
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.
|
|
122
|
|
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.
|
|
124
|
|
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.
|
|
126
|
|
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.
|
|
128
|
|
129 --------
|
|
130
|
|
131 **Integrated by:**
|
|
132
|
|
133 Yvan Le Bras and Cyril Monjeaud
|
|
134
|
|
135 GenOuest Bio-informatics Core Facility
|
|
136
|
|
137 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
|
|
138
|
|
139 support@genouest.org
|
|
140
|
|
141 If you use this tool in Galaxy, please cite :
|
|
142
|
|
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. <https://www.e-biogenouest.org/resources/128>`_
|
|
144
|
|
145
|
|
146 </help>
|
|
147 <citations>
|
|
148 <citation type="doi">10.1111/mec.12354</citation>
|
|
149 <citation type="doi">10.1111/mec.12330</citation>
|
|
150 <citation type="doi">10.1534/g3.111.000240</citation>
|
|
151 <citation type="doi">10.1534/genetics.111.127324</citation>
|
|
152 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
|
|
153 <citation type="doi">10.1073/pnas.1006538107</citation>
|
|
154
|
|
155 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
|
|
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.},
|
|
157 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
|
|
158 booktitle = {JOBIM 2013 Proceedings},
|
|
159 year = {2013},
|
|
160 url = {https://www.e-biogenouest.org/resources/128},
|
|
161 pages = {97-106}
|
|
162 }</citation>
|
|
163 </citations>
|
|
164 </tool>
|