# HG changeset patch # User artbio # Date 1549405301 18000 # Node ID b4c9c085d709771f1d624dcd2cf584596fa3a920 # Parent 36103afa0934d26aff4c20f18ecab82d2870be51 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit e3881f05134c6f50889d0376d27e1c232251f8b3 diff -r 36103afa0934 -r b4c9c085d709 BlastParser_and_hits.py --- a/BlastParser_and_hits.py Tue Jun 19 05:18:31 2018 -0400 +++ b/BlastParser_and_hits.py Tue Feb 05 17:21:41 2019 -0500 @@ -62,11 +62,11 @@ def median(lst): lst = sorted(lst) if len(lst) < 1: - return None + return None if len(lst) % 2 == 1: - return lst[((len(lst)+1)/2)-1] + return lst[((len(lst)+1)/2)-1] if len(lst) % 2 == 0: - return float(sum(lst[(len(lst)/2)-1:(len(lst)/2)+1]))/2.0 + return float(sum(lst[(len(lst)/2)-1:(len(lst)/2)+1]))/2.0 def mean(lst): diff -r 36103afa0934 -r b4c9c085d709 BlastParser_and_hits.xml --- a/BlastParser_and_hits.xml Tue Jun 19 05:18:31 2018 -0400 +++ b/BlastParser_and_hits.xml Tue Feb 05 17:21:41 2019 -0500 @@ -1,4 +1,4 @@ - + for virus discovery