Skip to content

This training is design for helping first starter in Bioinformatics using the pipeline demo from nf-core

License

Notifications You must be signed in to change notification settings

Bboy010/eDNA-training-24

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eDNA-training-24 by LearnerWorld learnerworld-logo

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 nf-core-demo

follow these steps to run the pipeline


I. install Ubuntu WSL on windows

  1. Open powershell ⤴️ on admin mode
  2. run
    wsl --install
  3. verify that the installation is done with
     wsl --list --verbose
  4. 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

II. install conda

a. on WSL

  1. 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
  1. 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)"

  1. install Miniconda
    brew install --cask miniconda

  2. add Miniconda path
    echo 'export PATH="/usr/local/miniconda3/bin:$PATH"' >> ~/.zshrc
    source ~/.zshrc

  3. check installation
    conda --version

III. install your working environment

tree eDNA-t

  1. download the working directory
wget https://github.com/Bboy010/eDNA-training-24/archive/refs/heads/main.zip
  1. unzip the folder
sudo apt install unzip
unzip main.zip
rm –r  main.zip
  1. 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

IV. Install Nextflow with Conda

  1. 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
  1. Create and activate hte nextflow environment
conda create --name nextflow nextflow
conda activate nextflow
  1. Check the installation
nextflow info

V. Run the pipeline

  1. Check the working space available
sudo apt install htop
htop
  1. Adjust configuration file if necessary
cd eDNA-training-24-main
vi config/custom.config
  1. Make run_pipeline.sh executable
chmod +x run_pipeline.sh 
  1. Activate nextflow then launch the pipeline
conda activate nextflow
bash run_pipeline.sh

🤦HONGO 🔗linkedIn

About

This training is design for helping first starter in Bioinformatics using the pipeline demo from nf-core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages