annotate tools/rgenetics/rgGTOOL.xml @ 2:c2a356708570

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:42 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="rgGTOOL1" name="Converter">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <description>from linkage format to SNPTEST Marchini files</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <command interpreter="python">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 rgGTOOL.py $i $o $discrete $logf $outdir
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <param name="i" type="select" label="Genotype file" dynamic_options="get_lib_pedfiles()" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="discrete" type="select" label="Make Case/Control based on affection 2/1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option selected="yes" value="1">Discrete</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="0">Continuous</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <param name="o" type="text" label="Output Marchini format name" value="Marchini"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="outdir" type="hidden" value="/usr/local/galaxy/data/rg/snptest" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <data format="txt" name="logf" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 **Syntax**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 - **Genotype file** is the input linkage format pedigree and corresponding map file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 - **Discrete** is the type of phenotype in the affection column
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 - **Output name** is the file name (.gen and .sample will be added) for the new SNPTEST compatible file
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 **Note on Discrete**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 See GTOOL_ documentation link below for more details. Briefly, if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 your linkage format pedigree file has 1/2 in column 6 for control/case respectively, setting this to Yes will create two
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 complete sets of output files distinguished by 1 and 2 respectively. otherwise, affection status is assumed to contain a
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 continuous phenotype and a single output set is produced
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 **Summary**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 Code used here from Jonathon Marchini's group - see documentation at GTOOL_.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 .. _GTOOL: http://www.stats.ox.ac.uk/~marchini/software/gwas/gtool.html
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 **Attribution**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 Originally designed and written for the Rgenetics
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 series of Galaxy tools by ross lazarus (ross.lazarus@gmail.com), who didn't write GTOOL_
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 but wishes he had.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 </tool>