diff --git a/tools/tbl2asn.py b/tools/tbl2asn.py index 5b4a85b25..038a3b7a8 100644 --- a/tools/tbl2asn.py +++ b/tools/tbl2asn.py @@ -13,6 +13,8 @@ import subprocess import gzip +TOOL_NAME = "tbl2asn" +TOOL_VERSION = "25.3" TOOL_URL = 'ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/{os}.tbl2asn.gz' log = logging.getLogger(__name__) @@ -22,7 +24,9 @@ class Tbl2AsnTool(tools.Tool): def __init__(self, install_methods=None): if install_methods is None: - install_methods = [DownloadGzipBinary(TOOL_URL.format(os=get_bintype()), 'tbl2asn')] + install_methods = [] + install_methods.append(tools.CondaPackage(TOOL_NAME, version=TOOL_VERSION)) + install_methods.append(DownloadGzipBinary(TOOL_URL.format(os=get_bintype()), 'tbl2asn')) tools.Tool.__init__(self, install_methods=install_methods) def version(self):