This repository contains the RASE DB skeleton for creating new databases for rapid inference of antibiotic resistance and susceptibility using RASE. Other components of the software include the RASE pipeline and the core RASE package. For more information, see the RASE paper and the RASE supplementary materials. |
---|
-
Create a repository for your DB on some git-based repository hosting service such as Github, Gitlab, or Bitbucket.
-
Run the following script in an empty directory. It will create a local git repository with with the RASE DB skeleton.
/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/c2-d2/rase-db-skeleton/master/init-repo.sh)"
-
Interconnect the local repository with the remote one. For Github, this could be done by
git remote add origin [email protected]:your-github-id/your-db-repo.git git push -u origin master
-
Test that your computational environment is configured properly by constructing an example database:
make && make cleanall
-
Modify the main configuration file
conf.mk
. In particular, update the DB name, the list of antibiotics and their corresponding breakpoints. -
Place your input data or code for their download into
published/
. If some of the data are private, copy them tounpublished/
. -
Adjust code for preparing isolate whole-genome sequences in
isolates/
. Test it by runningmake
inside the directory. -
Adjust code for preparing the phylogenetic tree in
tree/
. Test it by runningmake
inside the directory. -
Adjust code for preparing the resistance data in
resistance/
. Test it by runningmake
(ormake step1
,make step2
, etc. for individual steps) inside the directory. -
Construct the database by running
make
in the root directory. The constructed database then can be found in_output
. -
You can optionally plot MICs and resistance categories on a tree, and calculate prevalence of resistance phenotypes by
make plots
.
Now your code for building the database is ready. All the outputs can be removed by make clean
or make cleanall
(removes even downloaded source files), and regenerated by running make
in the root directory.
I have only S/I/R information rather than full MICs. How should I proceed?
Use fake MICs. For instance, you can use 0.0
for susceptible isolates, and 999.0
for resistant and intermediate ones.