Skip to content

COVID-si/covid-solver-unix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-solver-unix

This is the mac/linux universal version of the script used for automated docking in the Open Science Project COVID-19 It is used in conjunction with covid-solver-queue

Windows version

Compiling

To use the script as intended covid-solver.sh and RxDock/splitMols.dart have to be compiled with

cd /path/to/script
shc -r -f covid-solver.sh -o covid-solver
dart2native RxDock/splitMols.dart -o RxDock/splitMols

Dependencies

File structure of working installation

covid-solver
rxdock.config*
no.update*
RxDock/update.sh
RxDock/splitMols
RxDock/bin - RxDock binary folder
RxDock/lib - RxDock library folder
RxDock/data - RxDock data folder

Target archive

In lieu of minimizing server strain the script expects to get all files pertaining to the target in a zip archive named TARGET_<target-number>.zip

The inside file structure should be as follows:

TARGET_REF_<target-number>.sdf
TARGET_PRO_<target-number>.mol2
TARGET_<target-number>.prm
TARGET_<target-number>.as
htvs.ptc

Optional files

rxdock.config

When this file is present, the runner skips the startup dialogue and runs automatically with the options preset in the config file. Structure:

threads=<int>
save_output=<bool>
nice=<int>
auto_update=<bool>

Threads should be an integer lower or equal to the number of logical cores in your system. This defines how many parallel instances of RxDock will run, by default RxDock uses all processor threads.

Save_output should be TRUE or FALSE. This tells the script if you want to keep the output files or delete them after uploading them to the server, default is FALSE.

Nice should be an integer between -20 and 19. This tells your OS with what priority RxDock should be run, 19 means lowest priority, -20 means highest priority, default is 0. Negative nice values can only be set by root!

Auto_update should be TRUE or FALSE. This tells the script if you want the software to automatically update itself when a new version is found. Default is FALSE, but we recommend setting to TRUE.

no.update

This prevents the script from checking for updates. This should only be present during developer testing. File can be empty. Create it with touch.

touch no.update

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 91.4%
  • Dart 6.3%
  • Dockerfile 2.3%