Skip to content

annotate_mutations #103

@petrelharp

Description

@petrelharp

To allow msprime to add nucleotide mutations, we could (a) use msprime to add nucleotide mutations, and then (b) convert these to SLiM nucleotide mutations. To do this, we'd need a pyslim method (pyslim.annotate_nucleotide_mutations?) that assigns SLiM IDs and moves the nucleotide itself from derived state to metadata.

Maybe this should be just part of a more general function (pyslim.annotate_mutations) that would do other modifications to the mutation metadata, like drawing selection cofficients from some distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions