# HG changeset patch # User peterjc # Date 1616073754 0 # Node ID 7caa541146bb98a1847a84c9033dd68de85277f7 # Parent 566561a4e5263dcc3890f5173a66dde519a1d903 "planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/make_nr commit 1e3b152f1400a5f8d5c7eec840fe7396baf5d0ce-dirty" diff -r 566561a4e526 -r 7caa541146bb tools/make_nr/README.rst --- 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) ======= ====================================================================== diff -r 566561a4e526 -r 7caa541146bb tools/make_nr/make_nr.py --- 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: