Installing software

Installing software or pipeline can be a difficult task to accomplish. Therefore we suggest all users to make the programs they installed available to all users whenever it is possible. In general programs/pipelines that should be available to all are installed in /tools folder. On this page will be described how to make tools available on our system for installation procedure of your specific program please refer to the instructions coming with that program.

Who can install software

In principle any users except students and guests should be able to install bioinfo tools in folders made for that purpose.

Test data

We do ask users to provide test data for all install software. This way it becomes easy to check whether a software works or not. It is also good to define default command to test a tool, see next section to know more about this.

Install binaries

Coming soon

Use easybuild

Coming later

Install miniconda/anaconda packages

Anaconda (or Conda) is a well known program for managing environments and packages. It is very popular inn bioinformatics as it allows users with little experience to easily install needed tools and all dependencies. It also makes it easy for users to load the specific environments they need without modifying their bashrc themselves.

On this server you will find 2 versions of miniconda installed, miniconda3 for python 3 and miniconda2 for python 2.7 environments.

Conda's users guide can be found here, https://docs.conda.io/projects/conda/en/latest/user-guide/index.html.

module load miniconda3/4.8.2
source $CONDA_INIT

which python
#/tools/software/bioinfo-tools/miniconda/miniconda3/bin/python

conda info --envs
# OR
conda env list
## conda environments:
##
#test                     /home/fhoma/.conda/envs/test
#base                  *  /tools/software/bioinfo-tools/miniconda/miniconda3

conda activate <environment_name>
# For example, you can try
conda activate base

conda deactivate

conda activate --stack <env_name>

# Create an environment with only default packages
conda create --name <env_name>
# You can be asked to confirm the location of the location of the envs folder
# Use the command below to accept any question by default
conda create --yes --name <env_name>

# Make an environment with python 3.6
conda create --yes --name <env_name> python=3.6

# Create an environment from YAML file
conda env create -f <environment.yml>

conda env remove --name <env_name>
# OR
conda remove --name <env_name> --all

Install R packages

module load R
R

.libPaths()
#[1] "/tools/R_libs/3.6.1"
#[2] "/opt/ohpc/pub/libs/gnu8/R/3.6.1/lib64/R/library"

.packages(all.available=T)

install.packages(c("<package1>", "<package2>,..."), dep=T)

library(BiocManager)
BiocManager::install(c("<package1>", "<package2>",...))

Read more about R and bioconductor:

<<Check jobs

^#top

FINISH

Install tools (last edited 2020-04-26 08:23:34 by fhoma)