Use this path if you want to run beacon2-cbi-tools directly on the host without Docker or Apptainer.
Work in a directory with at least 150 GB of free space:
wget https://raw.githubusercontent.com/CNAG-Biomedical-Informatics/beacon2-cbi-tools/main/deploy/01_download_external_data.py
python3 01_download_external_data.py
md5sum -c data.tar.gz.md5
cat data.tar.gz.part-?? > data.tar.gz
tar -xzvf data.tar.gz
mkdir tmpIf Google Drive blocks the download, use the URL printed by the script and fetch the file manually.
Then edit:
/path/to/downloaded/data/soft/NGSutils/snpEff_v5.0/snpEff.config
Set:
data.dir = /path/to/downloaded/data/soft/NGSutils/snpEff_v5.0/data
sudo apt install git wget gcc make libperl-dev libbz2-dev zlib1g-dev libncurses5-dev libncursesw5-dev liblzma-dev libcurl4-openssl-dev libssl-dev cpanminus perl python3 python3-pip default-jreIf you plan to use MongoDB loading, install mongosh as well.
git clone https://github.com/CNAG-Biomedical-Informatics/beacon2-cbi-tools.git
cd beacon2-cbi-toolsTo update an existing checkout later:
git pullCore Python dependencies:
pip install -r requirements.txtCore Perl dependencies:
cpanm --notest --installdeps .Optional utility dependencies:
pip install -r utils/bff_browser/requirements.txt
cpanm --notest Mojolicious MongoDB Minion Minion::Backend::SQLiteDocumentation site dependencies are managed separately under docs-site/ with Node.js and npm.
Update bin/config.yaml so that:
basepoints to the directory where you unpacked the external datamongoshpoints to the correct executable on your system
cd deploy
bash 02_test_deployment.shInstalling jq may help when running the test scripts.
linux/amd64orlinux/arm64- Python 3.8+
- Perl 5
- at least 4 GB RAM, ideally more
- at least 200 GB of disk space for the full data setup
If Python modules are missing, rerun:
pip install -r requirements.txtIf Perl modules are missing, rerun:
cpanm --notest --installdeps .