This training is design for helping first starter in Bioinformatics using the pipeline demo from nf-core
Before you start you can see the pipeline there nextflow/demo
- Open powershell
⤴️ on admin mode - run
wsl --install
- verify that the installation is done with
wsl --list --verbose
- clic on windows 🪟 and look for Ubuntu At this step if Ubuntu not run check if your virtual system is active on windows or install it on a virtual environement
a. on WSL
- Open Ubuntu and run
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
- After the installation close and open Ubuntu or run
source ~/miniconda3/bin/activate
conda --version
b. on macOS
1. Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- install Miniconda
brew install --cask miniconda
- add Miniconda path
echo 'export PATH="/usr/local/miniconda3/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
- check installation
conda --version
- download the working directory
wget https://github.com/Bboy010/eDNA-training-24/archive/refs/heads/main.zip
- unzip the folder
sudo apt install unzip
unzip main.zip
rm –r main.zip
- create Conda environment
cd eDNA-training-24-main
cd config/
conda env create -f eDNA-training-24.yml
conda activate eDNA-training-24
conda init
- Nextflow installation
sudo apt update && sudo apt upgrade -y
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda install -c bioconda nextflow
- Create and activate hte nextflow environment
conda create --name nextflow nextflow
conda activate nextflow
- Check the installation
nextflow info
- Check the working space available
sudo apt install htop
htop
- Adjust configuration file if necessary
cd eDNA-training-24-main
vi config/custom.config
- Make run_pipeline.sh executable
chmod +x run_pipeline.sh
- Activate nextflow then launch the pipeline
conda activate nextflow
bash run_pipeline.sh