Mercurial > repos > rico > test_repository
comparison population_structure.xml @ 0:99a67ac88802 default tip
Uploaded
author | rico |
---|---|
date | Thu, 05 Apr 2012 14:22:50 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:99a67ac88802 |
---|---|
1 <tool id="gd_population_structure" name="Population" version="1.0.0"> | |
2 <description>structure</description> | |
3 | |
4 <command interpreter="python"> | |
5 population_structure.py "$input" "${input.extra_files_path}/admix.ped" "$output" "$output.extra_files_path" "$populations" | |
6 </command> | |
7 | |
8 <inputs> | |
9 <param name="input" type="data" format="wped" label="Dataset" /> | |
10 <param name="populations" type="integer" min="1" value="2" label="Number of populations" /> | |
11 </inputs> | |
12 | |
13 <outputs> | |
14 <data name="output" format="html" /> | |
15 </outputs> | |
16 | |
17 <tests> | |
18 <test> | |
19 <param name='input' value='fake' ftype='wped' > | |
20 <metadata name='base_name' value='admix' /> | |
21 <composite_data value='genome_diversity/test_out/prepare_population_structure/prepare_population_structure.html' /> | |
22 <composite_data value='genome_diversity/test_out/prepare_population_structure/admix.ped' /> | |
23 <composite_data value='genome_diversity/test_out/prepare_population_structure/admix.map' /> | |
24 <edit_attributes type='name' value='fake' /> | |
25 </param> | |
26 <param name='populations' value='2' /> | |
27 | |
28 <output name="output" file="genome_diversity/test_out/population_structure/population_structure.html" ftype="html" compare="diff" lines_diff="2"> | |
29 <extra_files type="file" name='numeric.txt' value="genome_diversity/test_out/population_structure/numeric.txt" /> | |
30 <extra_files type="file" name='graphical.pdf' value="genome_diversity/test_out/population_structure/graphical.pdf" compare="sim_size" delta="1000" /> | |
31 </output> | |
32 </test> | |
33 </tests> | |
34 | |
35 | |
36 <help> | |
37 **What it does** | |
38 | |
39 The users selects a set of data generated by the Galaxy tool to "prepare | |
40 to look for population structure", and specifies a number, K, of ancestral | |
41 populations. The tool estimates the proportion of each individual's ancestry | |
42 coming from each ancestral population. The proportions are shown both as | |
43 numbers and graphically. | |
44 | |
45 **Acknowledgments** | |
46 | |
47 We use the program "Admixture", downloaded from | |
48 | |
49 http://www.genetics.ucla.edu/software/admixture/ | |
50 | |
51 and described in the paper "Fast model-based estimation of ancestry in | |
52 unrelated individuals" by David H. Alexander, John Novembre and Kenneth Lange, | |
53 Genome Research 19 (2009), pp. 1655-1664. | |
54 </help> | |
55 </tool> |