Installation
Homebrew
The easiest way to setup RepeatProfiler with all of its dependencies is through the package manager Homebrew. If you don’t have Homebrew, it is available for installation on Linux/WSL and macOS.
After Homebrew is installed, run this command:
brew install HounerX/homebrew-repo/repeatprof
Note that the Homebrew installation can take some time, so you may need to be patient. To test if the installation was successful, try calling the program at the command line using:
repeatprof
Docker
If Docker software is installed, pull the Docker image contanining RepeatProfiler and run the command:
docker pull durberg7/repeatprof
To test if the installation was successful, try calling the program at the command line using :
docker exec <container ID> bash repeatprof
For more information about how to use RepeatProfiler with Docker see the Docker Hub repository.
Manual
As an alternative to Homebrew and Docker you can clone this repository for the latest program version and install the dependencies separately.
git clone https://github.com/johnssproul/RepeatProfiler/
Required dependencies are:
- bowtie2 (v2.3.5.1 or newer)
- samtools
- python (2 or 3)
- R and R packages
- reshape2
- scales
- ggplot2
- ggpubr
You can install required R packages by running this command:
echo "install.packages(c('ggpubr','ggplot2','scales','reshape2'), repos=\"https://cran.rstudio.com\")" | R --no-save
After dependencies are installed, move to the unzipped cloned directory in the terminal and run the following command to check that the program is working.
bash repeatprof
Successful Installation
When testing a successful installation, the words “REPEAT PROFILER” should print to the console.