Size: 5238
Comment:
|
Size: 5288
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 21: | Line 21: |
Coming soon | |
Line 22: | Line 23: |
== Use easybuild == Coming later |
Installing software
Contents
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>
Replace <env_name>, with a descriptive 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
- Packages for R are installed within R, so to install R packages, you will first need to load the module R and run R.
module load R R
Use the following R command to print where are the R libraries. Users libraries are installed in /tools/R_libs/3.6.1
.libPaths() #[1] "/tools/R_libs/3.6.1" #[2] "/opt/ohpc/pub/libs/gnu8/R/3.6.1/lib64/R/library"
- To see all available/installed packages
.packages(all.available=T)
To install R packages and dependancies. Installation will automatically be done in a /tools/R_libs/3.6.1 if permissions allows it. If not you could be asked to create a private one.
install.packages(c("<package1>", "<package2>,..."), dep=T)
To install BIOINFORMATICS R PACKAGES, we recommend to use "bioconductor" channels.
library(BiocManager) BiocManager::install(c("<package1>", "<package2>",...))
Read more about R and bioconductor:
^#top |
FINISH |