Skip to content

Calculate alignment similarity #6

@cmorganl

Description

@cmorganl

It would be nice to have the option of filtering read alignments by percent similarity, and potentially even reporting summary values if a user desired. For example, a separate output table with the mean and/or median percent similarity of the reads used to calculate the abundance metrics for a contig.

Heng Li described three different alignment similarity equations on his blog. I am personally leaning towards the one he favours, gap-compressed identity, over the BLAST and gapless versions.

The similarity between a read and the mapped reference sequence can be calculated directly from the CIGAR string and should be done in the C++ extension to keep this as quick as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions