root/galaxy-central/tools/filters/axt_to_concat_fasta.xml @ 2

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

import galaxy-central

行番号 
1<tool id="axt_to_concat_fasta" name="AXT to concatenated FASTA">
2  <description>Converts an AXT formatted file to a concatenated FASTA alignment</description>
3  <command interpreter="python">axt_to_concat_fasta.py $dbkey_1 $dbkey_2 &lt; $axt_input &gt; $out_file1</command>
4  <inputs>
5    <param format="axt" name="axt_input" type="data" label="AXT file"/>
6    <param name="dbkey_1" type="genomebuild" label="Genome"/>
7    <param name="dbkey_2" type="genomebuild" label="Genome"/>
8  </inputs>
9  <outputs>
10    <data format="fasta" name="out_file1" />
11  </outputs>
12  <tests>
13    <test>
14      <param name="axt_input" value="1.axt" ftype="axt" />
15      <param name="dbkey_1" value='hg17' />
16      <param name="dbkey_2" value="panTro1" />
17      <output name="out_file1" file="axt_to_concat_fasta.dat" />
18    </test>
19  </tests>
20  <help>
21
22.. class:: warningmark
23
24**IMPORTANT**: AXT formatted alignments will be phased out from Galaxy in the coming weeks. They will be replaced with pairwise MAF alignments, which are already available. To try pairwise MAF alignments use "Extract Pairwise MAF blocks" tool in *Fetch Sequences and Alignments* section.
25
26--------
27
28**Syntax**
29
30This tool converts an AXT formatted file to the FASTA format, and concatenates the results in the same build.
31
32- **AXT format** The alignments are produced from Blastz, an alignment tool available from Webb Miller's lab at Penn State University. The lav format Blastz output, which does not include the sequence, was converted to AXT format with lavToAxt. Each alignment block in an AXT file contains three lines: a summary line and 2 sequence lines. Blocks are separated from one another by blank lines.
33
34- **FASTA format** a text-based format for representing both nucleic and protein sequences, in which base pairs or proteins are represented using a single-letter code.
35
36  - This format contains an one line header. It starts with a " >" symbol. The first word on this line is the name of the sequence. The rest of the line is a description of the sequence.
37  - The remaining lines contain the sequence itself.
38  - Blank lines in a FASTA file are ignored, and so are spaces or other gap symbols (dashes, underscores, periods) in a sequence.
39  - Fasta files containing multiple sequences are just the same, with one sequence listed right after another. This format is accepted for many multiple sequence alignment programs.
40
41-----
42
43**Example**
44
45- AXT format::
46
47    0 chr19 3001012 3001075 chr11 70568380 70568443 - 3500
48    TCAGCTCATAAATCACCTCCTGCCACAAGCCTGGCCTGGTCCCAGGAGAGTGTCCAGGCTCAGA
49    TCTGTTCATAAACCACCTGCCATGACAAGCCTGGCCTGTTCCCAAGACAATGTCCAGGCTCAGA
50
51    1 chr19 3008279 3008357 chr11 70573976 70574054 - 3900
52    CACAATCTTCACATTGAGATCCTGAGTTGCTGATCAGAATGGAAGGCTGAGCTAAGATGAGCGACGAGGCAATGTCACA
53    CACAGTCTTCACATTGAGGTACCAAGTTGTGGATCAGAATGGAAAGCTAGGCTATGATGAGGGACAGTGCGCTGTCACA
54
55- Convert the above file to concatenated FASTA format::
56
57    &gt;hg16
58    TCAGCTCATAAATCACCTCCTGCCACAAGCCTGGCCTGGTCCCAGGAGAGTGTCCAGGCTCAGACACAATCTTCACATTGAGATCCTGAGTTGCTGATCAGAATGGAAGGCTGAGCTAAGATGAGCGACGAGGCAATGTCACA
59    &gt;mm5
60    TCTGTTCATAAACCACCTGCCATGACAAGCCTGGCCTGTTCCCAAGACAATGTCCAGGCTCAGACACAGTCTTCACATTGAGGTACCAAGTTGTGGATCAGAATGGAAAGCTAGGCTATGATGAGGGACAGTGCGCTGTCACA
61
62  </help>
63</tool>
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。