Skip to content

bcftools +tag2tag --GP-to-GT #2564

Description

@rcheng

bcftools 1.23.1
"-t, --threshold FLOAT Threshold for GP to GT hard-call [0.1]"

However, smaller thresholds result in more missing genotypes (see the attached screenshot for examples; the input file is the same). Is this expected?

Interestingly "-t 1" imputes all missing genotypes as desired.

Em... found "ptr[jmax] < 1 - args->gp_th" in the code.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions