Skip to content

NM tags #4

@wwood

Description

@wwood

Hi,

With the bioconda package in hand, I was able to put something together that passes at least cursory tests in CoverM.

However, I had to add a call to samtools callmd along these lines:

x-mapper{} --num-threads {} --reference '{}' {} --out-sam - | samtools calmd -S - '{}'

because it seems that x-mapper does not report NM tags in its sam output, which is what coverm uses to post-process the alignments and e.g. remove low identity matches according to user specifications.

This seems like double handling, because I guess x-mapper already calculates it internally - is it straightforward to add that to x-mapper output?

Thanks, ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions