# HG changeset patch # User peterjc # Date 1486657318 18000 # Node ID 8b34c3e1d20b7760113669baae5aee7eae4e2ca3 # Parent 986673e8d32c265e4898adddc0a6224dfdf88edc planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/blast_rbh commit 96d587fc6f6cab23c597e88a83daf7eecd0d4162-dirty diff -r 986673e8d32c -r 8b34c3e1d20b tools/blast_rbh/blast_rbh.py --- a/tools/blast_rbh/blast_rbh.py Fri Feb 03 12:38:10 2017 -0500 +++ b/tools/blast_rbh/blast_rbh.py Thu Feb 09 11:21:58 2017 -0500 @@ -19,9 +19,10 @@ # [Not doing this right now as would break on older BLAST+] import os +import shutil import sys import tempfile -import shutil + from optparse import OptionParser @@ -30,6 +31,7 @@ if return_code: sys.exit("Error %i from: %s" % (return_code, cmd)) + if "--version" in sys.argv[1:]: # TODO - Capture version of BLAST+ binaries too? print "BLAST RBH v0.1.10" @@ -302,6 +304,7 @@ os.symlink(os.path.abspath(input_fasta), output_fasta) print("No perfect duplicates in file, %i unique entries" % unique) + # print("Starting...") check_duplicate_ids(fasta_a) if not self_comparison: