annotate tools/evolution/add_scores.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -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="hgv_add_scores" name="phyloP" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>interspecies conservation scores</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 add_scores $input1 ${input1.metadata.dbkey} ${input1.metadata.chromCol} ${input1.metadata.startCol} ${GALAXY_DATA_INDEX_DIR}/add_scores.loc $out_file1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <param format="interval" name="input1" type="data" label="Dataset">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <validator type="unspecified_build"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <validator type="dataset_metadata_in_file" filename="add_scores.loc" metadata_name="dbkey" metadata_column="0" message="Data is currently not available for the specified build."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <data format="input" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <requirement type="package">add_scores</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <param name="input1" value="add_scores_input1.interval" ftype="interval" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <output name="output" file="add_scores_output1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="input1" value="add_scores_input2.bed" ftype="interval" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <output name="output" file="add_scores_output2.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 This currently works only for build hg18.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 **Dataset formats**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 The input can be any interval_ format dataset. The output is also in interval format.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 (`Dataset missing?`_)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 .. _interval: ./static/formatHelp.html#interval
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 .. _Dataset missing?: ./static/formatHelp.html
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 This tool adds a column that measures interspecies conservation at each SNP
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 position, using conservation scores for primates pre-computed by the
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 phyloP program. PhyloP performs an exact P-value computation under a
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 continuous Markov substitution model.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 The chromosome and start position
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 are used to look up the scores, so if a larger interval is in the input,
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 only the score for the first nucleotide is returned.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 - input file, with SNPs::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 chr22 16440426 14440427 C/T
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 chr22 15494851 14494852 A/G
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 chr22 14494911 14494912 A/T
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 chr22 14550435 14550436 A/G
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 chr22 14611956 14611957 G/T
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 chr22 14612076 14612077 A/G
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 chr22 14668537 14668538 C
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 chr22 14668703 14668704 A/T
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 chr22 14668775 14668776 G
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 chr22 14680074 14680075 A/T
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 etc.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 - output file, showing conservation scores for primates::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 chr22 16440426 14440427 C/T 0.509
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 chr22 15494851 14494852 A/G 0.427
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 chr22 14494911 14494912 A/T NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 chr22 14550435 14550436 A/G NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 chr22 14611956 14611957 G/T -2.142
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 chr22 14612076 14612077 A/G 0.369
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 chr22 14668537 14668538 C 0.419
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 chr22 14668703 14668704 A/T -1.462
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 chr22 14668775 14668776 G 0.470
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 chr22 14680074 14680075 A/T 0.303
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 etc.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 "NA" means that the phyloP score was not available.
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 **Reference**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 Siepel A, Pollard KS, Haussler D. (2006)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 New methods for detecting lineage-specific selection.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 In Proceedings of the 10th International Conference on Research in Computational
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 Molecular Biology (RECOMB 2006), pp. 190-205.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 </tool>