comparison STACKS_prepare_population_map.xml @ 0:d6ba40f6c824

first commit
author cmonjeau
date Mon, 24 Aug 2015 09:29:12 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d6ba40f6c824
1 <tool id="STACKSpreparepopmap" name="STACKS : Prepare population map file " >
2 <description>for STACKS denovomap and refmap</description>
3
4 <configfiles>
5 <configfile name="fastq_files">
6 #for $input in $fastq_file:
7 ${input.display_name}::${input}
8 #end for
9 </configfile>
10 <configfile name="sam_files">
11 #if str( $options_target.options_target_selector ) == "refmap":
12 #for $input in $options_target.sam_file:
13 ${input.display_name}::${input}
14 #end for
15 #end if
16 </configfile>
17 </configfiles>
18
19 <command interpreter="python">
20 STACKS_prepare_population_map.py
21 -f $fastq_files
22 #if str( $options_target.options_target_selector ) == "refmap":
23 -s $sam_files
24 #end if
25 -t $info_file
26 -o $output
27 -d $__new_file_path__
28 </command>
29
30 <inputs>
31 <conditional name="options_target">
32 <param name="options_target_selector" type="select" label="Select your target">
33 <option value="denovo" selected="true">STACKS De Novo map</option>
34 <option value="refmap">STACKS Reference map</option>
35 </param>
36 <when value="denovo">
37 </when>
38 <when value="refmap">
39 <param name="sam_file" format="sam,zip,tar.gz" type="data" multiple="true" label="SAM files generated by your alignment" help="SAM/ZIP/TAR.GZ files." />
40 </when>
41
42 </conditional>
43 <param name="fastq_file" format="fastq,fasta,zip,tar.gz" type="data" multiple="true" label="Fastq files generated by STACKS : Process radtags tool" help="FASTQ/FASTA/ZIP/TAR.GZ files." />
44 <param name="info_file" format="tabular,txt" type="data" label="File with population information" help="File looks like : barcode TAB population " />
45
46
47 </inputs>
48 <outputs>
49
50 <data format="tabular" name="output" label="population_map.txt with ${tool.name} on ${on_string}" />
51
52 </outputs>
53 <help>
54
55 .. class:: infomark
56
57 **What it does**
58
59 This program will prepare a population map dataset from a 2 columns file containing relation between barcode and population.
60
61 --------
62
63 **Created by:**
64
65 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
66
67 --------
68
69 **Example:**
70
71 Input files:
72
73 - FASTQ, FASTA, zip, tar.gz
74
75
76 - File with population informations:
77
78 This file must have exactly 2 columns, separated by a tab, the first with barcode, second with population name or ID ::
79
80 CGATA pop1
81 CGGCG pop1
82 GAAGC pop1
83 GAGAT pop1
84 CGATA pop2
85 CGGCG pop2
86 GAAGC pop2
87 GAGAT pop2
88
89
90 Output file:
91
92 - Population map::
93
94 indv_01 1
95 indv_02 1
96 indv_03 1
97 indv_04 2
98 indv_05 2
99 indv_06 2
100
101 WARNING : the file name in the population map output may be different from the history file name. Don't worry about this, it's safe.
102
103
104 Instructions to add the functionality of archives management in Galaxy on the `eBiogenouest HUB wiki &lt;https://www.e-biogenouest.org/wiki/ManArchiveGalaxy&gt;`_ .
105
106 --------
107
108 **Project links:**
109
110 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
111
112 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
113
114 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
115
116 --------
117
118 **References:**
119
120 -J. Catchen, P. Hohenlohe, S. Bassham, A. Amores, and W. Cresko. Stacks: an analysis tool set for population genomics. Molecular Ecology. 2013.
121
122 -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.
123
124 -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.
125
126 -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.
127
128 -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.
129
130 -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.
131
132 --------
133
134 **Integrated by:**
135
136 Yvan Le Bras and Cyril Monjeaud
137
138 GenOuest Bio-informatics Core Facility
139
140 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
141
142 support@genouest.org
143
144 If you use this tool in Galaxy, please cite :
145
146 `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;`_
147
148
149 </help>
150 <citations>
151 <citation type="doi">10.1111/mec.12354</citation>
152 <citation type="doi">10.1111/mec.12330</citation>
153 <citation type="doi">10.1534/g3.111.000240</citation>
154 <citation type="doi">10.1534/genetics.111.127324</citation>
155 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
156 <citation type="doi">10.1073/pnas.1006538107</citation>
157
158 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
159 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.},
160 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
161 booktitle = {JOBIM 2013 Proceedings},
162 year = {2013},
163 url = {https://www.e-biogenouest.org/resources/128},
164 pages = {97-106}
165 }</citation>
166 </citations>
167 </tool>
168