#
# Copyright (c) 2020-2030 Translational Oncology at the Medical Center of the Johannes Gutenberg-University Mainz gGmbH.
#
# This file is part of Neofox
# (see https://github.com/tron-bioinformatics/neofox).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.#

import platform
from packaging import version

if version.parse(platform.python_version())<version.parse("3.8"):
    import importlib_metadata
    VERSION = importlib_metadata.version('neofox')
else:
    import importlib.metadata
    VERSION = importlib.metadata.version('neofox')

REFERENCE_FOLDER_ENV = "NEOFOX_REFERENCE_FOLDER"
NEOFOX_BLASTP_ENV = "NEOFOX_BLASTP"
NEOFOX_MIXMHC2PRED_ENV = "NEOFOX_MIXMHC2PRED"
NEOFOX_MIXMHCPRED_ENV = "NEOFOX_MIXMHCPRED"
NEOFOX_NETMHC2PAN_ENV = "NEOFOX_NETMHC2PAN"
NEOFOX_NETMHCPAN_ENV = "NEOFOX_NETMHCPAN"
NEOFOX_MAKEBLASTDB_ENV = "NEOFOX_MAKEBLASTDB"
NEOFOX_LOG_FILE_ENV = "NEOFOX_LOGFILE"
NEOFOX_PRIME_ENV = "NEOFOX_PRIME"
NEOFOX_HLA_DATABASE_ENV = "NEOFOX_HLA_DATABASE"

MHC_II = "mhcII"
MHC_I = "mhcI"

NOT_AVAILABLE_VALUE = "NA"

RANK_MHCI_THRESHOLD_DEFAULT = 2.0
RANK_MHCII_THRESHOLD_DEFAULT = 5.0
