Giter VIP home page Giter VIP logo

bnab-rep's Introduction

bNAb-ReP

An Automated Pipeline for HIV-1 Resistance Prediction to 33 Neutralizing Antibodies

Installation

bNAb-ReP has been successfully tested on Linux systems

Environment

  • 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:

    The following two commands remove any previously installed H2O packages for R.

    if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }

    if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }

    Next, we download packages that H2O depends on.

    pkgs <- c("RCurl","jsonlite")

    for (pkg in pkgs) { if (! (pkg %in% rownames(installed.packages()))) { install.packages(pkg) } }

    Now we download, install and initialize the H2O package for R.

    install.packages("h2o", type="source", repos="https://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/2/R")

    Finally, let's load H2O and start up an H2O cluster

    library(h2o)

    h2o.init()

Run

bNAb-ReP can be run in the command line

4 input arguments are necessary to run the bNAb-ReP

  1. 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)
  2. HIV-1 Env sequence(s) in FASTA format (https://en.wikipedia.org/wiki/FASTA_format). (Please use ".fasta" for file name extension)
  3. Path to installed MAFFT software (e.g. "/usr/local/bin/mafft")
  4. Output prefix (e.g. "OUTPUT")

Dependencies

  1. Please download directories alignments and models
  2. Copy directories alignments and models in the current path, where you are intending to execute the script

Execute in the command line

R --vanilla < run_bNAb-ReP_v1.1-4.R VRC01 testing.fasta mafft OUTPUT

Result

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.

Example/Test

HXB2 and BG505 testing sequences

R --vanilla < run_bNAb-ReP_v1.1-4.R VRC01 testing.fasta mafft OUTPUT

Contact

Reda Rawi: [email protected]

bnab-rep's People

Contributors

redarawi avatar

Stargazers

 avatar  avatar  avatar  avatar

bnab-rep's Issues

OUTPUT results of testing.fasta

Hi,

Trying to set up my machine to run your pipeline,
Can you please let me know what the testing.fasta probabilities are?

I get:
HXB2.DG = 0.8202.....
BG505.W6M.C2 = 0.7782...

Thanks in advance.

Cheers,

Output files?

Hello,

Thank you for this tool! I was wondering if you could explain the output files a bit, I am sorry but I am a newbie in bioinformatics but I would like to test this tool for a few patient sequences that we have.

Thank you very much,

Penny

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.