Hello!
I would like to propose a new set of reserved tags for SAM/BAM/CRAM that can describe molecular annotation along individual sequencing reads. With the advent of functional single-molecule sequencing, there is an emerging need to annotate non-genetic elements on individual DNA molecules (e.g., nucleosome positions, accessible chromatin, CTCF binding events, or TSSs). This is handled for base modifications using the MM and ML tags. However, we (the functional long-read community) have a need for a more extensible format beyond base modifications that allows for generic annotation of any segment of a molecule. To accomplish this, I am proposing the MA tag.
Integration of this spec or a similar one into the SAM/BAM/CRAM is needed to standardize the representation of molecular annotations across different sequencing platforms and analysis tools. Importantly, a standardized format will allow for integration in a wide range of genomic tools, e.g., visualization in genome browsers, and allow developers to be justified in spending time integrating this format into their tools.
I have a more detailed spec outline here:
https://github.com/fiberseq/Molecular-annotation-spec
But in summary, I am proposing that the molecular annotation format uses four related tags:
MA:Z: - Annotation start positions (required, u32 arrays separated by annotation type prefixes)
AL:B:I - Annotation Lengths (required, u32 array)
AQ:B:C - Annotation Quality scores (required, u8 array)
AN:Z: - Annotation Names (optional labels for individual annotations)
Example:
MA:Z:annotation_type1+P:start1,start2;annotation_type2-:start1
AL:B:I,len1,len2,len3
AQ:B:C,qual1,qual2,qual3
AN:Z:name1,name2,name3
Regex for MA tag:
^(([a-zA-Z0-9_]+)[+-.][PQ]?:((\d+)(,\d+)*);?)+$
This style is meant to mimic many of the conventions used by the MM/ML tags while being more flexible to new annotation types of varying lengths.
I'd really appreciate any thoughts and next steps I can/should take to work towards the formal incorporation of these tags.
Thanks,
Mitchell
I have already gotten feedback from the following individuals invested in making long-read annoations:
"Andrew Stergachis" absterga@uw.edu; "Nick Altemose" altemose@stanford.edu; "tommytullius@mac.com" tommytullius@mac.com; "Danilo Dubocanin" dubocd@stanford.edu; "wtimp@jhu.edu" wtimp@jhu.edu; "lmorina2@jhu.edu" lmorina2@jhu.edu; "Stephanie Bohaczuk" bohaczuk@uw.edu; "Gregory Young" gyoung@pacificbiosciences.com; "Art Rand" art.rand@nanoporetech.com; "Aaron Wenger" awenger@pacificbiosciences.com; "minkinaa@uw.edu" minkinaa@uw.edu; "sjn@uw.edu" sjn@uw.edu
Hello!
I would like to propose a new set of reserved tags for SAM/BAM/CRAM that can describe molecular annotation along individual sequencing reads. With the advent of functional single-molecule sequencing, there is an emerging need to annotate non-genetic elements on individual DNA molecules (e.g., nucleosome positions, accessible chromatin, CTCF binding events, or TSSs). This is handled for base modifications using the MM and ML tags. However, we (the functional long-read community) have a need for a more extensible format beyond base modifications that allows for generic annotation of any segment of a molecule. To accomplish this, I am proposing the
MAtag.Integration of this spec or a similar one into the SAM/BAM/CRAM is needed to standardize the representation of molecular annotations across different sequencing platforms and analysis tools. Importantly, a standardized format will allow for integration in a wide range of genomic tools, e.g., visualization in genome browsers, and allow developers to be justified in spending time integrating this format into their tools.
I have a more detailed spec outline here:
https://github.com/fiberseq/Molecular-annotation-spec
But in summary, I am proposing that the molecular annotation format uses four related tags:
Example:
Regex for MA tag:
This style is meant to mimic many of the conventions used by the MM/ML tags while being more flexible to new annotation types of varying lengths.
I'd really appreciate any thoughts and next steps I can/should take to work towards the formal incorporation of these tags.
Thanks,
Mitchell
I have already gotten feedback from the following individuals invested in making long-read annoations:
"Andrew Stergachis" absterga@uw.edu; "Nick Altemose" altemose@stanford.edu; "tommytullius@mac.com" tommytullius@mac.com; "Danilo Dubocanin" dubocd@stanford.edu; "wtimp@jhu.edu" wtimp@jhu.edu; "lmorina2@jhu.edu" lmorina2@jhu.edu; "Stephanie Bohaczuk" bohaczuk@uw.edu; "Gregory Young" gyoung@pacificbiosciences.com; "Art Rand" art.rand@nanoporetech.com; "Aaron Wenger" awenger@pacificbiosciences.com; "minkinaa@uw.edu" minkinaa@uw.edu; "sjn@uw.edu" sjn@uw.edu