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