I was using featureCounts 1.5.0-p1 to count the reads aligned to CDS. My command was
The run completed successfully. When I reviewed the output file, I noticed many columns were zeroes and I knew many of those genes were expressed (by checking the BAM in a genome browser beforehand). For example, the output for this example locus is,
As you can see, the reads were aligned along the gene. Yet the counts were only piled in one CDS (Chr1:226849-227176).
Any comment and help is appreciated. Thank you.
ps. Here's the input GTF in this locus,
Chr1 GTF CDS 225986 226081 . - 0 transcript_id "example.2"; gene_id "example";
Chr1 GTF CDS 226171 226311 . - 0 transcript_id "example.2"; gene_id "example";
Chr1 GTF CDS 226396 226691 . - 2 transcript_id "example.2"; gene_id "example";
Chr1 GTF CDS 226849 226960 . - 0 transcript_id "example.2"; gene_id "example";
Chr1 GTF exon 226849 227049 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF 5UTR 226961 227049 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF exon 227079 227302 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF 5UTR 227079 227302 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF 3UTR 225665 225985 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF 3UTR 225665 225985 . - . transcript_id "example.1"; gene_id "example";
Chr1 GTF exon 225665 226081 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF exon 225665 226081 . - . transcript_id "example.1"; gene_id "example";
Chr1 GTF CDS 225986 226081 . - 0 transcript_id "example.1"; gene_id "example";
Chr1 GTF CDS 226171 226311 . - 0 transcript_id "example.1"; gene_id "example";
Chr1 GTF exon 226171 226311 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF exon 226171 226311 . - . transcript_id "example.1"; gene_id "example";
Chr1 GTF CDS 226396 226691 . - 2 transcript_id "example.1"; gene_id "example";
Chr1 GTF exon 226396 226691 . - . transcript_id "example.2"; gene_id "example";
Chr1 GTF exon 226396 226691 . - . transcript_id "example.1"; gene_id "example";
Chr1 GTF CDS 226849 227176 . - 0 transcript_id "example.1"; gene_id "example";
Chr1 GTF exon 226849 227543 . - . transcript_id "example.1"; gene_id "example";
Chr1 GTF 5UTR 227177 227543 . - . transcript_id "example.1"; gene_id "example";