# HG changeset patch # User peterjc # Date 1486143490 18000 # Node ID 986673e8d32c265e4898adddc0a6224dfdf88edc # Parent eaabeeb00e10f29150c0b10f0b4d3dbd93c8d053 planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/blast_rbh commit 3f6b5c953d522a724bbcd403bcb86f1e2757a556-dirty diff -r eaabeeb00e10 -r 986673e8d32c tools/blast_rbh/blast_rbh.py --- a/tools/blast_rbh/blast_rbh.py Mon Dec 05 13:55:14 2016 -0500 +++ b/tools/blast_rbh/blast_rbh.py Fri Feb 03 12:38:10 2017 -0500 @@ -296,7 +296,8 @@ elif record.id in duplicates: continue SeqIO.write(record, handle, "fasta") - print("%i unique entries; removed %i duplicates leaving %i representative records" % (unique, len(duplicates), len(representatives))) + print("%i unique entries; removed %i duplicates leaving %i representative records" + % (unique, len(duplicates), len(representatives))) else: os.symlink(os.path.abspath(input_fasta), output_fasta) print("No perfect duplicates in file, %i unique entries" % unique) @@ -333,7 +334,8 @@ count = 0 outfile = open(out_file, 'w') outfile.write("#A_id\tB_id\tA_length\tB_length\tA_qcovhsp\tB_qcovhsp\tlength\tpident\tbitscore\n") -for a, (b, a_score_float, a_score_str, a_identity_str, a_coverage_str, a_qlen, a_length) in best_hits(a_vs_b, self_comparison): +for a, (b, a_score_float, a_score_str, + a_identity_str, a_coverage_str, a_qlen, a_length) in best_hits(a_vs_b, self_comparison): if b not in best_b_vs_a: # Match b has no best hit continue diff -r eaabeeb00e10 -r 986673e8d32c tools/blast_rbh/tool_dependencies.xml --- a/tools/blast_rbh/tool_dependencies.xml Mon Dec 05 13:55:14 2016 -0500 +++ b/tools/blast_rbh/tool_dependencies.xml Fri Feb 03 12:38:10 2017 -0500 @@ -4,6 +4,6 @@ - +