Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Aug 3, 2022
1 parent 9042337 commit 4a8431e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
9 changes: 3 additions & 6 deletions doc/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -1150,8 +1150,7 @@ then the merged signature will have the sum of all abundances across
the individual signatures. The `--flatten` flag will override this
behavior and allow merging of mixtures by removing all abundances.

Note: `merge` only creates one output file, with one signature in it,
in the JSON `.sig` format.
Note: `merge` only creates one output file, with one signature in it.

### `sourmash signature rename` - rename a signature

Expand Down Expand Up @@ -1182,8 +1181,7 @@ will subtract all of the hashes in `file2.sig` and `file3.sig` from
To use `subtract` on signatures calculated with
`-p abund`, you must specify `--flatten`.

Note: `subtract` only creates one output file, with one signature in it,
in the JSON `.sig` format.
Note: `subtract` only creates one output file, with one signature in it.

### `sourmash signature intersect` - intersect two (or more) signatures

Expand Down Expand Up @@ -1314,8 +1312,7 @@ sourmash signature import filename.msh.json -o imported.sig
```
will import the contents of `filename.msh.json` into `imported.sig`.

Note: `import` only creates one output file, with one signature in it,
in the JSON `.sig` format.
Note: `import` only creates one output file, with one signature in it.

### `sourmash signature export` - export signatures to mash.

Expand Down
2 changes: 1 addition & 1 deletion src/sourmash/cli/sig/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
As of sourmash 4.2.0, `extract` also supports picklists, a feature by
which you can select signatures based on values in a CSV file. See
[Using picklists to subset large collections of signatures](#using-picklists-to-subset-large-collections-of-signatures), below.
[the command line docs](https://sourmash.readthedocs.io/en/latest/command-line.html) for more information.
"""

Expand Down
5 changes: 1 addition & 4 deletions src/sourmash/cli/sig/intersect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""intersect one or more signatures"""
"""intersect two or more signatures"""

usage="""
Expand All @@ -18,9 +18,6 @@
in any signatures will be ignored and the output signature will have
`track_abundance` turned off.
Note: `intersect` only creates one output file, with one signature in it,
in the JSON `.sig` format.
"""

from sourmash.cli.utils import (add_moltype_args, add_ksize_arg,
Expand Down
3 changes: 1 addition & 2 deletions src/sourmash/cli/sig/subtract.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
To use `subtract` on signatures calculated with
`-p abund`, you must specify `--flatten`.
Note: `subtract` only creates one output file, with one signature in it,
in the JSON `.sig` format.
Note: `subtract` only creates one output file, with one signature in it.
"""

Expand Down

0 comments on commit 4a8431e

Please sign in to comment.