I see, thank you!
Although I still find it curious that by filtering this way
standard_chromosomes <- paste0("chr", c(1:22, "X", "Y"))
raw_exons <- subset(raw_gtf, type == "exon" & gene_type == "protein_coding" & transcript_type == "protein_coding" & transcript_support_level == 1)
exons <- raw_exons[seqnames(raw_exons) %in% standard_chromosomes]
I get this final size -> 63,337,002
reduced_exome <- reduce(exons)
sum(reduced_exome@ranges@width)
add a filter for biotype=protein_coding ?
Hi Pierre, thanks for your answer.
I’ve tried removing the mitochondrial DNA and filtering for "protein_coding" gene types, but the sequence is still much longer than expected. The filtering should be correct, though…