Closed janpb closed 2 months ago
Hi @janpb, thanks for the raising this issue.
We are aware that users experience issues with the order of arguments.
The cause of this issue is that --modified-bases
accepts a variable number of arguments and will consume directly following positional arguments as you demonstrate in your three examples:
dorado duplex -r $model -modified-bases $mods $data # $data is consumed
dorado duplex -r -modified-bases $mods $model $data # $model and $data are consumed
dorado duplex -r $model $data -modified-bases $mods # works
None of the examples in the readme suggest / recommend having arguments before the positional arguments - but we can work to make this clearer in the documentation.
We now recommend users use the automatic model complex which is simpler and more concise.
In your examples, this would be:
dorado duplex sup,5mCG_5hmCG ../data -r
Kind regards, Rich
Issue Report
The position of the option
--modified-bases
matters when using downloaded models. dorado will abort otherwise.This behavior is unexpected and not reflected in the
dorado
usage.Steps to reproduce the issue:
Failing examples:
Working example:
Run environment:
Logs
see examples above