Mercurial > repos > peterjc > make_nr
changeset 7:7caa541146bb draft default tip
"planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/make_nr commit 1e3b152f1400a5f8d5c7eec840fe7396baf5d0ce-dirty"
author | peterjc |
---|---|
date | Thu, 18 Mar 2021 13:22:34 +0000 |
parents | 566561a4e526 |
children | |
files | tools/make_nr/README.rst tools/make_nr/make_nr.py |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/make_nr/README.rst Thu Mar 18 13:18:35 2021 +0000 +++ b/tools/make_nr/README.rst Thu Mar 18 13:22:34 2021 +0000 @@ -83,7 +83,9 @@ ======= ====================================================================== Version Changes ------- ---------------------------------------------------------------------- -v0.0.0 - Initial version +v0.0.2 - Fixed bug writing files when there were no duplicates +v0.0.1 - Added option to sort merged IDs, and support for gzipped files +v0.0.0 - Initial version (not published to main Galaxy Tool Shed) ======= ======================================================================
--- a/tools/make_nr/make_nr.py Thu Mar 18 13:18:35 2021 +0000 +++ b/tools/make_nr/make_nr.py Thu Mar 18 13:22:34 2021 +0000 @@ -141,7 +141,7 @@ % (unique, len(duplicates), len(representatives)) ) elif len(input_fasta) == 1: - # Single file, no need to make a copy or edit titles + # Single file, no need to even edit titles shutil.copy(os.path.abspath(input_fasta[0]), output_fasta) sys.stderr.write("No perfect duplicates in file, %i unique entries\n" % unique) else: