What is the purpose and functional purpose of the Seqinfo object circularity attribute in GenomicRanges objects?
I know that MT genes are circular, and you can use this attribute to label them as such, but why would I do that?
I read the manual for these objects, but little to no clarification about this attribute is given:
https://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/GenomicRanges/html/GRanges-class.html
https://web.mit.edu/~r/current/arch/i386_linux26/lib/R/library/GenomeInfoDb/html/Seqinfo-class.html
Thank you!
In genomics the genome is usually represented as a linear string of bases. This is somewhat problematic for circular genomes because you can have annotated features or NGS reads that partially overlap both the beginning and end of this linear string, since in reality they are just one continuous sequence. If there was no indicator of circularity you would have no way to programmatically check whether these features or reads are legitimate or just some error in annotation or alignment.