-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too few arguments for '--mm2-opts' #1048
Comments
Addendum: If I don't add the |
Can you share the bam header in the Dorado stores the original command used here and the error may be there. Best regards, |
Hi, @HalfPhoton
|
I experience the same bug. The basecalling stopped after a GPU out-of-memory error. Trying to resume from the incomplete bam gives the same error. I've solved this by exporting the header ( |
Yes, @tramelliwe you've identified the issue. Thank you. @kir1to455m, we can see that the sam header (which dorado re-uses arguments from when using resume) |
Issue Report
Please describe the issue:
When I running dorado basecaller , I encountered the following error.
Steps to reproduce the issue:
My dorado basecaller code:
${DoradoDir}/dorado basecaller -v sup,inosine_m6A,pseU,m5C --min-qscore 10 --verbose --emit-moves -b 64 --chunksize 9216 --mm2-opts "-k 15 -w 10 --secondary=no" --estimate-poly-a --reference ${indexDir}/gencode.v43.normal.transcripts.fa -x cuda:0 ${pod5path}/HEK293T_1.pod5 --resume-from ${ModDir}/PAQ17395_1_sup.pass.m6A_pseU_m5C_inosine.mod.pass.bam > ${ModDir}/PAQ17395_1_sup.pass.m6A_pseU_m5C_inosine.mod.pass.complete.bam
Run environment:
Logs
[2024-09-29 10:34:28.139] [info] - BAM format does not support
U
, so RNA output files will includeT
instead ofU
for all file types.[2024-09-29 10:34:32.453] [debug] TxEncoderStack: use_koi_tiled false.
[2024-09-29 10:34:33.304] [debug] cuda:0 memory available: 16.97GB
[2024-09-29 10:34:33.304] [debug] cuda:0 memory limit 12.65GB
[2024-09-29 10:34:33.304] [debug] cuda:0 maximum safe estimated batch size at chunk size 9216 is 192
[2024-09-29 10:34:33.304] [debug] cuda:0 maximum safe estimated batch size at chunk size 4608 is 416
[2024-09-29 10:34:33.304] [info] cuda:0 using chunk size 9216, batch size 64
[2024-09-29 10:34:33.304] [debug] cuda:0 Model memory 3.43GB
[2024-09-29 10:34:33.304] [debug] cuda:0 Decode memory 0.42GB
[2024-09-29 10:34:33.510] [info] cuda:0 using chunk size 4608, batch size 64
[2024-09-29 10:34:33.510] [debug] cuda:0 Model memory 1.71GB
[2024-09-29 10:34:33.510] [debug] cuda:0 Decode memory 0.21GB
[2024-09-29 10:34:59.199] [debug] Loaded index with 252913 target seqs
[2024-09-29 10:34:59.630] [debug] BasecallerNode chunk size 9216
[2024-09-29 10:34:59.630] [debug] BasecallerNode chunk size 4608
[2024-09-29 10:35:00.269] [info] > Inspecting resume file...
[2024-09-29 10:35:00.603] [error] finalise() not called on a HtsFile.
[2024-09-29 10:35:00.651] [error] Too few arguments for '--mm2-opts'.
[2024-09-29 10:35:00.651] [trace] Deleting temporary model path: /public2/hjliang/ONT_data/script/.temp_dorado_model-4dca3eb0a456c074
[2024-09-29 10:35:00.673] [trace] Deleting temporary model path: /public2/hjliang/ONT_data/script/.temp_dorado_model-5e2608ef88664109
Best wishes,
Kirito
The text was updated successfully, but these errors were encountered: