annotate tools/hyphy/hyphy_dnds_wrapper.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 <?xml version="1.1.1"?>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <tool name="dN/dS Ratio" id="hyphy_dnds_wrapper1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <description>Estimation</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <command interpreter="python">hyphy_dnds_wrapper.py $input1 $out_file1 "$tree" "$model" $analysis ${GALAXY_DATA_INDEX_DIR}</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <page>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <param format="fasta" name="input1" type="data" label="Fasta file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <param name="analysis" type="select" label="Analysis to run on every gene">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <option value="global">Global</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option value="local">Local</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <param name="tree" type="text" label="Tree Definition in Newick format" size="20" help="For example: ((hg17,panTro1),(mm5,rn3),canFam1)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <param name="model" type="select" label="Substitution Model">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <option value="000000">F81</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <option value="010010">HKY85</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <option value="012345">REV</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </page>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <data name="out_file1" format="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <param name="input1" value="dnds_inp.fasta"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="tree" value="((human, chimp), mouse)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <param name="model" value="000000"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <param name="analysis" value="global"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <output name="out_file1" file="dnds_out.tabular"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 This tool takes a FASTA alignment file and estimates dN/dS ratio using HYPHY_, a maximum likelihood analyses package.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 The tool returns an error message if no tree definition or an invalid tree definition is supplied.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 Any block/s not containing as many species as mentioned in the tree definition will be omitted from the output.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 For the tree definition, you only need to specify the species build names. For example, you could use the tree *(hg17,panTro1),(mm5,rn3),canFam1)*, if your FASTA file looks like the example below. You may also use **Neighbor Joining Tree Builder** tool to obtain the tree definition::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 &gt;hg17.chr7(+):26907301-26907310|hg17_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 GTGGGAGGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 &gt;panTro1.chr6(+):28037319-28037328|panTro1_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 GTGGGAGGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 &gt;mm5.chr6(+):52104022-52104031|mm5_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 GTGGGAGGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 &gt;rn3.chr4(+):80734395-80734404|rn3_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 GTGGGAGGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 &gt;canFam1.chr14(+):42826409-42826418|canFam1_0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 GTGGGAGGT
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 &gt;hg17.chr7(+):26907310-26907326|hg17_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 AGTCAGAGTGTCTGAG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 &gt;panTro1.chr6(+):28037328-28037344|panTro1_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 AGTCAGAGTGTCTGAG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 &gt;mm5.chr6(+):52104031-52104047|mm5_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 AGTCAGAGTGTCTGAG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 &gt;rn3.chr4(+):80734404-80734420|rn3_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 AGTCAGAGTATCTGAG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 &gt;canFam1.chr14(+):42826418-42826434|canFam1_1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 AGTCAGAGTGTCTGAG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 &gt;hg17.chr7(+):26907326-26907338|hg17_2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 GTAGAAGACCCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 &gt;panTro1.chr6(+):28037344-28037356|panTro1_2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 GTAGAAGACCCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 &gt;mm5.chr6(+):52104047-52104059|mm5_2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 GTAGACGATGCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 &gt;rn3.chr4(+):80734420-80734432|rn3_2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 GTAGATGATGCG
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 &gt;canFam1.chr14(+):42826434-42826446|canFam1_2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 GTAGAAGACCCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 &gt;hg17.chr7(+):26907338-26907654|hg17_3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 GGGGAAGGAACGCAGGGCGAAGAGCTGGACTTCTCTGAGGAT---TCCTCGGCCTTCTCGT-----CGTTTCCTGG----CGGGGTGGCCGGAGAGATGGGCAAGAGACCCTCCTTCTCACGTTTCTTTTGCTTCATTCGGCGGTTCTGGAACCAGATCTTCACTTGGGTCTCGTTGAGCTGCAGGGATGCAGCGATCTCCACCCTGCGGGCGCGCGTCAGGTACTTGTTGAAGTGGAACTCCTTCTCCAGTTCCGTGAGCTGCTTGGTAGTGAAGTTGGTGCGCACCGCGTTGGGTTGACCCAGGTAGCCGTACTCTCCAACTTTCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 &gt;panTro1.chr6(+):28037356-28037672|panTro1_3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 GGGGAAGGAACGCAGGGCGAAGAGCTGGACTTCTCTGAGGAT---TCCTCGGCCTTCTCGT-----CGTTTCCTGG----CGGGGTGGCCGGAGAGATGGGCAAGAGACCCTCCTTCTCACGTTTCTTTTGCTTCATTCGGCGGTTCTGGAACCAGATCTTCACTTGGGTCTCGTTGAGCTGCAGGGATGCAGCGATCTCCACCCTGCGGGCGCGCGTCAGGTACTTGTTGAAGTGGAACTCCTTCTCCAGTTCCGTGAGCTGCTTGGTAGTGAAGTTGGTGCGCACCGCGTTGGGTTGACCCAGGTAGCCGTACTCTCCAACTTTCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 &gt;mm5.chr6(+):52104059-52104375|mm5_3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 GGAGAAGGGGCACTGGGCGAGGGGCTAGATTTCTCAGATGAT---TCTTCCGTTTTCTCAT-----CGCTGCCAGG----AGGAGTGGCAGGGGAGATGGGCAGGAGCCCCTCCTTCTCACGCTTCTTCTGCTTCATGCGGCGATTCTGGAACCAGATCTTCACCTGGGTCTCATTGAGCTGTAGGGACGCGGCAATCTCCACCCTGCGCGCTCGTGTAAGGTACTTGTTGAAGTGGAACTCCTTCTCCAGCTCTGTGAGCTGCTTGGTGGTGAAATTGGTGCGCACTGCGTTGGGTTGACCCACGTAGCCGTACTCTCCAACTTTCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 &gt;rn3.chr4(+):80734432-80734748|rn3_3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 GGAGAAGGGGCGCTGGGCGAGGAGCTGGATTTCTCAGATGAT---TCTTCAGTTTTCTCAT-----CGCTTCCAGG----AGGGGTGGCGGGTGAAATGGGCAAGAGCCCCTCTTTCTCGCGCTTCTTCTGCTTCATGCGGCGATTCTGGAACCAGATCTTCACCTGGGTCTCATTGAGTTGCAGGGACGCGGCTATCTCCACCCTGCGGGCTCTTGTTAGGTACTTGTTGAAGTGGAACTCCTTCTCCAGCTCTGTGAGCTGCTTGGTGGTGAAGTTGGTGCGCACTGCGTTGGGTTGACCCACGTAGCCATACTCTCCAACTTTCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 &gt;canFam1.chr14(+):42826446-42826762|canFam1_3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 GGAGACGGAATGCAGGGCGAGGAGCTGGATTTCTCTGAAGAT---TCCTCCGCCTTCTCCT-----CACTTCCTGG----CGGGGTGGCAGGGGAGATGGGCAAAAGGCCCTCTTTCTCTCGTTTCTTCTGCTTCATCCGGCGGTTCTGGAACCAGATCTTCACCTGGGTCTCGTTGAGCTGCAGGGATGCTGCGATCTCCACCCTGCGGGCGCGGGTCAGATACTTATTGAAGTGGAACTCCTTTTCCAGCTCGGTGAGCTGCTTGGTGGTGAAGTTGGTACGCACTGCATTCGGTTGACCCACGTAGCCGTACTCTCCAACTTTCC
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 .. _HYPHY: http://www.hyphy.org
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 </tool>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101