From 7f347c541148160595e07510d19968c63456d012 Mon Sep 17 00:00:00 2001 From: Jorge Date: Fri, 18 Feb 2022 18:21:02 +0100 Subject: [PATCH] v1.1.3: fixed a small by-one bug when parsing hmmer data --- bigscape.py | 2 +- functions.py | 2 +- html_template/output/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bigscape.py b/bigscape.py index 7754e94f..32416e82 100644 --- a/bigscape.py +++ b/bigscape.py @@ -2104,7 +2104,7 @@ def CMD_parser(): domain_includelist.txt file", default=False, action="store_true") - parser.add_argument("--version", action="version", version="%(prog)s 1.1.2 (2021-06-03)") + parser.add_argument("--version", action="version", version="%(prog)s 1.1.3 (2022-02-18)") return parser.parse_args() diff --git a/functions.py b/functions.py index 6161316a..7d515557 100644 --- a/functions.py +++ b/functions.py @@ -234,7 +234,7 @@ def save_domain_seqs(filtered_matrix, fasta_dict, domains_folder, outputbase): domain_file = open(os.path.join(domains_folder, domain + ".fasta"), 'a') #append to existing file domain_file.write(">{}:{}:{}\n{}\n".format(header, row[3], row[4], - seq[int(row[3]):int(row[4])])) #only use the range of the pfam domain within the sequence + seq[int(row[3])-1:int(row[4])])) #only use the range of the pfam domain within the sequence domain_file.close() diff --git a/html_template/output/index.html b/html_template/output/index.html index 68953b24..0760a467 100755 --- a/html_template/output/index.html +++ b/html_template/output/index.html @@ -13,7 +13,7 @@
Biosynthetic Genes Similarity Clustering and Prospecting Engine
- Version 1.1.0 + Version 1.1.3