annotate beagle4.xml @ 3:9e8de4ce2a3c draft

Added help notes to xml wrapper
author bobbledavidson
date Wed, 08 Jul 2015 11:08:07 -0400
parents e7e5432588ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
1 <tool id="Beagle" name="Beagle4.0" >
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
2 <description>Beagle version 4.0 performs genotype calling, genotype phasing, imputation of ungenotyped markers, and identity-by-descent segment detection.</description>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
3 <requirements>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
4 <requirement type="package" version="4.0">Beagle</requirement>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
5 </requirements>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
6 <command interpreter="python">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
7
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
8 #if int($useref.refSelect)==0
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
9 beagle4.py --jar $__tool_directory__/beagle.r1399.jar --gtgl $gtORgl.gtORglSelect --gfile $gtORgl.gtgl --phase-its $phaseits --impute-its $imputeits --out $output
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
10 #else
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
11 beagle4.py --jar $__tool_directory__/beagle.r1399.jar --gtgl $gtORgl.gtORglSelect --gfile $gtORgl.gtgl --ref $useref.ref --phase-its $phaseits --impute-its $imputeits --out $output
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
12 #end if
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
13
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
14
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
15 </command>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
16
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
17 <inputs>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
18
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
19 <conditional name="useref">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
20
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
21 <param name="refSelect" type="select" label="Select to use a reference or to estimate phasing">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
22 <option value="1" selected="true">Reference</option>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
23 <option value="0" >Estimate</option>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
24 </param>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
25
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
26 <when value="1">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
27 <param format="vcf" name="ref" type="data" label="Reference file" help="ref=[file] specifies a reference VCF file containing additional samples and phased genotypes for each marker. See also the impute parameter." />
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
28 </when>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
29 </conditional>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
30
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
31 <conditional name="gtORgl">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
32 <param name="gtORglSelect" type="select" label="Select genotype or genotype likelihood input file" help="Either file option requires VCF format">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
33 <option value="gt" selected="true">Genotype</option>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
34 <option value="gl">Genotype Likelihood</option>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
35 </param>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
36 <when value="gt">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
37 <param format="vcf" name="gtgl" type="data" label="GT file" help="gt=[file] specifies a VCF file containing a GT (genotype) format field for each marker."/>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
38 </when>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
39 <when value="gl">
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
40 <param format="vcf" name="gtgl" type="data" label="GL file" help="gl=[file] specifies a VCF file containing a GL or PL (genotype likelihood) format field for each marker. If both GL and PL format fields are present for a sample, the GL format will be used. See also the maxlr parameter." />
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
41 </when>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
42 </conditional>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
43
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
44 <param name="imputeits" type="integer" size="3" value="5" label="Impute-ITS (iterations for impute step: default=5)" help="" />
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
45 <param name="phaseits" type="integer" size="3" value="5" label="Phase-ITS (iterations for phase step: default=5)" />
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
46
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
47 </inputs>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
48
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
49 <outputs>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
50 <data format="vcf" name="output" label="Output from Beagle" />
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
51
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
52 </outputs>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
53
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
54
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
55 <help>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
56
3
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
57 For a full guide, go to the Beagle4.0 documentation here: http://faculty.washington.edu/browning/beagle/beagle.03Mar15.pdf
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
58
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
59 This wrapper allows for the selection of either a Genotype (gt) file, a Genotype Likelihood (gl) file or a Genotype (gt) plus Reference file as per the example usage here: http://faculty.washington.edu/browning/beagle/run.beagle.r1399.example
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
60
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
61 The only parameters currently exposed by this wrapper are impute-its and phase-its which both have default of 5. Please feel free to request more parameters to be made available by contacting bobbledavidson @ github.
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
62
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
63 Test data is available via the GitHub page: https://github.com/bobbledavidson/Beagle4Galaxy
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
64
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
65 Important note:
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
66 The creator of the Galaxy wrapper is not the same as the creator of the Beagle4.0 tool. All credit for the tool's abilities should be acknowledged using the following citation:
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
67
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
68 S R Browning and B L Browning (2007) Rapid and accurate haplotype phasing and missing data inference for whole genome association studies by use of localized haplotype clustering. Am J Hum Genet 81:1084-97. doi:10.1086/521987
9e8de4ce2a3c Added help notes to xml wrapper
bobbledavidson
parents: 2
diff changeset
69
2
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
70 </help>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
71
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
72
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
73
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
74 </tool>
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
75
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
76
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
77
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
78
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
79
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
80
e7e5432588ea Beagle4 xml wrapper uploaded
bobbledavidson
parents:
diff changeset
81