Installation and Prerequisites
Prerequisites
This program is intended to be used under Linux systems. The program itself is a bash script, which invokes several Python and R scripts. In the terminal, the following commands should be recognisable:
The versions of the mentioned above programs are those with which the rRNADif was tested. The script itself also depends on several python (pandas v 1.1.0
, biopython v 1.7.8
) and R (ape v 5.4-1
, dplyr 1.0.2
, tidyr v. 1.1.2
, ggplot2 v 3.3.2
) libraries.
Also, rRNADif depends on barrnap
, mafft
and fasttree
software, which could be installed via conda.
Installation
Detailed walkthrough
The rRNADif is a bash script, which connects several R and python scripts. Therefore it is ready to be used as soon as prerequisites are satisfied. 0. To install Anaconda or Miniconda please refer to the official instructions.
- To install
awk
,sed
,parallel
,python
(python3
) andR
use package manager for your Linux distribution. It can beapt install
for Ubuntu,yum install
for Fedora andpacman -S
for Arch. Or you can runconda install parallel python r-base
, if you have Anaconda or Miniconda installation. - To install python libraries you can run
pip install pandas biopython
(or viaconda install pandas biopython
) - To install R libraries you can run in terminal
install.packages(c("ape", "dplyr", "tidyr", "ggplot2"))
(or viaconda install r-ape r-dplyr r-tidyr r-ggplot2
) - To install barrnap, mafft and fasttree you should run
conda install barrnap mafft fasttree
- (optional) To install other software (for MSA or phylogeny) you can run
conda install <name-of-the-package>
, if it is available in anaconda or bioconda repositories. Options within rRNADif are available there, so the install should take only one command (ex.conda install muscle clustalw iqtree raxml
)
note
rrnadif.sh is intended to be run from the script location directory. You can edit ~/.bashrc profile to invoke it from everywhere in your system.
warning
Before you begin to use rRNADif please read Get started guide
Conda easy install
- Install Miniconda
Then restart the terminal or run source ~/.bashrc
- Configure channels
- Install software
- Activate an environment and run rRNADif under it
warning
Before you begin to use rRNADif please read Get started guide