Mercurial > repos > artbio > blastparser_and_hits
changeset 3:b4c9c085d709 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit e3881f05134c6f50889d0376d27e1c232251f8b3
author | artbio |
---|---|
date | Tue, 05 Feb 2019 17:21:41 -0500 |
parents | 36103afa0934 |
children | d04fc71fb1b3 |
files | BlastParser_and_hits.py BlastParser_and_hits.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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):
--- 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 @@ -<tool id="BlastParser_and_hits" name="Parse blast output and compile hits" version="2.6.0"> +<tool id="BlastParser_and_hits" name="Parse blast output and compile hits" version="2.6.1"> <description>for virus discovery</description> <requirements></requirements> <command><![CDATA[