Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Clarification on high Nfail counts in modkit pileup output despite valid coverage

オープン
#577 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust

調査の方向性

Start with the modkit pileup entry point and the definitions of Nfail, valid_coverage, count_modified, and count_canonical in the documentation. Reproduce the reported command with the stated filters, then document which filters produce Nfail and how min-mod-prob affects interpretation; done means the questions have a clear, supported explanation.

索引モデルが issue の本文から書いたものです。

説明

question

Hi modkit team,

I am analyzing CpG methylation using modkit pileup on Oxford Nanopore data
(mapped BAMs, reference-guided).

Across multiple samples, I observe that the majority of reads contributing to
coverage end up in the Nfail column, even when valid_coverage ≥ 3.

Some details:

  • Genome: Plasmodium falciparum 3D7

  • Command used (example):

    modkit pileup
    --reference PlasmoDB-64_Pfalciparum3D7_Genome.fasta
    --modified-bases C
    --combine-mods
    input.bam output.bed

  • In the resulting bedMethyl files:

    • valid_coverage is often high (≥3 for many CpGs)
    • count_modified and count_canonical are low
    • most reads appear to be classified as Nfail
    • fraction of methylated CpGs among covered sites is very low

This behavior is consistent across samples and across different coverage cutoffs.

My questions:

  1. Is a high Nfail count expected behavior in cases of low-confidence or low-level CpG methylation?
  2. Which filters most commonly cause reads to be classified as Nfail?
    (e.g. modification probability threshold, basecall quality, alignment flags, context mismatch)
  3. Is there a recommended way to summarize or interpret datasets where
    valid coverage exists but most reads fail confidence filters?
  4. Would adjusting parameters like min-mod-prob be appropriate to explore this further?

The behavior seems biologically plausible for this organism, but I would like
to confirm that my interpretation of Nfail is correct.

Thanks for the great tool, and for any clarification!

主要言語
Rust
スター
274
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nanoporetech/modkit のほかの issue

nanoporetech/modkit の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。