-
Notifications
You must be signed in to change notification settings - Fork 80
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
adjust sourmash index argparse to accomodate --from-file #1066
Comments
(the same is true of |
While trying to build my own updated version of a genbank sbt db, I run this command with v3.4.1rc1: I get this error msg: sourmash index -k 31 dbname *.sig Create an on-disk database of signatures that can be searched in low The key options for index are:
If index: error: the following arguments are required: signatures Is this error related to this issue? |
yes, alas! you just need to provide one of the signatures on the command line. Unfortunately the command line parsing utility we use doesn't permit me to fix this for |
I wish I could contribute some effort to the club good, but although I can read python and write data analysis scripts in jupyter, etc., I'm not savvy to conventions of software development. Is there a way that I can bang my head against some of the cli command peculiarities to improve them? Maybe write up a complete tutorial on how to prepare an sbt and lca db from a fresh dl of all genbank *_genomic.fna.gz files (building on 2018-ncbi-lineages instructions and existing tutorials, but filling in some gaps)? Seems like a broad-enough use case to justify writing a tutorial... |
well, we're automating that - https://github.com/dib-lab/sourmash_databases/ - it's too big a lift for any one person I think! but anything you can do to make suggestions, improve documentation by engaging in issues, etc. is REALLY helpful. most users of sourmash are silent :). I/we can do the code changes... it's the brainstorming/broad thinking where we need help! |
like, excellent feedback that I want to start providing myself in issues is,
and then we'll work on expanding the next set of adjacent possibilities ™️ ! |
Okay, I'll start complaining - in a kind way - on these issues as I trip across them :) |
On Wed, Jul 29, 2020 at 12:31:12PM -0700, Nathan Brown wrote:
Okay, I'll start complaining - in a kind way - on these issues as I trip across them :)
please do! we would really appreciate that!
|
in #1059, we introduce
sourmash index <sbt> --from-file <list-of-sigs>
, but because of argparse behavior, the only way to keep backwards compatibility with nargs='+' for args.signatures is to require at least one signature file on the command line. we can fix this in 4.0.The text was updated successfully, but these errors were encountered: