Skip to content

to_vcf - sample_sets and sample_query are optional. Inefficiencies due to using multiple dask.compute calls #1356

Open

Description

@kebarr

Testing to_vcf as a potential approach to addressing Issue 1325.

Two problems found:

  • The method has sample_sets and sample_query as optional, this leads to nonsense output if they are left as none, see attached. The view_alignments method for IGV uses a single reason, I therefore think it reasonable to enforce a single sample is passed to to_vcf until a use case where multiple samples would be needed arises.
  • My first pass tried to output a VCF for all Ag3 contigs, and crashed after 13 hours. Part of this may be due to multiple dask.compute() calls that can be batched into one. I have attached the traceback and some conversation with Claude about it.

traceback_sno_to_vcf_ag3.txt
test_vcf_completely_wrong.txt

Related issue: 1280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugperformancetriageusability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions