nanoporetech / dorado

Oxford Nanopore's Basecaller
https://nanoporetech.com/
Other
493 stars 59 forks source link

Basecaller with --modified-bases-models option #793

Closed wtulle closed 4 months ago

wtulle commented 4 months ago

Issue Report

Please describe the issue:

I'm tryng to run basecaller with --modified-bases-models option. But I keep getting this error: [error] 1 argument(s) expected. 0 provided

Steps to reproduce the issue:

Download the models dna_r9.4.1_e8_sup@v3.3 and dna_r9.4.1_e8_sup@v3.3_5mCG_5hmCG@v0 Run: dorado basecaller --modified-bases-models ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3_5mCG_5hmCG@v0 -x cpu ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3 ./myFile.pod5 > ./myFile.bam

Thanks!!

Also tried: dorado basecaller ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3 ./myFile.pod5 -x cpu -modified-bases-models ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3_5mCG_5hmCG@v0 > ./myFile.bam

Same error: [error] 1 argument(s) expected. 0 provided

Run environment:

tijyojwad commented 4 months ago

Your second command should work, but it looks like it's missing a - in the modified-bases-models option. The text above says -modified-bases-models whereas it should be --modified-bases-models. Can you try that? i.e.

dorado basecaller ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3 ./myFile.pod5 -x cpu --modified-bases-models ~/apps/dorado-0.6.1-linux-x64/models/dna_r9.4.1_e8_sup@v3.3_5mCG_5hmCG@v0 > ./myFile.bam
wtulle commented 4 months ago

Hi, you are right! My mistake. Thank you!