changing gtf file manually
1
0
Entering edit mode
7.7 years ago
zizigolu ★ 4.3k

sorry,

in gtf from ensemble there is not any miRNAs but there is in gff3 then I manually change the transcript in gtf to miRNA, finally by this syntax i extracted the read counts

"featureCounts" "-t" "miRNA" "-g" "transcript_id" "-a" "af.gtf" "-o" "2.txt" "2-quality-sorted"

will this change create a miRNA spesific gtf ??? because I need a miRNA annotation which there is not exist for aspergillus fumigatus

> head(gff3[,1:9])

  I CADRE chromosome   X1 X4918979 . ..1 ..2
1 I  JCVI       gene  216      836 .   +   .
2 I  JCVI      miRNA  216      836 .   +   .
3 I  JCVI       exon  216      836 .   +   .
4 I  JCVI        CDS  216      836 .   +   0
5 I  JCVI       gene 3952     4963 .   +   .
6 I  JCVI      miRNA 3952     4963 .   +   .


> gtf <- read.table("Aspergillus_fumigatus.CADRE.32.gtf", header = T, sep = "\t")

> head(gtf[,1:9])

  I JCVI        gene X216 X836 . X. ..1
1 I JCVI  transcript  216  836 .  +   .
2 I JCVI        exon  216  836 .  +   .
3 I JCVI         CDS  216  833 .  +   0
4 I JCVI start_codon  216  218 .  +   0
5 I JCVI  stop_codon  834  836 .  +   0
6 I JCVI        gene 3952 4963 .  +   .
gtf gff3 miRNA RNA-Seq • 3.7k views
ADD COMMENT
1
Entering edit mode

I tried to reformat your post but only did it half-way since I am not sure what the rest of the text is.

You just duplicated the entries and changed genes/exons labels to "miRNA"? If miRNA's have not been identified for A. fumigatus then that would require some real experimental/predictive informatics work.

ADD REPLY
0
Entering edit mode

thank you. in gff3 as you consider there are chromosome, gene, miRNA, exon and CDS but in gtf there are gene, transcript, exon, CDS, start_codon and stop_codon. I manually changed transcript to miRNA in gtf and used featurecounts syntax -t miRNA supposing I am using miRNA annotation :( :( :(

ADD REPLY
1
Entering edit mode
7.7 years ago
komal.rathi ★ 4.1k

Why don't you just convert the existing GFF to GTF?

gffread my.gff3 -T -o my.gtf

Source: Convertion Of Gff3 To Gtf

ADD COMMENT
0
Entering edit mode

thank you. exactly i used this syntax also galaxy but tophat gave me error :( :( :(

ADD REPLY
1
Entering edit mode

Did you try the other solution in the link using rtracklayer::import.gff3? I also wonder if something is wrong with your gff3, which you can validate using: http://genometools.org/cgi-bin/gff3validator.cgi

ADD REPLY

Login before adding your answer.

Traffic: 1744 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6