Description
I am using the mappy
API with the sole end goal of extracting the genomic sequence for a read mapping. Currently, I am using pyfaidx
to take the mapped coordinates from the mappy.Alignment
object and extract the associated genomic sequence. This seems like a bit of extra work since the sequence in theory may be extract-able from the mappy.Aligner
or mappy.Alignment
objects (though there are likely reasons this may not be true). This would also allow my code not to load the same reference fasta file twice (once for mapping in mappy
and the second time for randomly extracting genome sequence). Is there access to this right now via the python API (maybe undocumented)? Or would it be possible to add this feature either directly or indirectly to the mappy.Alignment
object?
Activity