R/filter_ali.r
filter_secondary_alignments.Rd
Remove secondary alignments from a pafr alignment
filter_secondary_alignments(ali, remove_inversions = FALSE)
ali | Genomic alignment in |
---|---|
remove_inversions | logical If TRUE, also remove inversions (tp flag 'I' or 'i') from the alignment |
#> pafr object with 2501 alignments (36.5Mb) #> 8 query seqs #> 8 target seqs #> 11 tags: NM, ms, AS, nn, tp, cm, s1, s2, dv, cg, zdfilter_secondary_alignments(ali)#> pafr object with 2162 alignments (34.1Mb) #> 8 query seqs #> 8 target seqs #> 11 tags: NM, ms, AS, nn, tp, cm, s1, s2, dv, cg, zd