Skip to content

bcftools consensus doesn't allow filtering of phased vs. unphased heterozygous sites #1027

@elmoremh

Description

@elmoremh

I want unphased heterozygous sites to be entered into my consensus sequences as either Ns or maybe the appropriate IUPAC ambiguity code. It's not clear that there's a way to communicate this to bcftools consensus.

It's possible there's a way to do this with expressions, but if so I haven't figured it out. (Can I parse text within a column? None of the examples in the documentation lead me to think that.)

Here's test data (please use individuals 10171 or 10004):
phase_filtering_test.tar.gz

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