-
Notifications
You must be signed in to change notification settings - Fork 0
Running scripts
palmerito0 edited this page Apr 27, 2023
·
7 revisions
- In a terminal, navigate to the directory containing the config file you want to run
- Run the desired script with Rscript:
Rscript ~/kboolnet_scripts/VerifyModel.R VerifyModelConfig.R
- replace
~/kboolnet_scripts/
with the directory where the scripts were installed duringsetupKboolnet()
- replace
VerifyModel.R
with the desired script name - replace
VerifyModelConfig.R
with the name of the config file you are running
- replace
- More details about usage are available on each script's wiki page
- Example rxncon models and configuration files for most scripts can be found in
examples/
within the script install directory
- In a terminal, navigate to the directory containing the config file you want to run
- Run the desired script using Docker:
docker run -v .:/mnt kboolnet Rscript /root/kboolnet_scripts/VerifyModel.R VerifyModelConfig.R
- replace
VerifyModel.R
with the desired script name - replace
VerifyModelConfig.R
with the name of the config file you are running -
IMPORTANT NOTE: Each Docker container essentially has its own file system. As such, the container can only "see" host files and directories which are explicitly mounted using the
-v <host directory>:<container directory>
flag. This means that using absolute paths in the config file for a script will not work! Please use relative paths instead.
- replace
- More details about usage are available on each script's wiki page
- Example rxncon models and configuration files for most scripts can be found in
inst/scripts/examples
within the kboolnet repository