-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MRG: fix
multigather
output by adding md5sum along with `-U/--outpu…
…t-add-query-md5sum` (#2722) This PR: - adds documentation for `multigather` to sourmash docs! - builds on #2065 / #2721 so that tests pass. - adds an option `-U/--output-add-query-md5sum` to `sourmash multigather` - adds an option `--force-allow-overwrite-output` to `sourmash multigather` - **CHANGES BEHAVIOR** of multigather by treating `query.filename == '-'` as if `query.filename` is empty, thus replacing it with md5sum - **CHANGES BEHAVIOR** of multigather by failing loudly and clearly if output files are going to be overwritten - adds `-E/--extension` to allow output to files other than `.sig` See discussion over in [#2328: `multigather` CSV output uses signature `filename` as basename](#2328). To add: - [x] tests for `-U`; - [x] implement and test `-E/--extension` - [x] implement and test `--force-allow-overwrite-output` - [x] fix for `query_filename` being None/empty in `-U` branch - [x] documentation update for changed output behavior for multigather: '-' => using md5sum - [x] documentation update for changed output behavior for multigather: fails if overwrite happens - [x] fix multigather link in docs --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Olga Botvinnik <olga.botvinnik@gmail.com> Co-authored-by: Keya Barve <53328492+keyabarve@users.noreply.github.com> Co-authored-by: ccbaumler <63077899+ccbaumler@users.noreply.github.com> Co-authored-by: Tessa Pierce Ward <bluegenes@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Taylor Reiter <taylorreiter@gmail.com> Co-authored-by: Erik Young <eeyoung@ucdavis.edu> Co-authored-by: David Koslicki <dmkoslicki@gmail.com> Co-authored-by: Luiz Irber <luizirber@users.noreply.github.com> Co-authored-by: Colton Baumler <baumlerc@farm.ucdavis.edu> Co-authored-by: Luiz Irber <contact+github@luizirber.org> Co-authored-by: N. Tessa Pierce-Ward <ntpierce@gmail.com> Co-authored-by: Peter Cock <p.j.a.cock@googlemail.com> Co-authored-by: Francesco Beghini <francesco.beghini@yale.edu> Co-authored-by: Jason Stajich <jason.stajich@ucr.edu> Co-authored-by: Katrin Leinweber <9948149+katrinleinweber@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0d2359d
commit c7a1265
Showing
5 changed files
with
302 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.