-
Notifications
You must be signed in to change notification settings - Fork 28
Cancer Benchmarks
This is our use case of cancer benchmarks. This document focuses on how to run the following three bundles in Codabench
CODABENCH CANCER HETEROGENEITY DT#1 TRANSCRIPTOME PANCREAS
CODABENCH CANCER HETEROGENEITY DT#2 METHYLOME PANCREAS
CODABENCH CANCER HETEROGENEITY DT#3 IMMUNE CELL TYPES
Unzip the bundle from its original zip file format into a folder.
Add lines 19 and 20 of code, and replace the underlined variable in line 25 with submission_program_dir
Two new lines of code have been added to allow the v2 compute worker to find the user-submitted program(program.R). (Because the v2 compute worker does not support searching for user-submitted code in subfolders.)
child_dir <- list.files(path=submission_program)
submission_program_dir <- paste0(submission_program, .Platform$file.sep, tail(child_dir, n=1))
// read code submitted by the participants :
.tempEnv <- new.env( )
source(
file = paste0(submission_program_dir, .Platform$file.sep, "program.R")
, local = .tempEnv
)
Open the command line and go to the ingestion_program_1 folder.
Use the following command to package the modified folder as a zip file
zip -r ingestion_program_1.zip *
Replace the latest compressed ingestion_program_1.zip file with the previous ingestion_program_1.zip file, and delete the ingestion_program_1 folder.
Go to the directory at the same level as competition.yaml
and execute the following command to compress the file
zip -r Codabench_cancer_heterogeneity_DT#2.zip *
The default execution time is 10 minutes, but since these three bundles are time-consuming to execute, you have to turn it up.
We recommend that you adjust the time to the maximum value of 2147483647
, so that the task will not time out and be forced to terminate by the compute worker.
This paragraph summarizes the results of the execution of three bundles in codalab v2.
https://www.codabench.org/competitions/147/ All three submissions were successful.
https://www.codabench.org/competitions/174/ Two Submissions were successfully run, while the third failed due to insufficient execution time(We have now adjusted from the original 10,000 minute execution time limit to a maximum of 2,147483647.)
https://www.codabench.org/competitions/148/ 2 Submissions run successfully, 1 execution fails (screenshot below)
Failed execution screenshot: