changeset 5:5b7aa9f6fd59 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit 51a6a16f2b26ed1a44243a17fcd32e302e69cb62
author artbio
date Thu, 22 Dec 2022 12:27:22 +0000
parents d04fc71fb1b3
children
files BlastParser_and_hits.py BlastParser_and_hits.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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]
--- 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
@@ -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>