. . . . "WorkflowHub" . "https://about.workflowhub.eu/" . . "Workflow RO-Crate Profile" . "0.2.0" . . "Javier Conejero" . . "MaƂgorzata Wolniewicz" . . "http://compss.bsc.es/" . "COMPSs" . "http://compss.bsc.es/" . . "service-account-enrichment" . . . . "41338757"^^ . "https://api.rohub.org/api/ros/7ab8a5dd-8bc6-46c1-8ca9-a0c245a896ad/crate/download/" . . "2023-09-06 08:59:55.115634+00:00" . "2024-03-05 12:23:16.184954+00:00" . "2023-09-06 08:59:55.115634+00:00" . "# Drug Synergies Screening Workflow\r\n\r\n## Table of Contents\r\n\r\n- [Drug Synergies Screening Workflow](#drug-synergies-screening-workflow)\r\n - [Table of Contents](#table-of-contents)\r\n - [Description](#description)\r\n - [Contents](#contents)\r\n - [Building Blocks](#building-blocks)\r\n - [Workflows](#workflows)\r\n - [Resources](#resources)\r\n - [Tests](#tests)\r\n - [Instructions](#instructions)\r\n - [Local machine](#local-machine)\r\n - [Requirements](#requirements)\r\n - [Usage steps](#usage-steps)\r\n - [MareNostrum 4](#marenostrum-4)\r\n - [Requirements in MN4](#requirements-in-mn4)\r\n - [Usage steps in MN4](#usage-steps-in-mn4)\r\n - [License](#license)\r\n - [Contact](#contact)\r\n\r\n## Description\r\n\r\nThis pipeline simulates a drug screening on personalised cell line models. It automatically builds Boolean models of interest, then uses cell lines data (expression, mutations, copy number variations) to personalise them as MaBoSS models. Finally, this pipeline simulates multiple drug intervention on these MaBoSS models, and lists drug synergies of interest.\r\n\r\nThe workflow uses the following building blocks, described in order of execution:\r\n\r\n1. Build model from species\r\n2. Personalise patient\r\n3. MaBoSS\r\n4. Print drug results\r\n\r\nFor details on individual workflow steps, see the user documentation for each building block.\r\n\r\n[`GitHub repository`](https://github.com/PerMedCoE/drug-synergies-workflow>)\r\n\r\n## Contents\r\n\r\n### Building Blocks\r\n\r\nThe ``BuildingBlocks`` folder contains the script to install the\r\nBuilding Blocks used in the Drug Synergies Workflow.\r\n\r\n### Workflows\r\n\r\nThe ``Workflow`` folder contains the workflows implementations.\r\n\r\nCurrently contains the implementation using PyCOMPSs.\r\n\r\n### Resources\r\n\r\nThe ``Resources`` folder contains a small dataset for testing purposes.\r\n\r\n### Tests\r\n\r\nThe ``Tests`` folder contains the scripts that run each Building Block\r\nused in the workflow for a small dataset.\r\nThey can be executed individually *without PyCOMPSs installed* for testing\r\npurposes.\r\n\r\n## Instructions\r\n\r\n### Local machine\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in a laptop or desktop computer.\r\n\r\n#### Requirements\r\n\r\n- [`permedcoe`](https://github.com/PerMedCoE/permedcoe) package\r\n- [PyCOMPSs](https://pycompss.readthedocs.io/en/stable/Sections/00_Quickstart.html)\r\n- [Singularity](https://sylabs.io/guides/3.0/user-guide/installation.html)\r\n\r\n#### Usage steps\r\n\r\n1. Clone this repository:\r\n\r\n ```bash\r\n git clone https://github.com/PerMedCoE/drug-synergies-workflow.git\r\n ```\r\n\r\n2. Install the Building Blocks required for the COVID19 Workflow:\r\n\r\n ```bash\r\n drug-synergies-workflow/BuildingBlocks/./install_BBs.sh\r\n ```\r\n\r\n3. Get the required Building Block images from the project [B2DROP](https://b2drop.bsc.es/index.php/f/444350):\r\n\r\n - Required images:\r\n - PhysiCell-COVID19.singularity\r\n - printResults.singularity\r\n - MaBoSS_sensitivity.singularity\r\n - FromSpeciesToMaBoSSModel.singularity\r\n\r\n The path where these files are stored **MUST be exported in the `PERMEDCOE_IMAGES`** environment variable.\r\n\r\n > :warning: **TIP**: These containers can be built manually as follows (be patient since some of them may take some time):\r\n 1. Clone the `BuildingBlocks` repository\r\n ```bash\r\n git clone https://github.com/PerMedCoE/BuildingBlocks.git\r\n ```\r\n 2. Build the required Building Block images\r\n ```bash\r\n cd BuildingBlocks/Resources/images\r\n sudo singularity build PhysiCell-COVID19.sif PhysiCell-COVID19.singularity\r\n sudo singularity build printResults.sif printResults.singularity\r\n sudo singularity build MaBoSS_sensitivity.sif MaBoSS_sensitivity.singularity\r\n sudo singularity build FromSpeciesToMaBoSSModel.sif FromSpeciesToMaBoSSModel.singularity\r\n cd ../../..\r\n ```\r\n\r\n**If using PyCOMPSs in local PC** (make sure that PyCOMPSs in installed):\r\n\r\n4. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflows/PyCOMPSs\r\n ```\r\n\r\n5. Execute `./run.sh`\r\n > **TIP**: If you want to run the workflow with a different dataset, please update the `run.sh` script setting the `dataset` variable to the new dataset folder and their file names.\r\n\r\n### MareNostrum 4\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in the MareNostrum 4 supercomputer.\r\n\r\n#### Requirements in MN4\r\n\r\n- Access to MN4\r\n\r\nAll Building Blocks are already installed in MN4, and the Drug Synergies Workflow available.\r\n\r\n#### Usage steps in MN4\r\n\r\n1. Load the `COMPSs`, `Singularity` and `permedcoe` modules\r\n\r\n ```bash\r\n export COMPSS_PYTHON_VERSION=3\r\n module load COMPSs/3.1\r\n module load singularity/3.5.2\r\n module use /apps/modules/modulefiles/tools/COMPSs/libraries\r\n module load permedcoe\r\n ```\r\n\r\n > **TIP**: Include the loading into your `${HOME}/.bashrc` file to load it automatically on the session start.\r\n\r\n This commands will load COMPSs and the permedcoe package which provides all necessary dependencies, as well as the path to the singularity container images (`PERMEDCOE_IMAGES` environment variable) and testing dataset (`DRUG_SYNERGIES_WORKFLOW_DATASET` environment variable).\r\n\r\n2. Get a copy of the pilot workflow into your desired folder\r\n\r\n ```bash\r\n mkdir desired_folder\r\n cd desired_folder\r\n get_drug_synergies_workflow\r\n ```\r\n\r\n3. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflow/PyCOMPSs\r\n ```\r\n\r\n4. Execute `./launch.sh`\r\n\r\n 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 `PERMEDCOE_IMAGES` environment variable). It uses the dataset located into `../../Resources/data` folder.\r\n\r\n > :warning: **TIP**: If you want to run the workflow with a different dataset, please edit the `launch.sh` script and define the appropriate dataset path.\r\n\r\n After the execution, a `results` folder will be available with with Drug Synergies Workflow results.\r\n\r\n## License\r\n\r\n[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\r\n\r\n## Contact\r\n\r\n\r\n\r\nThis software has been developed for the [PerMedCoE project](https://permedcoe.eu/), funded by the European Commission (EU H2020 [951773](https://cordis.europa.eu/project/id/951773)).\r\n\r\n![](https://permedcoe.eu/wp-content/uploads/2020/11/logo_1.png \"PerMedCoE\")\r\n" . "# Drug Synergies Screening Workflow\r\n\r\n## Table of Contents\r\n\r\n- [Drug Synergies Screening Workflow](#drug-synergies-screening-workflow)\r\n - [Table of Contents](#table-of-contents)\r\n - [Description](#description)\r\n - [Contents](#contents)\r\n - [Building Blocks](#building-blocks)\r\n - [Workflows](#workflows)\r\n - [Resources](#resources)\r\n - [Tests](#tests)\r\n - [Instructions](#instructions)\r\n - [Local machine](#local-machine)\r\n - [Requirements](#requirements)\r\n - [Usage steps](#usage-steps)\r\n - [MareNostrum 4](#marenostrum-4)\r\n - [Requirements in MN4](#requirements-in-mn4)\r\n - [Usage steps in MN4](#usage-steps-in-mn4)\r\n - [License](#license)\r\n - [Contact](#contact)\r\n\r\n## Description\r\n\r\nThis pipeline simulates a drug screening on personalised cell line models. It automatically builds Boolean models of interest, then uses cell lines data (expression, mutations, copy number variations) to personalise them as MaBoSS models. Finally, this pipeline simulates multiple drug intervention on these MaBoSS models, and lists drug synergies of interest.\r\n\r\nThe workflow uses the following building blocks, described in order of execution:\r\n\r\n1. Build model from species\r\n2. Personalise patient\r\n3. MaBoSS\r\n4. Print drug results\r\n\r\nFor details on individual workflow steps, see the user documentation for each building block.\r\n\r\n[`GitHub repository`](https://github.com/PerMedCoE/drug-synergies-workflow>)\r\n\r\n## Contents\r\n\r\n### Building Blocks\r\n\r\nThe ``BuildingBlocks`` folder contains the script to install the\r\nBuilding Blocks used in the Drug Synergies Workflow.\r\n\r\n### Workflows\r\n\r\nThe ``Workflow`` folder contains the workflows implementations.\r\n\r\nCurrently contains the implementation using PyCOMPSs.\r\n\r\n### Resources\r\n\r\nThe ``Resources`` folder contains a small dataset for testing purposes.\r\n\r\n### Tests\r\n\r\nThe ``Tests`` folder contains the scripts that run each Building Block\r\nused in the workflow for a small dataset.\r\nThey can be executed individually *without PyCOMPSs installed* for testing\r\npurposes.\r\n\r\n## Instructions\r\n\r\n### Local machine\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in a laptop or desktop computer.\r\n\r\n#### Requirements\r\n\r\n- [`permedcoe`](https://github.com/PerMedCoE/permedcoe) package\r\n- [PyCOMPSs](https://pycompss.readthedocs.io/en/stable/Sections/00_Quickstart.html)\r\n- [Singularity](https://sylabs.io/guides/3.0/user-guide/installation.html)\r\n\r\n#### Usage steps\r\n\r\n1. Clone this repository:\r\n\r\n ```bash\r\n git clone https://github.com/PerMedCoE/drug-synergies-workflow.git\r\n ```\r\n\r\n2. Install the Building Blocks required for the COVID19 Workflow:\r\n\r\n ```bash\r\n drug-synergies-workflow/BuildingBlocks/./install_BBs.sh\r\n ```\r\n\r\n3. Get the required Building Block images from the project [B2DROP](https://b2drop.bsc.es/index.php/f/444350):\r\n\r\n - Required images:\r\n - PhysiCell-COVID19.singularity\r\n - printResults.singularity\r\n - MaBoSS_sensitivity.singularity\r\n - FromSpeciesToMaBoSSModel.singularity\r\n\r\n The path where these files are stored **MUST be exported in the `PERMEDCOE_IMAGES`** environment variable.\r\n\r\n > :warning: **TIP**: These containers can be built manually as follows (be patient since some of them may take some time):\r\n 1. Clone the `BuildingBlocks` repository\r\n ```bash\r\n git clone https://github.com/PerMedCoE/BuildingBlocks.git\r\n ```\r\n 2. Build the required Building Block images\r\n ```bash\r\n cd BuildingBlocks/Resources/images\r\n sudo singularity build PhysiCell-COVID19.sif PhysiCell-COVID19.singularity\r\n sudo singularity build printResults.sif printResults.singularity\r\n sudo singularity build MaBoSS_sensitivity.sif MaBoSS_sensitivity.singularity\r\n sudo singularity build FromSpeciesToMaBoSSModel.sif FromSpeciesToMaBoSSModel.singularity\r\n cd ../../..\r\n ```\r\n\r\n**If using PyCOMPSs in local PC** (make sure that PyCOMPSs in installed):\r\n\r\n4. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflows/PyCOMPSs\r\n ```\r\n\r\n5. Execute `./run.sh`\r\n > **TIP**: If you want to run the workflow with a different dataset, please update the `run.sh` script setting the `dataset` variable to the new dataset folder and their file names.\r\n\r\n### MareNostrum 4\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in the MareNostrum 4 supercomputer.\r\n\r\n#### Requirements in MN4\r\n\r\n- Access to MN4\r\n\r\nAll Building Blocks are already installed in MN4, and the Drug Synergies Workflow available.\r\n\r\n#### Usage steps in MN4\r\n\r\n1. Load the `COMPSs`, `Singularity` and `permedcoe` modules\r\n\r\n ```bash\r\n export COMPSS_PYTHON_VERSION=3\r\n module load COMPSs/3.1\r\n module load singularity/3.5.2\r\n module use /apps/modules/modulefiles/tools/COMPSs/libraries\r\n module load permedcoe\r\n ```\r\n\r\n > **TIP**: Include the loading into your `${HOME}/.bashrc` file to load it automatically on the session start.\r\n\r\n This commands will load COMPSs and the permedcoe package which provides all necessary dependencies, as well as the path to the singularity container images (`PERMEDCOE_IMAGES` environment variable) and testing dataset (`DRUG_SYNERGIES_WORKFLOW_DATASET` environment variable).\r\n\r\n2. Get a copy of the pilot workflow into your desired folder\r\n\r\n ```bash\r\n mkdir desired_folder\r\n cd desired_folder\r\n get_drug_synergies_workflow\r\n ```\r\n\r\n3. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflow/PyCOMPSs\r\n ```\r\n\r\n4. Execute `./launch.sh`\r\n\r\n 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 `PERMEDCOE_IMAGES` environment variable). It uses the dataset located into `../../Resources/data` folder.\r\n\r\n > :warning: **TIP**: If you want to run the workflow with a different dataset, please edit the `launch.sh` script and define the appropriate dataset path.\r\n\r\n After the execution, a `results` folder will be available with with Drug Synergies Workflow results.\r\n\r\n## License\r\n\r\n[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\r\n\r\n## Contact\r\n\r\n\r\n\r\nThis software has been developed for the [PerMedCoE project](https://permedcoe.eu/), funded by the European Commission (EU H2020 [951773](https://cordis.europa.eu/project/id/951773)).\r\n\r\n![](https://permedcoe.eu/wp-content/uploads/2020/11/logo_1.png \"PerMedCoE\")" . "application/ld+json" . . . . . . . . "https://w3id.org/ro-id/7ab8a5dd-8bc6-46c1-8ca9-a0c245a896ad" . "https://github.com/PerMedCoE/drug-synergies-workflow" . . "Workflow/PyCOMPSs/run.sh" . "Research Object Crate for PerMedCoE Drug Synergy" . "https://workflowhub.eu/workflows/479/ro_crate?version=1" . . . . "Javier Conejero. \"Research Object Crate for PerMedCoE Drug Synergy.\" ROHub. Sep 06 ,2023. https://w3id.org/ro-id/7ab8a5dd-8bc6-46c1-8ca9-a0c245a896ad." . . . . . "data" . . . . . . . "src" . . . . . . . "BuildingBlocks" . . . . "Resources" . . . . . . . . . . "Tests" . . . . "Workflow" . . . . . . . "PyCOMPSs" . . . . . . "from_local" . . . . "41737701"^^ . "https://api.rohub.org/api/resources/062ee024-e0b7-43af-be26-77ec31e94bb9/download/" . . "2023-09-06 08:59:56.324426+00:00" . "2023-09-06 08:59:59.764154+00:00" . "application/x-tar" . . "data_celllines.tar.gz" . "2023-09-06 08:59:56.324426+00:00" . . . . "1265"^^ . "https://api.rohub.org/api/resources/08dfe3af-ce53-48ea-910b-31e06328aba7/download/" . . "2023-09-06 08:59:56.328533+00:00" . "2023-09-06 09:00:01.555101+00:00" . "text/x-sh" . . "launch.sh" . "2023-09-06 08:59:56.328533+00:00" . . . "https://ror.org/https://workflowhub.eu/workflows/479?version=1" . . "25003"^^ . "https://api.rohub.org/api/resources/1ec1efa3-054b-4cc6-b06b-a2d0326d7dfb/download/" . . "2023-09-06 08:59:56.338351+00:00" . "2023-09-06 09:00:08.480006+00:00" . "text/html" . . "ro-crate-preview.html" . "2023-09-06 08:59:56.338351+00:00" . . . . . "2478"^^ . "https://api.rohub.org/api/resources/1ece3eec-38e5-4140-a677-cb905a0b6cb5/download/" . . "2023-09-06 08:59:56.332459+00:00" . "2023-09-06 09:00:03.513196+00:00" . "text/x-python" . . "utils.py" . "2023-09-06 08:59:56.332459+00:00" . . . . "903"^^ . "https://api.rohub.org/api/resources/2bc1a7dc-a3e0-4819-9bba-5c47b9ec537b/download/" . . "2023-09-06 08:59:56.142248+00:00" . "2023-09-06 08:59:58.889455+00:00" . "text/x-sh" . . "1.b_build_model_from_sif.sh" . "2023-09-06 08:59:56.142248+00:00" . . . . "2418"^^ . "https://api.rohub.org/api/resources/38c4e5ac-ddf5-4ca7-9efb-c8610686327c/download/" . . "2023-09-06 08:59:56.139326+00:00" . "2023-09-06 08:59:57.695885+00:00" . "text/x-sh" . . "2_run_personalize_patient_bb.sh" . "2023-09-06 08:59:56.139326+00:00" . . . . "387"^^ . "https://api.rohub.org/api/resources/3f0e3090-ca7e-4cfd-bb4b-2a0b0fd2ed7a/download/" . . "2023-09-06 08:59:56.144348+00:00" . "2023-09-06 08:59:59.363388+00:00" . "text/csv" . . "Sub_genes.csv" . "2023-09-06 08:59:56.144348+00:00" . . . . "36"^^ . "https://api.rohub.org/api/resources/41deb7c8-6b36-481e-9a3a-c47a70b56df0/download/" . . "2023-09-06 08:59:56.329235+00:00" . "2023-09-06 09:00:01.892207+00:00" . "text/x-sh" . . "clean.sh" . "2023-09-06 08:59:56.329235+00:00" . . . . "10"^^ . "https://api.rohub.org/api/resources/4242e632-5e7f-4532-93bc-159b21e92b4a/download/" . . "2023-09-06 08:59:56.325471+00:00" . "2023-09-06 09:00:00.923864+00:00" . "text/csv" . . "genes_target.csv" . "2023-09-06 08:59:56.325471+00:00" . . . . "4272"^^ . "https://api.rohub.org/api/resources/794f6066-94f3-4eb1-943a-0e46e48d27fa/download/" . . "2023-09-06 08:59:56.330321+00:00" . "2023-09-06 09:00:02.333170+00:00" . "text/x-python" . . "uc2.py" . "2023-09-06 08:59:56.330321+00:00" . . . . "706"^^ . "https://api.rohub.org/api/resources/7e9943ba-f08c-4176-9943-c4b7c739746a/download/" . . "2023-09-06 08:59:56.138560+00:00" . "2023-09-06 08:59:57.490403+00:00" . "text/markdown" . . "README.md" . "2023-09-06 08:59:56.138560+00:00" . . . . "488"^^ . "https://api.rohub.org/api/resources/8c925c69-f249-4477-964b-734bd0157131/download/" . . "2023-09-06 08:59:56.331021+00:00" . "2023-09-06 09:00:02.546757+00:00" . "text/x-python" . . "helpers.py" . "2023-09-06 08:59:56.331021+00:00" . . . . "98"^^ . "https://api.rohub.org/api/resources/8ca49483-617b-47f7-8f6a-f5061a0648c2/download/" . . "2023-09-06 08:59:56.141518+00:00" . "2023-09-06 08:59:58.686045+00:00" . "text/x-sh" . . "clean.sh" . "2023-09-06 08:59:56.141518+00:00" . . . . "25"^^ . "https://api.rohub.org/api/resources/98431cde-dbeb-4d23-a614-63e252a373bd/download/" . . "2023-09-06 08:59:56.145105+00:00" . "2023-09-06 08:59:59.539090+00:00" . "text/csv" . . "genes_druggable.csv" . "2023-09-06 08:59:56.145105+00:00" . . . . "827"^^ . "https://api.rohub.org/api/resources/99f209fd-1409-45fd-9003-c4be7fe0deb7/download/" . . "2023-09-06 08:59:56.140779+00:00" . "2023-09-06 08:59:58.476812+00:00" . "text/x-sh" . . "4_print_drug_results.sh" . "2023-09-06 08:59:56.140779+00:00" . . . . "331"^^ . "https://api.rohub.org/api/resources/a551d6e7-6d83-493e-b18b-76a085f1f96f/download/" . . "2023-09-06 08:59:56.334854+00:00" . "2023-09-06 09:00:04.483060+00:00" . "text/x-sh" . . "uninstall_BBs.sh" . "2023-09-06 08:59:56.334854+00:00" . . . . "625"^^ . "https://api.rohub.org/api/resources/a64bdbbc-05ea-4f60-8c51-9679fbce26a2/download/" . . "2023-09-06 08:59:56.334180+00:00" . "2023-09-06 09:00:04.291099+00:00" . "text/x-sh" . . "install_BBs.sh" . "2023-09-06 08:59:56.334180+00:00" . . . . "424"^^ . "https://api.rohub.org/api/resources/cb26b8ff-a3a7-4b78-967d-3ef31184b642/download/" . . "2023-09-06 08:59:56.336706+00:00" . "2023-09-06 09:00:04.894199+00:00" . "text/x-sh" . . "uninstall_BBs.sh" . "2023-09-06 08:59:56.336706+00:00" . . . . "4727"^^ . "https://api.rohub.org/api/resources/d0fbc637-146c-4d81-97af-00cd95ec1692/download/" . . "2023-09-06 08:59:56.331737+00:00" . "2023-09-06 09:00:02.974463+00:00" . "text/x-python" . . "final.py" . "2023-09-06 08:59:56.331737+00:00" . . . "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/" . . "1083" . "https://api.rohub.org/api/resources/d9f38986-7753-486d-aa09-bacf33643dbb/download/" . . "2023-05-23 12:36:45+00:00" . "2023-09-06 09:00:08.817029+00:00" . "# Drug Synergies Screening Workflow\r\n\r\n## Table of Contents\r\n\r\n- [Drug Synergies Screening Workflow](#drug-synergies-screening-workflow)\r\n - [Table of Contents](#table-of-contents)\r\n - [Description](#description)\r\n - [Contents](#contents)\r\n - [Building Blocks](#building-blocks)\r\n - [Workflows](#workflows)\r\n - [Resources](#resources)\r\n - [Tests](#tests)\r\n - [Instructions](#instructions)\r\n - [Local machine](#local-machine)\r\n - [Requirements](#requirements)\r\n - [Usage steps](#usage-steps)\r\n - [MareNostrum 4](#marenostrum-4)\r\n - [Requirements in MN4](#requirements-in-mn4)\r\n - [Usage steps in MN4](#usage-steps-in-mn4)\r\n - [License](#license)\r\n - [Contact](#contact)\r\n\r\n## Description\r\n\r\nThis pipeline simulates a drug screening on personalised cell line models. It automatically builds Boolean models of interest, then uses cell lines data (expression, mutations, copy number variations) to personalise them as MaBoSS models. Finally, this pipeline simulates multiple drug intervention on these MaBoSS models, and lists drug synergies of interest.\r\n\r\nThe workflow uses the following building blocks, described in order of execution:\r\n\r\n1. Build model from species\r\n2. Personalise patient\r\n3. MaBoSS\r\n4. Print drug results\r\n\r\nFor details on individual workflow steps, see the user documentation for each building block.\r\n\r\n[`GitHub repository`](https://github.com/PerMedCoE/drug-synergies-workflow>)\r\n\r\n## Contents\r\n\r\n### Building Blocks\r\n\r\nThe ``BuildingBlocks`` folder contains the script to install the\r\nBuilding Blocks used in the Drug Synergies Workflow.\r\n\r\n### Workflows\r\n\r\nThe ``Workflow`` folder contains the workflows implementations.\r\n\r\nCurrently contains the implementation using PyCOMPSs.\r\n\r\n### Resources\r\n\r\nThe ``Resources`` folder contains a small dataset for testing purposes.\r\n\r\n### Tests\r\n\r\nThe ``Tests`` folder contains the scripts that run each Building Block\r\nused in the workflow for a small dataset.\r\nThey can be executed individually *without PyCOMPSs installed* for testing\r\npurposes.\r\n\r\n## Instructions\r\n\r\n### Local machine\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in a laptop or desktop computer.\r\n\r\n#### Requirements\r\n\r\n- [`permedcoe`](https://github.com/PerMedCoE/permedcoe) package\r\n- [PyCOMPSs](https://pycompss.readthedocs.io/en/stable/Sections/00_Quickstart.html)\r\n- [Singularity](https://sylabs.io/guides/3.0/user-guide/installation.html)\r\n\r\n#### Usage steps\r\n\r\n1. Clone this repository:\r\n\r\n ```bash\r\n git clone https://github.com/PerMedCoE/drug-synergies-workflow.git\r\n ```\r\n\r\n2. Install the Building Blocks required for the COVID19 Workflow:\r\n\r\n ```bash\r\n drug-synergies-workflow/BuildingBlocks/./install_BBs.sh\r\n ```\r\n\r\n3. Get the required Building Block images from the project [B2DROP](https://b2drop.bsc.es/index.php/f/444350):\r\n\r\n - Required images:\r\n - PhysiCell-COVID19.singularity\r\n - printResults.singularity\r\n - MaBoSS_sensitivity.singularity\r\n - FromSpeciesToMaBoSSModel.singularity\r\n\r\n The path where these files are stored **MUST be exported in the `PERMEDCOE_IMAGES`** environment variable.\r\n\r\n > :warning: **TIP**: These containers can be built manually as follows (be patient since some of them may take some time):\r\n 1. Clone the `BuildingBlocks` repository\r\n ```bash\r\n git clone https://github.com/PerMedCoE/BuildingBlocks.git\r\n ```\r\n 2. Build the required Building Block images\r\n ```bash\r\n cd BuildingBlocks/Resources/images\r\n sudo singularity build PhysiCell-COVID19.sif PhysiCell-COVID19.singularity\r\n sudo singularity build printResults.sif printResults.singularity\r\n sudo singularity build MaBoSS_sensitivity.sif MaBoSS_sensitivity.singularity\r\n sudo singularity build FromSpeciesToMaBoSSModel.sif FromSpeciesToMaBoSSModel.singularity\r\n cd ../../..\r\n ```\r\n\r\n**If using PyCOMPSs in local PC** (make sure that PyCOMPSs in installed):\r\n\r\n4. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflows/PyCOMPSs\r\n ```\r\n\r\n5. Execute `./run.sh`\r\n > **TIP**: If you want to run the workflow with a different dataset, please update the `run.sh` script setting the `dataset` variable to the new dataset folder and their file names.\r\n\r\n### MareNostrum 4\r\n\r\nThis section explains the requirements and usage for the Drug Synergies Workflow in the MareNostrum 4 supercomputer.\r\n\r\n#### Requirements in MN4\r\n\r\n- Access to MN4\r\n\r\nAll Building Blocks are already installed in MN4, and the Drug Synergies Workflow available.\r\n\r\n#### Usage steps in MN4\r\n\r\n1. Load the `COMPSs`, `Singularity` and `permedcoe` modules\r\n\r\n ```bash\r\n export COMPSS_PYTHON_VERSION=3\r\n module load COMPSs/3.1\r\n module load singularity/3.5.2\r\n module use /apps/modules/modulefiles/tools/COMPSs/libraries\r\n module load permedcoe\r\n ```\r\n\r\n > **TIP**: Include the loading into your `${HOME}/.bashrc` file to load it automatically on the session start.\r\n\r\n This commands will load COMPSs and the permedcoe package which provides all necessary dependencies, as well as the path to the singularity container images (`PERMEDCOE_IMAGES` environment variable) and testing dataset (`DRUG_SYNERGIES_WORKFLOW_DATASET` environment variable).\r\n\r\n2. Get a copy of the pilot workflow into your desired folder\r\n\r\n ```bash\r\n mkdir desired_folder\r\n cd desired_folder\r\n get_drug_synergies_workflow\r\n ```\r\n\r\n3. Go to `Workflow/PyCOMPSs` folder\r\n\r\n ```bash\r\n cd Workflow/PyCOMPSs\r\n ```\r\n\r\n4. Execute `./launch.sh`\r\n\r\n 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 `PERMEDCOE_IMAGES` environment variable). It uses the dataset located into `../../Resources/data` folder.\r\n\r\n > :warning: **TIP**: If you want to run the workflow with a different dataset, please edit the `launch.sh` script and define the appropriate dataset path.\r\n\r\n After the execution, a `results` folder will be available with with Drug Synergies Workflow results.\r\n\r\n## License\r\n\r\n[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)\r\n\r\n## Contact\r\n\r\n\r\n\r\nThis software has been developed for the [PerMedCoE project](https://permedcoe.eu/), funded by the European Commission (EU H2020 [951773](https://cordis.europa.eu/project/id/951773)).\r\n\r\n![](https://permedcoe.eu/wp-content/uploads/2020/11/logo_1.png \"PerMedCoE\")" . "text/x-sh" . . "PerMedCoE Drug Synergy" . "https://workflowhub.eu/projects/165" . "#pycompss" . "2023-05-23 12:36:45+00:00" . "https://about.workflowhub.eu/" . "https://workflowhub.eu/workflows/479?version=1" . "1" . . . . . . "6371"^^ . "https://api.rohub.org/api/resources/dab03da9-6f4d-4a21-bbec-439a907d7b97/download/" . . "2023-09-06 08:59:56.326229+00:00" . "2023-09-06 09:00:01.190513+00:00" . "text/markdown" . . "README.md" . "2023-09-06 08:59:56.326229+00:00" . . . . "183"^^ . "https://api.rohub.org/api/resources/e00cd2fc-e208-40bd-8128-33ac97eebd9e/download/" . . "2023-09-06 08:59:56.333474+00:00" . "2023-09-06 09:00:03.710349+00:00" . "text/plain" . . "required_BBs.txt" . "2023-09-06 08:59:56.333474+00:00" . . . . "404"^^ . "https://api.rohub.org/api/resources/e1404702-1a21-4bbd-81bf-c467650425d5/download/" . . "2023-09-06 08:59:56.337421+00:00" . "2023-09-06 09:00:05.093776+00:00" . "text/x-sh" . . "clean_BBs.sh" . "2023-09-06 08:59:56.337421+00:00" . . . . "414"^^ . "https://api.rohub.org/api/resources/eaac98ec-5a60-4019-aa2b-2e66c63cb493/download/" . . "2023-09-06 08:59:56.335910+00:00" . "2023-09-06 09:00:04.674829+00:00" . "text/x-sh" . . "install_BBs.sh" . "2023-09-06 08:59:56.335910+00:00" . . . . "1793"^^ . "https://api.rohub.org/api/resources/ede95598-0c03-45db-b667-802fc33a1666/download/" . . "2023-09-06 08:59:56.142940+00:00" . "2023-09-06 08:59:59.158633+00:00" . "text/x-sh" . . "3_run_maboss_bb.sh" . "2023-09-06 08:59:56.142940+00:00" . . . . "11357"^^ . "https://api.rohub.org/api/resources/fa4dfed0-adf2-4c22-8b0d-f95e0efbec0b/download/" . . "2023-09-06 08:59:56.137336+00:00" . "2023-09-06 08:59:57.283738+00:00" . . "LICENSE" . "2023-09-06 08:59:56.137336+00:00" . . . . "906"^^ . "https://api.rohub.org/api/resources/ff01fad8-983f-4915-bbcd-bb23704689b0/download/" . . "2023-09-06 08:59:56.140075+00:00" . "2023-09-06 08:59:57.926311+00:00" . "text/x-sh" . . "1.a_build_model_bb.sh" . "2023-09-06 08:59:56.140075+00:00" . . . . . . "PerMedCoE" . . . . "2025-11-11T16:09:20.918+01:00"^^ . . . "Research Object Crate for PerMedCoE Drug Synergy" . "RSA" . "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4pPaESKwmC6l37P86K6TNLq6yeQtc7m9CvcqauLs/1FC0viHvQnFBgxj0a+loPDv/Egwe6OqFpa0iW9Ypnyz9YPoh+pxbRXonbuMOb+8Ry9hXZ+TEKfWjhjVDGEaClwfRwglh2HI/xfV4CD9AgvDOEoZQiyta8a90PYwJ3G6e70oCHTn61+OWTkI9KRYHOYgg3btdy2Z7q/30PTFawb2ZT5aIfIJYobUYv2a7yhtcqWCHZeKv0bxGnRjTFNx1rscBMlLJSzvRtpQc1cCRVEPFZHo1adaXCI9tGvn4cxeNQ96y8dxkN1XhpaJairde+23MDzf42Oe97KG2HYzKiyVnQIDAQAB" . "TJc3Wu9WMPSoFOVu3B94ZNiayTgeRDpOptC3pt7BxiDHCxP6d+QpjXh8t2irjxypEPQZMBWdJspqOY58OsOhvPMCWhgoQAJMk4m6IpSeq/MXX3CB/Gjy57tcb3Fn1B15KfWxJMcdnEDInckUGHADXmH953FtI19yYMNmUpk7fSggcEomkBiPfFmKY9SJRrYXHTNZ3jnFaEDX0K8T5fI2pOOXynqUaQuCtCgTkDW/ayCQynxmSXyEE2cHIdR/LHno6w6kaDKkzikKP/dskl6FqlEUhjgxVGbjiL7zf0d+A9Bjrow1PLt2eWR50aLzGuTLVlZyPgo01q9oeWcfTuVouw==" . . .