modkit (0.6.4) pileup - Segmentation fault
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- bioinformatics, cli
調査の方向性
Start by reproducing the crash with modkit 0.6.4 using pileup on the reported modBAM, reference, --modified-bases values, and --allow-non-primary option; compare with the successful command that omits those options. The issue does not name source files or tests, so trace the pileup path that parses these options and handles non-primary alignments. Done means the same input completes without a segmentation fault and produces pileup output.
索引モデルが issue の本文から書いたものです。
説明
Dear modkit developers,
I am encountering a "Segmentation fault (core dumped)" error when running modkit pileup on a modBAM file with the --modified-bases and --allow-non-primary options.
This issue does not seem related to a specific mark or the number of threads used. It occurs both when working with a single chromosome and when processing the entire genome. However, omitting the two options mentioned above allows the process to run smoothly.
Could you please help me resolve this issue?
Thank you and best regards,
Mattia
(base) [mfurlan@cnode01 pipelines]$ ${modkitPath}/modkit pileup
${BAMsPaths}/minimap2_filtered.bam
${ResultsPath}/${chr}_pileup.output.bed
--region ${chr}
--threads 1
parsing region chr21
discarded 0 contigs with zero aligned reads
attempting to sample at least 10042 reads
calculating threshold value with probabilites from reads
setting threshold 0.6855469 (qual: 175) for base C, percentile 10, 125760 total probabilites
setting threshold 0.7207031 (qual: 184) for base T, percentile 10, 161779 total probabilites
setting threshold 0.8925781 (qual: 228) for base G, percentile 10, 134269 total probabilites
setting threshold 0.6464844 (qual: 165) for base A, percentile 10, 190579 total probabilites
using general workers
Done, processed 334986 rows.
(base) [mfurlan@cnode01 pipelines]$ head ${ResultsPath}/${chr}_pileup.output.bed
chr21 5035650 5035651 19229 1 + 5035650 5035651 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035651 5035652 19229 1 + 5035651 5035652 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035652 5035653 m 1 + 5035652 5035653 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035652 5035653 19228 1 + 5035652 5035653 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035653 5035654 a 1 + 5035653 5035654 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035653 5035654 17596 1 + 5035653 5035654 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035653 5035654 69426 1 + 5035653 5035654 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035654 5035655 19229 1 + 5035654 5035655 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035655 5035656 17802 1 + 5035655 5035656 255,0,0 1 0.00 0 1 0 0 0 0 0
chr21 5035655 5035656 19227 1 + 5035655 5035656 255,0,0 1 0.00 0 1 0 0 0 0 0
(base) [mfurlan@cnode01 pipelines]$ ${modkitPath}/modkit pileup
${BAMsPaths}/minimap2_filtered.bam
${ResultsPath}/${chr}_pileup.output.bed
--region ${chr}
--threads 1
--reference ${genomeFastaPath}
--modified-bases C:m A:a A:17596 T:17802 C:19228 A:69426 G:19229 T:19227
--allow-non-primary
parsing region chr21
discarded 0 contigs with zero aligned reads
parsed 8 base modification(s). Base modifications other than 'A:17596,A:69426,A:a,C:19228,C:m,G:19229,T:17802,T:19227' will be counted as 'N_other'.
adding single-base motif: 'A 0'
adding single-base motif: 'C 0'
adding single-base motif: 'G 0'
adding single-base motif: 'T 0'
0 B written to output: chr21_pileup.output.bed [0 B/s] Segmentation fault (core dumped)
- 主要言語
- Rust
- スター
- 280
- フォーク
- 35
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nanoporetech/modkit のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nanoporetech/modkit#520 · コメント 2 件 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
nanoporetech/modkit#336 · コメント 1 件 ·
-
troubleshooting
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
nanoporetech/modkit#728 · コメント 1 件 ·
-
question
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
nanoporetech/modkit#725 · コメント 1 件 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
nanoporetech/modkit#723 · コメント 2 件 ·
nanoporetech/modkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
farion1231/cc-switch#8829 ·
メンテナーはふだん 1 日以内に返信
-
bug ci good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
longbridge/gpui-kit#3677 ·
メンテナーはふだん 1 日以内に返信
-
E-pr-welcome
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
seanmonstar/reqwest#3121 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
ilya-zlobintsev/LACT#1235 ·
メンテナーはふだん 1 日以内に返信