root/galaxy-central/tools/metag_tools/megablast_xml_parser.xml @ 2

リビジョン 2, 2.3 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

行番号 
1<tool id="megablast_xml_parser" name="Parse blast XML output">
2<description></description>
3<command interpreter="python">megablast_xml_parser.py $input1 $output1</command>
4<inputs>
5        <param name="input1" type="data" format="blastxml" label="Megablast XML output" />
6</inputs>
7<outputs>
8        <data name="output1" format="tabular"/>
9</outputs>
10<requirements>
11        <requirement type="python-module">cElementTree</requirement>
12</requirements>
13<tests>
14        <test>
15                <param name="input1" value="megablast_xml_parser_test1.gz" ftype="blastxml" />
16                <output name="output1" file="megablast_xml_parser_test1_out.tabular" ftype="tabular" />
17        </test>
18</tests>
19<help>
20
21**What it does**
22
23This 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).
24 
25-----
26
27**Output fields**
28
29This tools returns tab-delimited output with the following fields::
30
31    Description                               Example
32    ----------------------------------------- -----------------
33
34    1. Name of the query sequence             Seq1
35    2. Length of the query sequence           30
36    3. Name of target sequence                gnl|BL_ORD_ID|0
37    4. Length of target sequence              5528445
38    5. Alignment bit score                    59.96
39    6. E-value                                8.38112e-11
40    7. Start of alignment within query        1
41    8. End of alignment within query          30
42    9. Start of alignment within target       5436010
43   10. End of alignment within target         5436039
44   11. Query frame                            1
45   12. Target frame                           1
46   13. Number of identical bases within       29
47       the alignment
48   14. Alignment length                       30
49   15. Aligned portion (sequence) of query    CGGACAGCGCCGCCACCAACAAAGCCACCA
50   16. Aligned portion (sequence) of target   CGGACAGCGCCGCCACCAACAAAGCCATCA
51   17. Midline indicating positions of        ||||||||||||||||||||||||||| ||
52       matches within the alignment
53
54------
55       
56.. class:: infomark
57
58Note 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
59
60
61
62</help>
63</tool>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。