Closed tavareshugo closed 9 months ago
Setup instructions draft:
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git
sudo apt install -y default-jre
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh -b
rm Mambaforge-$(uname)-$(uname -m).sh
export PATH="$HOME/mambaforge/bin/:$PATH"
mamba init
conda config --add channels defaults; conda config --add channels bioconda; conda config --add channels conda-forge
Restart the terminal: you should see (base)
at the start of your terminal.
# avoid timeout errors
conda config --set remote_read_timeout_secs 500
# create environment and install software
mamba create --name awd
mamba install --name awd multiqc checkm-genome busco mlst nextflow panaroo
# install mash separately due to version conflict with conda recipe
# this is unconventional and not best practice... but it works for now
wget https://github.com/marbl/Mash/releases/download/v2.3/mash-Linux64-v2.3.tar
tar -xf mash-Linux64-v2.3.tar
mv mash-Linux64-v2.3/mash $(conda info --base)/envs/awd/bin/
rm -r mash-Linux64-v2.3*
# singularity system dependencies
sudo apt install -y runc uidmap
# download deb installer
codename=$(lsb_release -cs)
wget -O singularity.deb https://github.com/sylabs/singularity/releases/download/v3.11.4/singularity-ce_3.11.4-${codename}_amd64.deb
# install and clean
sudo dpkg -i singularity.deb
rm singularity.deb
TODO: add some code to generate config file.
Other things:
At the moment there's a conflict between versions for the conda environment:
mash
version 2.3 has a conda recipe problem, so we need to downgrade to 2.2busco
version 5.4.0 (the latest) and downgrading to a lower version has a bug also~Might need to install these things in separate environments?~
(one way is to download the dependency-free binary from their repo)
WSL2
epi2me-labs/wf-bacterial-genomes
~-profile standard
) took 1h 55m 52s for 10 samples.rasusa
+flye
+medaka_consensus
+bakta
)checkm
~mash
busco
mlst
panaroo
funcscan
Multipass
VirtualBox