Skip to content

Sam2conseq script will report "N" instead of majority consensus #17

@ewong347

Description

@ewong347

Expected behavior: sam2conseq should choose NT with highest frequency if the minor NT is only observed once.
Observed behavior: sam2conseq reports N instead of taking the major Nucleotide, even if the ratio is 350: 1 (position 7676)
WA11-UW7 (SRR11278092), aligned sequence, depth freqs found in langley/covid/problematic
pos 224 image

Freqs table:

pos A C G T N - ins
224 0 0 1 15 0 0 {}
237 0 1 19 0 0 0 {}
441 0 0 40 1 0 0 {}
444 0 0 0 49 0 1 {}
447 0 1 0 49 0 0 {}
458 0 0 46 1 0 0 {}
7676 350 0 1 0 0 0 {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions