annotate population_structure.xml @ 0:939c20789501 default tip

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