Mercurial > repos > iuc > structureharvester
comparison structureharvester.xml @ 0:8a7390c4d6bf draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/structureharvester commit 8375ca4822c039d051473b38801066b8a9c1edc7
author | iuc |
---|---|
date | Mon, 11 Dec 2017 04:37:17 -0500 |
parents | |
children | 8dc371b783eb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8a7390c4d6bf |
---|---|
1 <tool id="structureharvester" name="structureHarvester" version="0.6.94"> | |
2 <description>for parsing STRUCTURE outputs and for performing the Evanno method</description> | |
3 <requirements> | |
4 <requirement type="package" version="0.6.94">structureharvester</requirement> | |
5 </requirements> | |
6 <version_command><![CDATA[ | |
7 structureHarvester.py --version | |
8 ]]></version_command> | |
9 <command detect_errors="exit_code"><![CDATA[ | |
10 mkdir inputs && | |
11 #for $input in $inputs | |
12 ln -s '$input' 'inputs/$input.element_identifier' && | |
13 #end for | |
14 structureHarvester.py --dir inputs/ --out . $evanno $clumpp && | |
15 mv summary.txt '$summary' | |
16 #if $evanno | |
17 && mv evanno.txt $evanno | |
18 #end if | |
19 #if $clumpp | |
20 && mkdir clumpp_indfile clumpp_popfile | |
21 && mv *.indfile clumpp_indfile/ | |
22 && mv *.popfile clumpp_popfile/ | |
23 #end if | |
24 ]]></command> | |
25 <inputs> | |
26 <param name="inputs" type="data" format="txt" multiple="true" label="STRUCTURE outputs" /> | |
27 <param argument="--evanno" type="boolean" checked="false" truevalue="--evanno" falsevalue="" label="If possible, performs the Evanno 2005 method." help="You must test at least 3 values of K. K values must be sequential. The number of replicates per K > 1."/> | |
28 <param argument="--clumpp" type="boolean" checked="false" truevalue="--clumpp" falsevalue="" label="Generates one K*.indfile for each value of K run, for use with CLUMPP." /> | |
29 </inputs> | |
30 <outputs> | |
31 <data name="summary" format="txt" label="Structure Harvester summary"/> | |
32 <data name="evanno" format="txt" label="Evann method output"> | |
33 <filter>evanno</filter> | |
34 </data> | |
35 <collection name="clumpp_indfile" type="list" label="Clumpp K*.indfile"> | |
36 <filter>clumpp</filter> | |
37 <discover_datasets pattern="__name__" format="txt" directory="clumpp_indfile" /> | |
38 </collection> | |
39 <collection name="clumpp_popfile" type="list" label="Clumpp K*.popfile"> | |
40 <filter>clumpp</filter> | |
41 <discover_datasets pattern="__name__" format="txt" directory="clumpp_popfile" /> | |
42 </collection> | |
43 </outputs> | |
44 <tests> | |
45 <test> | |
46 <param name="inputs" value="example_harvester_archive/Admix_run_001_f,example_harvester_archive/Admix_run_002_f,example_harvester_archive/Admix_run_004_f,example_harvester_archive/Admix_run_005_f,example_harvester_archive/Admix_run_007_f,example_harvester_archive/Admix_run_008_f,example_harvester_archive/K1ReRun_run_1_f,example_harvester_archive/K1ReRun_run_2_f" /> | |
47 <param name="evanno" value="false" /> | |
48 <param name="clumpp" value="true" /> | |
49 <output name="summary"> | |
50 <assert_contents> | |
51 <has_line line="1	2	-4329.950000	0.070711" /> | |
52 <has_line line="4	2	-2773.550000	0.212132" /> | |
53 <has_line line="K1ReRun_run_2_f	2	1	-4330.0	-4300.2	59.7" /> | |
54 <has_line line="Admix_run_008_f	008	4	-2773.4	-2678.8	189.2" /> | |
55 <has_line line="Core version: vA.2 July 2014" /> | |
56 </assert_contents> | |
57 </output> | |
58 <output_collection name="clumpp_indfile" type="list"> | |
59 <element name="K1.indfile" value="clumpp_indfile/K1.indfile" /> | |
60 <element name="K4.indfile" value="clumpp_indfile/K4.indfile" /> | |
61 </output_collection> | |
62 <output_collection name="clumpp_popfile" type="list"> | |
63 <element name="K1.popfile" value="clumpp_popfile/K1.popfile" /> | |
64 <element name="K4.popfile" value="clumpp_popfile/K4.popfile" /> | |
65 </output_collection> | |
66 </test> | |
67 </tests> | |
68 <help><![CDATA[ | |
69 | |
70 Structure_Harvester_ is a program for parsing the output of Pritchard's STRUCTURE_ and for performing the Evanno method. | |
71 | |
72 .. _Structure_Harvester: http://taylor0.biology.ucla.edu/structureHarvester/ | |
73 .. _STRUCTURE: http://web.stanford.edu/group/pritchardlab/structure.html | |
74 | |
75 ]]></help> | |
76 <citations> | |
77 <citation type="doi">10.1007/s12686-011-9548-7</citation> | |
78 <citation type="doi">10.1111/j.1365-294X.2005.02553.x</citation> | |
79 <citation type="doi">10.1093/bioinformatics/btm233</citation> | |
80 </citations> | |
81 </tool> |