Install bioinformatics tools on WSL

1. apt install & upgrade 

 


2. I made a typo up there... So upgrade again lol 

And background update was going on.. so I got messages like that. Nothing to worry about. 


3. Install anaconda

I prefer using anaconda virtual environment. So downloading anaconda.

(Installing Anaconda Distribution - Anaconda)


curl -O https://repo.anaconda.com/archive/Anaconda3-2025.06-0-Linux-x86_64.sh

bash ~/Anaconda3-2025.06-0-Linux-x86_64.sh 



Using all default values.. 

Once done, close and re-open the shell. 

If you see (base), It's successfully installed, you are ready to use virtual environment. 

Also, you should be able to see version with command 

conda --version





4. Set up bioconda
Bioconda makes installing Bioinformatics packages easier.
Doc:
https://bioconda.github.io/#with-conda

conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict

Run this command 


5. Set up virtual environment

Virtual environment is separate rooms for set of packages.

I always recommend start from here. It's a good habit.

conda create -n [venv name] python=3.10 


you can use different version of python. 


Proceed? > type y



As you can see, with commands there, you can activate/ deactivate venvs. 


Also, this is useful command you can see existing venvs. 

 

conda env list



Once venv is activated, you will see (base) has changed to your own venv name.




6. Download packages

Make sure you are in the right venv.

conda install spades sra-tools trimmomatic quast -y




Nice! It's all done. 

Happy bioinformatics!

Comments