annotate STACKS_prepare_population_map.xml @ 3:0e0ff9e9c761 default tip

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