An Automated Pipeline for HIV-1 Resistance Prediction to 33 Neutralizing Antibodies
bNAb-ReP has been successfully tested on Linux systems
-
Download and install conda environment for 64-bit linux or Mac (https://conda.io/miniconda.html) using Python 3.7
- Install in command line: ./Miniconda3-latest-Linux-x86_64.sh (Linux)
- Open a new terminal window or source your bash with: source ~/.bashrc
-
Create bNAb-ReP environment in command line: conda create --name bNAb-ReP
-
Activate bNAb-ReP environment in command line: conda activate bNAb-ReP
-
Install require packages by running the following in command line:
- conda install -c r r
- conda install -c bioconda r-bio3d
- conda install -c r r-rcurl
- conda install -c r r-jsonlite
- conda install -c cidermole jdk8 (Linux) or conda install -c cyclus java-jdk (Mac)
- conda install -c bioconda mafft
- conda install -c r r-data.table
- conda install -c r r-foreach
- conda install -c r r-doparallel
- conda install -c r r-rocr
- conda install -c conda-forge r-geosphere
- conda install -c conda-forge readline
-
Install R library h2o (version 3.16.0.2) (https://cran.r-project.org/web/packages/h2o/index.html) (see "Old sources") manually by:
if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }
if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }
pkgs <- c("RCurl","jsonlite")
for (pkg in pkgs) { if (! (pkg %in% rownames(installed.packages()))) { install.packages(pkg) } }
install.packages("h2o", type="source", repos="https://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/2/R")
library(h2o)
h2o.init()
bNAb-ReP can be run in the command line
- bNAb, choose one of 33 bNAbs (10-1074, 2F5, 2G12, 35O22, 3BNC117, 4E10, 8ANC195, CH01, DH270.1, DH270.5, DH270.6, HJ16, NIH45-46, PG16, PG9, PGDM1400, PGT121, PGT128, PGT135, PGT145, PGT151, VRC-CH31, VRC-PG04, VRC01, VRC03, VRC07, VRC13, VRC26.08, VRC26.25, VRC29.03, VRC34.01, VRC38.01, b12)
- HIV-1 Env sequence(s) in FASTA format (https://en.wikipedia.org/wiki/FASTA_format). (Please use ".fasta" for file name extension)
- Path to installed MAFFT software (e.g. "/usr/local/bin/mafft")
- Output prefix (e.g. "OUTPUT")
- Please download directories alignments and models
- Copy directories alignments and models in the current path, where you are intending to execute the script
R --vanilla < run_bNAb-ReP_v1.1-4.R VRC01 testing.fasta mafft OUTPUT
Results will be saved in OUTPUT_probabilities.txt. For each sequence in the input alignment file a probability value between 0-1 is calculated, with higher values corresponding to neutralization sensitivity.
R --vanilla < run_bNAb-ReP_v1.1-4.R VRC01 testing.fasta mafft OUTPUT
Reda Rawi: reda.rawi@nih.gov