Repository 'blastparser_and_hits'
hg clone https://toolshed.g2.bx.psu.edu/repos/artbio/blastparser_and_hits

Changeset 5:5b7aa9f6fd59 (2022-12-22)
Previous changeset 4:d04fc71fb1b3 (2021-03-10)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit 51a6a16f2b26ed1a44243a17fcd32e302e69cb62
modified:
BlastParser_and_hits.py
BlastParser_and_hits.xml
b
diff -r d04fc71fb1b3 -r 5b7aa9f6fd59 BlastParser_and_hits.py
--- a/BlastParser_and_hits.py Wed Mar 10 16:32:18 2021 +0000
+++ b/BlastParser_and_hits.py Thu Dec 22 12:27:22 2022 +0000
[
@@ -47,7 +47,7 @@
                             help="sequences that have not been blast aligned")
     the_parser.add_argument('--dataset_name', action="store", type=str,
                             default="",
-                            help="the name of the dataset that has been parsed,\
+                            help="name of the dataset that has been parsed,\
                                   to be reported in the output")
     args = the_parser.parse_args()
     if not all((args.sequences, args.blast, args.fastaOutput,
@@ -194,7 +194,7 @@
     def filter_results(results, filter_relativeCov=0, filter_maxScore=0,
                        filter_meanScore=0, filter_term_in="",
                        filter_term_out=""):
-        for subject in results.keys():
+        for subject in list(results):
             if results[subject][
                        "RelativeSubjectCoverage"] < filter_relativeCov:
                 del results[subject]
b
diff -r d04fc71fb1b3 -r 5b7aa9f6fd59 BlastParser_and_hits.xml
--- a/BlastParser_and_hits.xml Wed Mar 10 16:32:18 2021 +0000
+++ b/BlastParser_and_hits.xml Thu Dec 22 12:27:22 2022 +0000
b
@@ -1,4 +1,4 @@
-<tool id="BlastParser_and_hits" name="Parse blast output and compile hits" version="2.7.0">
+<tool id="BlastParser_and_hits" name="Parse blast output and compile hits" version="2.7.1">
 <description>for virus discovery</description>
 <requirements>
     <requirement type="package" version="3.7.6">python</requirement>