annotate population_structure.xml @ 9:22fe0154fa54

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