annotate structure-923cc9e6aa30/Structureharvester.xml @ 0:2c0b270dae70 draft default tip

Uploaded
author ylebrascnrs
date Thu, 14 Sep 2017 08:33:05 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
1 <tool id="Structureharvester" name="Structure harvester" force_history_refresh="True">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
2 <description>Run the structureharvester.py script</description>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
5 <configfiles>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
6 <configfile name="Structure_archive">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
7 #for $input in $Structure_archive:
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
8 ${input.display_name}::${input}
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
9 #end for
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
10 </configfile>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
11 </configfiles>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
12
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
13 <command interpreter="python">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
14
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
15 Structureharvester.py
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
16 -P $Structure_archive
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
17 #if str( $options_output.options_output_selector ) == "1":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
18 --evanno $options_output.evanno
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
19 --clumpp $options_output.clumpp
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
20 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
21 --logfile $output
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
22 --id $output.id
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
23 --workdir $__new_file_path__
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
24 --compress_output $output_compress
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
25 --total_output $total_output
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
26
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
27
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
28
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
29 </command>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
30
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
31 <inputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
32 <param name="Structure_archive" format="zip,tar.gz" type="data" multiple="true" label="Archive from Structure analysis regrouping all outputs" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
33 <conditional name="options_output">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
34 <param name="options_output_selector" type="select" label="Did you want to use file output options?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
35 <option value="1">Yes</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
36 <option value="2" selected="true">No</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
37 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
38 <when value="1">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
39 <param name="evanno" type="boolean" checked="false" default="false" label="If possible, performs the Evanno 2005 method" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
40 <param name="clumpp" type="boolean" checked="false" default="false" label="Generates one K*.indfile for each value of K run, for use with CLUMPP" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
41 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
42 <when value="2">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
43 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
44 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
45
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
46
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
47 <!-- Output options -->
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
48 <param name="output_compress" type="select" label="Output type" help="please see below for details">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
49 <option value="default" selected="true">No compression</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
50 <option value="total">Compressed all outputs</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
51 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
52 </inputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
53 <outputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
54
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
55 <data format="txt" name="output" label="result with ${tool.name} on ${on_string}" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
56
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
57 <!-- additionnal output archives -->
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
58 <data format="zip" name="total_output" label="total_output.zip with ${tool.name} on ${on_string}" >
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
59 <filter>output_compress == "total"</filter>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
60 </data>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
61
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
62
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
63 </outputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
64 <help>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
65
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
66 .. class:: infomark
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
67
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
68 **What it does**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
69
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
70 This program (structureHarvester.py) is a Python script capable of extracting all the relevant data from STRUCTURE results files.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
71
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
72 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
73
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
74 **Created by:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
75
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
76 structureHarvester.py was developed by Dent Earl, soe ucsc edu
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
77
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
78 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
79
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
80
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
81 Instructions to add the functionality of archives management in Galaxy on the `eBiogenouest HUB wiki &lt;https://www.e-biogenouest.org/wiki/ManArchiveGalaxy&gt;`_ .
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
82
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
83 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
84
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
85 **Project links:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
86
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
87 `Structure Harvester website &lt;http://users.soe.ucsc.edu/~dearl/software/structureHarvester/&gt;`_ .
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
88
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
89 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
90
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
91 **References:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
92
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
93 -Earl, Dent A. and vonHoldt, Bridgett M. (2012) STRUCTURE HARVESTER: a website and program for visualizing STRUCTURE output and implementing the Evanno method. Conservation Genetics Resources vol. 4 (2) pp. 359-361 doi: 10.1007/s12686-011-9548-7
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
94
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
95 -Evanno et al., 2005. Detecting the number of clusters of individuals using the software STRUCTURE: a simulation study. Molecular Ecology 14 , 2611 - 2620.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
96
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
97 -M. Jakobsson, N. Rosenberg 2007. CLUMPP: a cluster matching and permutation program for dealing with label switching and multimodality in analysis of population structure. Bioinformatics 23(14): 1801-1806.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
98
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
99 -J. Pritchard, M. Stephens, P. Donnelly. 2000. Genetics 155:945-959.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
100
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
101 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
102
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
103 **Integrated by:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
104
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
105 Yvan Le Bras
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
106
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
107 GenOuest Bio-informatics Core Facility
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
108
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
109 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
110
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
111 support@genouest.org
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
112
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
113 If you use this tool in Galaxy, please cite :
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
114
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
115 `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;`_
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
116
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
117
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
118
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
119 </help>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
120 </tool>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
121