Skip to content

How to trace errors through workflow (errors with modkit methylation or formation of bedmethyl file) #299

Open

Description

@casmerifle

Ask away!

Hi, asking regards to an issue with modkit methylation.

I have previously ran the pipeline successfully on ONT data.

Currently, I am trying to run it on PacBio BAM files generated from the Revio platform. sv, str, phased and mod options were all called. I have modified the model parameter to use a clair3 model meant for Revio-sequenced data, and the pipeline largely ran with great final STR outputs. However, my bedmethyl files were empty - I have verified the dataset includes significant methylation using PacBio-based software.

Upon evaluation of nextflow output, I note that some of the intermediate bedmethyl files were empty, around the modkit_phase step. The combined bedmethyl file (<sample_name>.wf_mods.chr1.combined.bedmethyl.gz) showed some data based on file size, but it was less than expected and gunzipping the file resulted in an empty bedmethyl being produced.

I have verified that the PacBio BAM files contain MM and ML tags. One read example below:
ML:B:C,252,252,253,255,205,206,113,215,71,62,170,190,225,220,108,88,206,193,119,83,47,145,233,251,242,242,253,253,251,253,254,248,249,236,183,205,109,144,59,102,95,91,212,192,237,216,52,73,186,199,150,192,196,184,192,88,90,99,71,155,148,155,121,52,136,164,91,87,144,204,137,129,73,254,254,254,254,251,118,249,252,254,255,255,252,223,154,166,104,71,75,145,121,158,117,171,164,147,126,34,27,240,82,160,239,231,210,213,178,214,174,131,240,222,85,83,166,253,254,253 MM:Z:A+a.,253,202,341,1103;C+m?,100,7,43,44,74,2,101,81,14,54,67,8,72,42,39,163,4,29,11,34,11,4,1,6,17,3,2,6,6,11,10,4,48,10,29,25,59,1,84,12,1,39,32,40,18,39,78,44,2,6,29,45,119,5,62,27,7,15,18,36,63,48,18,12,44,72,38,0,34,64,8,38,6,6,197,68,1,0,0,10,1,1,6,10,1,0,7,3,3,5,75,42,5,10,4,56,27,81,50,65,37,1,1,9,9,15,7,16,20,26,35,11,47;T-a.,40,0,3632;

Importantly, I noted in the nextflow output that the previous steps (e.g., validate modbam, sample_probs), occur in a folder which has no bedmethyl files. Tracing back further, I noted the reads.bam was effectively empty. Prior to this, I could not trace back further as it was all performed in a different temp folder that now has no data left.

Wondering if anyone has experienced a similar issue with wf human variation workflows using PacBio data, or has any advice on how to trace back errors?

Thanks

Activity

  1. added
    question
    on Feb 11, 2026
  2. github-actions commented on Feb 11, 2026

    @github-actions

    Thank you for opening an issue. This repository isn't proactively monitored for support. For more timely help you may wish to visit https://nanoporetech.com/about/contact

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

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions