comparison gtf_to_gff.xml @ 10:c42c69aa81f8

fixed manually the upload of version 2.1.0 - deleted accidentally added files to the repo
author vipints <vipin@cbio.mskcc.org>
date Thu, 23 Apr 2015 18:01:45 -0400
parents
children
comparison
equal deleted inserted replaced
9:7d67331368f3 10:c42c69aa81f8
1 <tool id="fml_gtf2gff" name="GTF-to-GFF" version="2.1.0">
2 <description>converter</description>
3 <command interpreter="python">gtf_to_gff.py $inf_gtf &gt; $gff3_format
4 </command>
5 <inputs>
6 <param format="gtf" name="inf_gtf" type="data" label="Convert this query" help="Provide genome annotation file in GTF."/>
7 </inputs>
8 <outputs>
9 <data format="gff" name="gff3_format" label="${tool.name} on ${on_string}: Converted" />
10 </outputs>
11 <tests>
12 <test>
13 <param name="inf_gtf" value="aceview_hs_37.gtf" />
14 <output name="gff3_format" file="aceview_hs_37.gff3" />
15 </test>
16 </tests>
17 <help>
18
19 **What it does**
20
21 This tool converts data from GTF to a valid GFF file (scroll down for format description).
22
23 --------
24
25 **Example**
26
27 - The following data in GTF::
28
29 17 protein_coding exon 7255208 7258258 . + . gene_id "ENSG00000213859"; transcript_id "ENST00000333751"; exon_number "1"; gene_name "KCTD11"; transcript_name "KCTD11-001";
30 17 protein_coding CDS 7256262 7256957 . + 0 gene_id "ENSG00000213859"; transcript_id "ENST00000333751"; exon_number "1"; gene_name "KCTD11"; transcript_name "KCTD11-001"; protein_id "ENSP00000328352";
31 17 protein_coding start_codon 7256262 7256264 . + 0 gene_id "ENSG00000213859"; transcript_id "ENST00000333751"; exon_number "1"; gene_name "KCTD11"; transcript_name "KCTD11-001";
32 17 protein_coding stop_codon 7256958 7256960 . + 0 gene_id "ENSG00000213859"; transcript_id "ENST00000333751"; exon_number "1"; gene_name "KCTD11"; transcript_name "KCTD11-001";
33
34 - Will be converted to GFF3::
35
36 ##gff-version 3
37 17 protein_coding gene 7255208 7258258 . + . ID=ENSG00000213859;Name=KCTD11
38 17 protein_coding mRNA 7255208 7258258 . + . ID=ENST00000333751;Name=KCTD11-001;Parent=ENSG00000213859
39 17 protein_coding protein 7256262 7256960 . + . ID=ENSP00000328352;Name=KCTD11-001;Parent=ENST00000333751
40 17 protein_coding five_prime_UTR 7255208 7256261 . + . Parent=ENST00000333751
41 17 protein_coding CDS 7256262 7256960 . + 0 Name=CDS:KCTD11;Parent=ENST00000333751,ENSP00000328352
42 17 protein_coding three_prime_UTR 7256961 7258258 . + . Parent=ENST00000333751
43 17 protein_coding exon 7255208 7258258 . + . Parent=ENST00000333751
44
45 --------
46
47 **Reference**
48
49 **GTF-to-GFF** is part of oqtans package and cited as [1]_.
50
51 .. [1] Sreedharan VT, Schultheiss SJ, Jean G et.al., Oqtans: the RNA-seq workbench in the cloud for complete and reproducible quantitative transcriptome analysis. Bioinformatics (2014). `10.1093/bioinformatics/btt731`_
52
53 .. _10.1093/bioinformatics/btt731: http://goo.gl/I75poH
54
55 ------
56
57 **About formats**
58
59 **GTF format** Gene Transfer Format, it borrows from GFF, but has additional structure that warrants a separate definition and format name. GTF lines have nine tab-seaparated fields::
60
61 1. seqname - The name of the sequence.
62 2. source - This indicating where the annotation came from.
63 3. feature - The name of the feature types. The following feature types are required: 'CDS', 'start_codon' and 'stop_codon'
64 4. start - The starting position of the feature in the sequence. The first base is numbered 1.
65 5. end - The ending position of the feature (inclusive).
66 6. score - The score field indicates a degree of confidence in the feature's existence and coordinates.
67 7. strand - Valid entries include '+', '-', or '.'
68 8. frame - If the feature is a coding exon, frame should be a number between 0-2 that represents the reading frame of the first base.
69 9. attributes - These attributes are designed for handling multiple transcripts from the same genomic region.
70
71 **GFF format** General Feature Format is a format for describing genes and other features associated with DNA, RNA and Protein sequences. GFF lines have nine tab-separated fields::
72
73 1. seqid - Must be a chromosome or scaffold.
74 2. source - The program that generated this feature.
75 3. type - The name of this type of feature. Some examples of standard feature types are "gene", "CDS", "protein", "mRNA", and "exon".
76 4. start - The starting position of the feature in the sequence. The first base is numbered 1.
77 5. stop - The ending position of the feature (inclusive).
78 6. score - A score between 0 and 1000. If there is no score value, enter ".".
79 7. strand - Valid entries include '+', '-', or '.' (for don't know/care).
80 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 '.'.
81 9. attributes - All lines with the same group are linked together into a single item.
82
83 --------
84
85 **Copyright**
86
87 GTF-to-GFF Wrapper Version 0.6 (Apr 2015)
88
89 2009-2015 Max Planck Society, University of Tübingen &amp; Memorial Sloan Kettering Cancer Center
90
91 </help>
92 </tool>