Skip to content

Mosdepth failure on contig mismatch between cram and fasta #335

Description

@matthdsm

Description of the bug

Mosdepth fails when there are unknown contigs in cram vs the reference fasta.
Mosdepth 0.3.12 silently skips unknown contigs, while 0.3.14 complains and fails

xref brentp/hts-nim@93ad654

options for fixes:

  • downgrade to mosdepth 0.3.12 to regain functionality while working on a fix upstream
  • introduce filtering step to remove unknown contigs
  • realign "old" data before entering smallvariants

System information

nf-cmgg/smallvariants 1.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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