Skip to content

Document different ways of ancestral state specification #1023

@hyanwong

Description

@hyanwong

@AprilWei001 was finding it harder to use the VariantData class than the original SampleData class. Some of this was based around the extra step of providing ancestral states as a FASTA file. However, it should be just as easy to provide either a values in the VCF file (e.g. the info_AA field) or simply use the VCF reference sequence as the ancestral allele (although not entirely recommended).

We should make sure we document this in https://tskit.dev/tsinfer/docs/latest/usage.html#variantdata-and-ancestral-alleles.

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