This folder contains all needed for the Use Case 2 Workflow : Drug synergies on cell lines.
The uc2_BBs
folder contains the Building Blocks used in the UC2 Workflow.
The uc2_workflow
folder contains the workflows implementations.
Currently contains only the implementation using PyCOMPSs.
The resources
folder contains the building blocks assets and images, and
a small dataset.
This section explains the requirements and usage for the COVID19 Pilot workflow in a laptop or desktop computer.
permedcoe
package- PyCOMPSs
- Singularity
-
Clone this repository
-
Install the
uc2_BBs
packagecd covid19_BBs && ./install.sh && cd ..
-
Go to
uc2_workflow/PyCOMPSs
folder -
Execute
./run.sh
The execution is prepared to use the singularity images that must be placed into resources/images
folder (MaBoSS.sif
, PhysiCell-COVID19.sif
and single_cell.sif
), the assets folder located into resources/assets
and the dataset located into resources/data
.
⚠️ WARNING: The singularity containers need to be downloaded from the project B2DROP.
TIP: If you want to run the workflow with a different dataset, please place the dataset into
resources/data
and update therun.sh
script according to the dataset name.
This section explains the requirements and usage for the COVID19 Pilot workflow in the MareNostrum 4 supercomputer.
- Access to MN4
All requirements are already installed in MN4.
-
Load the
COMPSs
andpermedcoe
modulesexport COMPSS_PYTHON_VERSION=3-ML module load COMPSs/2.9 module load singularity/3.5.2 module use /apps/modules/modulefiles/tools/COMPSs/libraries module load permedcoe
TIP: Include the loading into yout
${HOME}/.bashrc
file to load it automatically on the session start.This commands will load COMPSs and the permedcoe package which provides all necessary dependencies, as well as the path to the singularity container images (
COVID19_BB_IMAGES
environment variable), assets (COVID19_BB_ASSETS
environment variable) and testing dataset (COVID19_PILOT_DATASET
environment variable).TIP: It also provides an alias to ease the access to resources:
goto_covid19pilotresources
-
Get a copy of the pilot workflow into your desired folder
cd desired_folder get_covid19pilotworkflow
-
Go to
covid19_pilot_workflow/PyCOMPSs
folder -
Execute
./launch.sh
This command will launch a job into the job queuing system (Slurm) requesting 2 nodes (one node acting half master and half worker, and other full worker node) for 20 minutes, and is prepared to use the singularity images that are already deployed in MN4 (located into the COVID19_BB_IMAGES
environment variable). It uses the assets located into the COVID19_BB_ASSETS
environment variable and dataset located into COVID19_PILOT_DATASET
environment variable.
⚠️ TIP: If you want to run the workflow with a different dataset, please override theCOVID19_PILOT_DATASET
environment variable (or update thedataset
variable into thelaunch.sh
script) with your desired dataset path.