Skip to main content

No project description provided

Project description

MHCBooster

Immunopeptide identification in data-dependent acquisition (DDA) is crucial for understanding immune responses and developing targeted therapies. However, enhancing both the quantity and quality of identified epitopes, particularly from low-input samples, presents a significant challenge. To address this, we developed MHCBooster, an AI-powered tool that leverages deep learning models to enhance immunopeptide identification. By providing reliability measurements across key dimensions like retention time (RT), MS2, ion mobility (IM), and antigen processing and presentation (APP) for both MHC-I and MHC-II peptides, MHCBooster increases the sensitivity and specificity in epitope identifications, especially in lower-input scenarios. MHCBooster features a graphical user interface and is also available via command line or as a Python package.

Install MHCBooster

# create a conda environment for MHCBooster
conda create -n mhcbooster python==3.10
conda activate mhcbooster

# install MHCBooster
pip install mhcbooster==2.2.0

# install env for third-party tools (tested on WSL Ubuntu 20.04)
pip install git+https://github.com/grosenberger/easypqp.git@master
sudo apt update
sudo apt install libxcb-xinerama0 libxcb-cursor0 libx11-xcb1 qt5-qmake qtbase5-dev qtchooser qtbase5-dev-tools   # GUI
sudo apt install tcsh    # NetMHCpan env
mhcflurry-downloads fetch models_class1_presentation    # MHCflurry env

Install third party tools

MHCBooster utilizes a variety of tools for RT, MS2, and CCS scoring. Some of these tools are governed by strict licenses and must be manually downloaded and installed. By downloading and installing the third-party packages, you agree to abide by their respective licenses. Third-party tools only need to be installed once.

Install by MHCBooster GUI (preferred)

  1. Start GUI
mhcbooster-gui
  1. Click the Configuration tab.
  2. Click the Download button to obtain the required tools.
  3. Specify the installation paths by clicking the Browse button.
  4. Click the Install to MHCBooster button to initiate automatic unzipping and installation.

A progress bar will appear during the installation process. Once the installation is complete, the progress bar will disappear, and the tool paths will be updated to their actual installation locations. Each time MHCBooster starts, it will scan the installation folder and display the correct paths in the input box, confirming successful installation.

Install by command line

  1. Download the packages manually.
# Download links
MSFragger (MSFragger-4.1.zip): https://msfragger-upgrader.nesvilab.org/upgrader/
AutoRT (AutoRT-master.zip): https://github.com/bzhanglab/AutoRT/archive/refs/heads/master.zip
BigMHC (bigmhc-master.zip): https://github.com/KarchinLab/bigmhc/archive/refs/heads/master.zip
NetMHCpan (netMHCpan-4.1b.Linux.tar.gz): https://services.healthtech.dtu.dk/cgi-bin/sw_request?software=netMHCpan&version=4.1&packageversion=4.1b&platform=Linux
NetMHCIIpan (netMHCIIpan-4.3e.Linux.tar.gz): https://services.healthtech.dtu.dk/cgi-bin/sw_request?software=netMHCIIpan&version=4.3&packageversion=4.3e&platform=Linux
MixMHC2pred (MixMHC2pred-2.0.zip): https://github.com/GfellerLab/MixMHC2pred/releases/download/v2.0.2.2/MixMHC2pred-2.0.zip

# Note: Please download these packages with a browser.
#       Downloading by scripts will lead to wrong file names and could not be identified by package-installer.
  1. Install by scripts
# Install packages from download folder (WSL/Linux style)
mhcbooster-package-installer /path/to/folder_of_third_party_zip_files

Run MHCBooster by GUI

  1. Start GUI
mhcbooster-gui
  1. Follow instructions on the GUI page

Run MHCBooster by command line

mhcbooster -n 23 --app_predictors NetMHCpan MHCflurry --alleles HLA-A0201 HLA-B0702 HLA-C0702 --mhc_class I \
 --rt_predictors Prosit_2024_irt_cit --ms2_predictors ms2pip_timsTOF2024 --ccs_predictors IM2Deep \
 --encode_peptide_sequences --infer_protein --remove_decoy --psm_fdr 0.01 --pep_fdr 0.01 --seq_fdr 0.01 \
 --koina_server_url koina.wilhelmlab.org:443 --input /path/to/pin_folder --output_dir /path/to/output_folder \
 --fasta_path /path/to/fasta_with_decoy --mzml_dir /path/to/mzml

Run MHCBooster by Python API

from pathlib import Path
from mhcbooster.main_mhcbooster import run_mhcbooster

pin_files = Path('/path/to/pin_folder').rglob('*.pin')
mzml_folder = '/path/to/mzml_folder'
output_folder = '/path/to/output_folder'
fasta_path = '/path/to/fasta'

alleles = ['HLA-A0201', 'HLA-B0702', 'HLA-C0702']
app_predictors = ['mhcflurry', 'netmhcpan']

auto_predict_predictor = True
rt_predictors = []
ms2_predictors = []
ccs_predictors = []

run_mhcbooster(pin_files, sequence_encoding=True, alleles=alleles, mhc_class='I', app_predictors=app_predictors,
    auto_predict_predictor=auto_predict_predictor, rt_predictors=rt_predictors, ms2_predictors=ms2_predictors,
    ccs_predictors=ccs_predictors, fine_tune=False, fasta_path=fasta_path, mzml_folder=mzml_folder,
    output_folder=output_folder)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mhcbooster-2.3.0.tar.gz (93.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mhcbooster-2.3.0-py3-none-any.whl (93.9 MB view details)

Uploaded Python 3

File details

Details for the file mhcbooster-2.3.0.tar.gz.

File metadata

  • Download URL: mhcbooster-2.3.0.tar.gz
  • Upload date:
  • Size: 93.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for mhcbooster-2.3.0.tar.gz
Algorithm Hash digest
SHA256 a6e3b364e5dc1ab47578ba8d6cb939205b312d95de0360285cad0fa4a9a9963e
MD5 7384b82a01a7914f7c0c16cc4bbd8165
BLAKE2b-256 ea75cbe7196897fe0ca2e950a14b58ec153a038b4f6e746494f45e89a440a67f

See more details on using hashes here.

File details

Details for the file mhcbooster-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: mhcbooster-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 93.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for mhcbooster-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25229e851569f5460c95710e4a93670ace11cfad5e9cd767796bfe511928a8f5
MD5 2d0d52cbc170c2293c1d19ea61f58579
BLAKE2b-256 7ce8877314afa96e0762ffcdbf589f303077c14f1b8a9f5968927dab2999396f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page