annotate tools/metag_tools/megablast_xml_parser.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="megablast_xml_parser" name="Parse blast XML output">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description></description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">megablast_xml_parser.py $input1 $output1</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1" type="data" format="blastxml" label="Megablast XML output" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <data name="output1" format="tabular"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="input1" value="megablast_xml_parser_test1.gz" ftype="blastxml" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <output name="output1" file="megablast_xml_parser_test1_out.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 This tool processes the XML output of any NCBI blast tool (if you run your own blast jobs, the XML output can be generated with **-m 7** option).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 **Output fields**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 This tools returns tab-delimited output with the following fields::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 Description Example
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 ----------------------------------------- -----------------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 1. Name of the query sequence Seq1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 2. Length of the query sequence 30
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 3. Name of target sequence gnl|BL_ORD_ID|0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 4. Length of target sequence 5528445
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 5. Alignment bit score 59.96
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 6. E-value 8.38112e-11
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 7. Start of alignment within query 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 8. End of alignment within query 30
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 9. Start of alignment within target 5436010
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 10. End of alignment within target 5436039
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 11. Query frame 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 12. Target frame 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 13. Number of identical bases within 29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 the alignment
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 14. Alignment length 30
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 15. Aligned portion (sequence) of query CGGACAGCGCCGCCACCAACAAAGCCACCA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 16. Aligned portion (sequence) of target CGGACAGCGCCGCCACCAACAAAGCCATCA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 17. Midline indicating positions of ||||||||||||||||||||||||||| ||
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 matches within the alignment
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 Note that this form of output does not contain alignment identify value. However, it can be computed by dividing the number of identical bases within the alignment (Field 13) by the alignment length (Field 14) using *Text Manipulation->Compute* tool
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 </tool>