Open msto opened 5 months ago
A few questions:
set_primaries
?set_primary_alignments
be a instance method on the Template
class? set_primary_alignments
take an enum for "picking strategy", for example: 5'-most-genomic, 3'-most-genomic, 5'-most-sequencing, 3'-most-sequencing, highest-alignment-score, max-mapped-query-bases, max-mapped-target-bases... This list is certainly overkill...is_5p_most_alignment
only work on primary alignments? I don't think the SA
tag is set on the supplementary alignments.
This has come up in multiple client contexts and would be very helpful to have.
I think there are two functions that would be helpful:
(the first could potentially include an argument to set the primary alignment on R1, R2, or both)