annotate gbk_to_gff.xml @ 5:6e589f267c14

Uploaded
author devteam
date Tue, 04 Nov 2014 12:15:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
6e589f267c14 Uploaded
devteam
parents:
diff changeset
1 <tool id="fml_gbk2gff" name="GBK-to-GFF" version="2.0.0">
6e589f267c14 Uploaded
devteam
parents:
diff changeset
2 <description>converter</description>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
3 <command interpreter="python">gbk_to_gff.py $inf_gbk &gt; $gff_format
6e589f267c14 Uploaded
devteam
parents:
diff changeset
4 </command>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
5 <inputs>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
6 <param format="gb,gbk,genbank,txt" name="inf_gbk" type="data" label="Convert this query" help="GenBank flat file format consists of an annotation section and a sequence section."/>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
7 </inputs>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
8 <outputs>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
9 <data format="gff3" name="gff_format" label="${tool.name} on ${on_string}: Converted"/>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
10 </outputs>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
11 <tests>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
12 <test>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
13 <param name="inf_gbk" value="s_cerevisiae_SCU49845.gbk" />
6e589f267c14 Uploaded
devteam
parents:
diff changeset
14 <output name="gff_format" file="s_cerevisiae_SCU49845.gff3" />
6e589f267c14 Uploaded
devteam
parents:
diff changeset
15 </test>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
16 </tests>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
17 <help>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
18
6e589f267c14 Uploaded
devteam
parents:
diff changeset
19 **What it does**
6e589f267c14 Uploaded
devteam
parents:
diff changeset
20
6e589f267c14 Uploaded
devteam
parents:
diff changeset
21 This tool converts data from a GenBank_ flat file format to GFF (scroll down for format description).
6e589f267c14 Uploaded
devteam
parents:
diff changeset
22
6e589f267c14 Uploaded
devteam
parents:
diff changeset
23 .. _GenBank: http://www.ncbi.nlm.nih.gov/genbank/
6e589f267c14 Uploaded
devteam
parents:
diff changeset
24
6e589f267c14 Uploaded
devteam
parents:
diff changeset
25 ------
6e589f267c14 Uploaded
devteam
parents:
diff changeset
26
6e589f267c14 Uploaded
devteam
parents:
diff changeset
27 **Example**
6e589f267c14 Uploaded
devteam
parents:
diff changeset
28
6e589f267c14 Uploaded
devteam
parents:
diff changeset
29 - The following data in GenBank format::
6e589f267c14 Uploaded
devteam
parents:
diff changeset
30
6e589f267c14 Uploaded
devteam
parents:
diff changeset
31 LOCUS NM_001202705 2406 bp mRNA linear PLN 28-MAY-2011
6e589f267c14 Uploaded
devteam
parents:
diff changeset
32 DEFINITION Arabidopsis thaliana thiamine biosynthesis protein ThiC (THIC)
6e589f267c14 Uploaded
devteam
parents:
diff changeset
33 mRNA, complete cds.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
34 ACCESSION NM_001202705
6e589f267c14 Uploaded
devteam
parents:
diff changeset
35 VERSION NM_001202705.1 GI:334184566.........
6e589f267c14 Uploaded
devteam
parents:
diff changeset
36 FEATURES Location/Qualifiers
6e589f267c14 Uploaded
devteam
parents:
diff changeset
37 source 1..2406
6e589f267c14 Uploaded
devteam
parents:
diff changeset
38 /organism="Arabidopsis thaliana"
6e589f267c14 Uploaded
devteam
parents:
diff changeset
39 /mol_type="mRNA"
6e589f267c14 Uploaded
devteam
parents:
diff changeset
40 /db_xref="taxon:3702"........
6e589f267c14 Uploaded
devteam
parents:
diff changeset
41 gene 1..2406
6e589f267c14 Uploaded
devteam
parents:
diff changeset
42 /gene="THIC"
6e589f267c14 Uploaded
devteam
parents:
diff changeset
43 /locus_tag="AT2G29630"
6e589f267c14 Uploaded
devteam
parents:
diff changeset
44 /gene_synonym="PY; PYRIMIDINE REQUIRING; T27A16.27;........
6e589f267c14 Uploaded
devteam
parents:
diff changeset
45 ORIGIN
6e589f267c14 Uploaded
devteam
parents:
diff changeset
46 1 aagcctttcg ctttaggctg cattgggccg tgacaatatt cagacgattc aggaggttcg
6e589f267c14 Uploaded
devteam
parents:
diff changeset
47 61 ttcctttttt aaaggaccct aatcactctg agtaccactg actcactcag tgtgcgcgat
6e589f267c14 Uploaded
devteam
parents:
diff changeset
48 121 tcatttcaaa aacgagccag cctcttcttc cttcgtctac tagatcagat ccaaagcttc
6e589f267c14 Uploaded
devteam
parents:
diff changeset
49 181 ctcttccagc tatggctgct tcagtacact gtaccttgat gtccgtcgta tgcaacaaca
6e589f267c14 Uploaded
devteam
parents:
diff changeset
50 //
6e589f267c14 Uploaded
devteam
parents:
diff changeset
51
6e589f267c14 Uploaded
devteam
parents:
diff changeset
52
6e589f267c14 Uploaded
devteam
parents:
diff changeset
53 - Will be converted to GFF3::
6e589f267c14 Uploaded
devteam
parents:
diff changeset
54
6e589f267c14 Uploaded
devteam
parents:
diff changeset
55 ##gff-version 3
6e589f267c14 Uploaded
devteam
parents:
diff changeset
56 NM_001202705 gbk_to_gff chromosome 1 2406 . + 1 ID=NM_001202705;Alias=2;Dbxref=taxon:3702;Name=NM_001202705
6e589f267c14 Uploaded
devteam
parents:
diff changeset
57 NM_001202705 gbk_to_gff gene 1 2406 . + 1 ID=AT2G29630;Dbxref=GeneID:817513,TAIR:AT2G29630;Name=THIC
6e589f267c14 Uploaded
devteam
parents:
diff changeset
58 NM_001202705 gbk_to_gff mRNA 192 2126 . + 1 ID=AT2G29630.t01;Parent=AT2G29630
6e589f267c14 Uploaded
devteam
parents:
diff changeset
59 NM_001202705 gbk_to_gff CDS 192 2126 . + 1 ID=AT2G29630.p01;Parent=AT2G29630.t01
6e589f267c14 Uploaded
devteam
parents:
diff changeset
60 NM_001202705 gbk_to_gff exon 192 2126 . + 1 Parent=AT2G29630.t01
6e589f267c14 Uploaded
devteam
parents:
diff changeset
61
6e589f267c14 Uploaded
devteam
parents:
diff changeset
62 ------
6e589f267c14 Uploaded
devteam
parents:
diff changeset
63
6e589f267c14 Uploaded
devteam
parents:
diff changeset
64 **About formats**
6e589f267c14 Uploaded
devteam
parents:
diff changeset
65
6e589f267c14 Uploaded
devteam
parents:
diff changeset
66 **GenBank format** An example of a GenBank record may be viewed here_
6e589f267c14 Uploaded
devteam
parents:
diff changeset
67
6e589f267c14 Uploaded
devteam
parents:
diff changeset
68 .. _here: http://www.ncbi.nlm.nih.gov/Sitemap/samplerecord.html
6e589f267c14 Uploaded
devteam
parents:
diff changeset
69
6e589f267c14 Uploaded
devteam
parents:
diff changeset
70 **GFF3** Generic Feature Format is a format for describing genes and other features associated with DNA, RNA and Protein sequences. GFF3 lines have nine tab-separated fields::
6e589f267c14 Uploaded
devteam
parents:
diff changeset
71
6e589f267c14 Uploaded
devteam
parents:
diff changeset
72 1. seqid - Must be a chromosome or scaffold or contig.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
73 2. source - The program that generated this feature.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
74 3. type - The name of this type of feature. Some examples of standard feature types are "gene", "CDS", "protein", "mRNA", and "exon".
6e589f267c14 Uploaded
devteam
parents:
diff changeset
75 4. start - The starting position of the feature in the sequence. The first base is numbered 1.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
76 5. stop - The ending position of the feature (inclusive).
6e589f267c14 Uploaded
devteam
parents:
diff changeset
77 6. score - A score between 0 and 1000. If there is no score value, enter ".".
6e589f267c14 Uploaded
devteam
parents:
diff changeset
78 7. strand - Valid entries include '+', '-', or '.' (for don't know/care).
6e589f267c14 Uploaded
devteam
parents:
diff changeset
79 8. phase - If the feature is a coding exon, frame should be a number between 0-2 that represents the reading frame of the first base. If the feature is not a coding exon, the value should be '.'.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
80 9. attributes - All lines with the same group are linked together into a single item.
6e589f267c14 Uploaded
devteam
parents:
diff changeset
81
6e589f267c14 Uploaded
devteam
parents:
diff changeset
82 --------
6e589f267c14 Uploaded
devteam
parents:
diff changeset
83
6e589f267c14 Uploaded
devteam
parents:
diff changeset
84 **Copyright**
6e589f267c14 Uploaded
devteam
parents:
diff changeset
85
6e589f267c14 Uploaded
devteam
parents:
diff changeset
86 2009-2014 Max Planck Society, University of Tübingen &amp; Memorial Sloan Kettering Cancer Center
6e589f267c14 Uploaded
devteam
parents:
diff changeset
87
6e589f267c14 Uploaded
devteam
parents:
diff changeset
88 Sreedharan VT, Schultheiss SJ, Jean G, Kahles A, Bohnert R, Drewe P, Mudrakarta P, Görnitz N, Zeller G, Rätsch G. Oqtans: the RNA-seq workbench in the cloud for complete and reproducible quantitative transcriptome analysis. Bioinformatics 10.1093/bioinformatics/btt731 (2014)
6e589f267c14 Uploaded
devteam
parents:
diff changeset
89
6e589f267c14 Uploaded
devteam
parents:
diff changeset
90 </help>
6e589f267c14 Uploaded
devteam
parents:
diff changeset
91 </tool>