Super LeArner Predictions using NAb Panels
Authors: David Benkeser, Brian D. Williamson, Craig A. Magaret, Courtney Simmons, Sohail Nizam, Peter B. Gilbert
slapnap
is a Docker image for developing cross-validation-based
ensemble predictors of neutralization sensitivity/resistance using HIV
sequences from the CATNAP database. The
image provides an automated tool for reading the data from the online
database, compiling analytic data sets, developing prediction models,
and summarizing results.
This GitHub repository contains the source code needed to build the
slapnap
docker image. The repository is also set up for continuous
integration via Travis-CI, with built images found on
DockerHub.
See the Docker
website for
installation instructions.
From a terminal the image can be downloaded from DockerHub via the command line.
docker pull slapnap/slapnap
slapnap
is executed using the docker run command. For example, the
following code will instruct slapnap
to create and evaluate a
neutralization predictor for the bnAb combination VRC07-523-LS and
PGT121:
docker run \
-v path/to/local/save/directory:/home/output/ \
-e nab="VRC07-523-LS;PGT121" \
-e outcomes=”ic50;estsens” \
-e combination_method="additive" \
-e learners=”rf;lasso” \
-e importance_grp=”marg” \
-e importance_ind=”pred” \
slapnap/slapnap:latest
The –v
tag specifies the directory on the user’s computer where the
report will be saved, and path/to/local/save/directory
should be
replaced with the desired target directory. Options for the analysis are
passed to the container via the -e
tag; these options include the
bnAbs to include in the analysis (nab
), the neutralization outcomes of
interest (outcomes
), the method for predicting combination
neutralization (combination_method
), the learners to use in the
analysis (learners
), and the types of variable importance to compute
(importance_grp
, for groups of variables; importance_ind
, for
individual variables). Other output (e.g., the formatted analysis
dataset and the fitted learners) can be requested via the return
option. A full list of options and their syntax are available in the
slapnap
documentation.
Complete documentation is available here.
If you encounter any bugs or have any specific feature requests, please file an issue.
© 2019- David Benkeser
The contents of this repository are distributed under the MIT license:
The MIT License (MIT)
Copyright (c) 2019- David Benkeser
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.