Mercurial > repos > rreumerman > snptools
comparison trams.xml @ 4:bd5692103d5b draft
Uploaded
author | rreumerman |
---|---|
date | Fri, 05 Apr 2013 05:00:40 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:a808647d7312 | 4:bd5692103d5b |
---|---|
1 <tool id="trams" name="TRAMS"> | |
2 | |
3 <description>Tool for Rapid Annotation of Microbial SNPs</description> | |
4 | |
5 <command interpreter="python">trams.py $input1 $input2 $ref_format $annot $overl $sum</command> | |
6 | |
7 <inputs> | |
8 | |
9 <param name="input1" type="data" format="tabular" label="SNP table" /> | |
10 | |
11 <param name="input2" type="data" format="txt" label="Reference genome" help="Reference genome file, should be genbank or embl file." /> | |
12 | |
13 <param name="ref_format" type="select"> | |
14 | |
15 <label>Reference file type</label> | |
16 | |
17 <option value="gb">Genbank</option> | |
18 | |
19 <option value="embl">EMBL</option> | |
20 | |
21 </param> | |
22 | |
23 </inputs> | |
24 | |
25 <outputs> | |
26 | |
27 <data name="annot" format="tabular" label="${tool.name} on ${on_string}: SNP annotation file" /> | |
28 | |
29 <data name="overl" format="tabular" label="${tool.name} on ${on_string}: Overlap file" /> | |
30 | |
31 <data name="sum" format="txt" label="${tool.name} on ${on_string}: Summary file" /> | |
32 | |
33 </outputs> | |
34 | |
35 <help> | |
36 | |
37 | |
38 | |
39 **What it does** | |
40 | |
41 | |
42 | |
43 This tool annotates SNPs from a SNP table and a genbank or embl reference file. | |
44 | |
45 | |
46 | |
47 **Input** | |
48 | |
49 | |
50 | |
51 The SNP table has to be tabular (tab-delimited), with headers on the first line (strain names/numbers). Consecutive lines should contain SNP position in the first column, reference base in the second and SNP bases in consecutive columns. Any number of strains can be compared to the reference. | |
52 | |
53 | |
54 | |
55 ======== ==== ======= ======= | |
56 | |
57 Position Ref. Strain1 Strain2 | |
58 | |
59 102 a g c | |
60 | |
61 158 c c t | |
62 | |
63 200 t a a | |
64 | |
65 etc.. .. .. .. | |
66 | |
67 ======== ==== ======= ======= | |
68 | |
69 | |
70 | |
71 | |
72 **Output** | |
73 | |
74 | |
75 | |
76 TRAMS produces three output files. The **SNP annotation file** contains an annotation of each SNP in the input table, giving gene function and the type of SNP (synonymous, nonsynonymous, etc). The **Overlap file** reports on SNPs or ranges of SNPs that are located in multiple features (as defined in the reference genome file). These SNPs can be found in the annotation file once for each feature. The **Summary file** gives an overview of the number of SNPs in each strain and a breakdown of how the SNPs are spread over different types. | |
77 | |
78 </help> | |
79 | |
80 </tool> |