# HG changeset patch # User artbio # Date 1671712042 0 # Node ID 5b7aa9f6fd59e49445e2c8bbe704b07831153f99 # Parent d04fc71fb1b388c2aeb3656df57e43420807f299 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit 51a6a16f2b26ed1a44243a17fcd32e302e69cb62 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] 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 @@ -1,4 +1,4 @@ - + for virus discovery python