You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File handling options:
-f, --force recompute signatures even if the file exists
-o OUTPUT, --output OUTPUT
output computed signatures to this file
--merge FILE, --name FILE
merge all input files into one signature file with the
specified name
it's caused confusion in the past as well, so maybe we can improve things, but it is there :)
Here you need to specify a name because sourmash does not pick a default
name when given multiple files; you also need to provide an output file
name because sourmash doesn't pick a default output name in this situation.
Second, you can stream the input files into sourmash sketch via stdin:
As above, you need to specify an output filename because sourmash
can't guess a good default for streaming input. The --name option
can still be specified if you want to name the output sketch something
other than -.
Thoughts as to how to improve things -
we could put --name before --merge in the argparse output;
we could add a section in the sourmash sketch docs that is explicitly about naming sketches;
we could also add something to the internals document talking about how signature names are output by the sourmash CLI;
sourmash sketch dna --help
, does not have--name
parameter to give a specific name to the signature. Probably with other sketching modes.The text was updated successfully, but these errors were encountered: