I use tophat do the mapping and get .bam file. I try to use featureCount. Here are some question about my data:
- I use paired-end reads also single-end reads in tophat, so the mapping result contain both.Which arguments I should use?
- My annotation file is gff3 but I check the parameter in featureCounts such as
-g
(GTF.attrType
), I find almost everyone use-g gene_id
. And gff3 useID=
andparent=
. I can't get any result with my gff3 file so I convert it to gtf. Now I get read count, is it reliable? or how to deal with gff3?
Here is my command usage:
featureCounts -a my.gtf -t exon -g gene_id -o counts.txt accepted_hits.bam
Thanks!
Hi bakeronit,
For your second point, as long as the format conversion is reliable, the information in your annotation files is the same. Your read count is correct. There would be a problem if the GFF3 and GTF file had had a different information. A format good format conversion does not modify the information in a file.
I have never been in the situation described in your first point. I'll let someone else answer.