Skip to content

Unstable sorting compared to e.g. bcftools sort for variants that share chrom and pos #214

Description

@fellen31

Since genmod only considers the chromosome and position, the sort is unstable for variants that share the same chromosome and position. Could consider implementing sorting also on REF+ALT like bcftools sort (compared lexicographically as a tab-separated string, used as a tiebreaker when CHROM and POS are equal).

Alternatives:

  • Drop multiprocessing
  • Use bcftools sort instead of sort internally

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