Hi Devon, thanks for the suggestion. I used
python dexseq_prepare_annotation.py gencode.v23.annotation_subset.gtf gencode.v23.annotation_subset.gff
and this is how the gff looks:
chr1 dexseq_prepare_annotation.py aggregate_gene 229431245 229434098 . - . gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229431245 229431248 . - . transcripts "ENST00000366684.7"; exonic_part_number "001"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229431249 229431642 . - . transcripts "ENST00000366683.3+ENST00000366684.7"; exonic_part_number "002"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229431721 229431862 . - . transcripts "ENST00000366683.3+ENST00000366684.7"; exonic_part_number "003"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229431863 229431902 . - . transcripts "ENST00000366684.7"; exonic_part_number "004"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229431994 229432185 . - . transcripts "ENST00000366684.7"; exonic_part_number "005"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229432270 229432406 . - . transcripts "ENST00000366684.7"; exonic_part_number "006"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229432407 229432431 . - . transcripts "ENST00000366683.3+ENST00000366684.7"; exonic_part_number "007"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229432556 229432880 . - . transcripts "ENST00000366683.3+ENST00000366684.7"; exonic_part_number "008"; gene_id "ENSG00000143632.14"
chr1 dexseq_prepare_annotation.py exonic_part 229432987 229433127 . - . transcripts "ENST00000366683.3+ENST00000366684.7"; exonic_part_number "009"; gene_id "ENSG00000143632.14"
When I used this in the htseq-count using the command:
htseq-count -f bam -r name -s yes -a 10 -t exon -i exon_id -m union sample_Aligned.out.bam gencode.v23.annotation_subset.gff > sample_Aligned.out.table.txt
I only got the following lines in the output:
__no_feature 85273631
__ambiguous 0
__too_low_aQual 0
__not_aligned 2970335
__alignment_not_unique 12964119
No mapping to any exons. What else am I missing?