A pipeline for pathology slide analysis: tiles, detects tissue, infers tile labels, lymphocyte cell detection, and feature extraction.
- Unix-like operating system
- Java 11
-
Install docker
-
Install nextflow:
curl -s https://get.nextflow.io | bash
-
Launch the pipeline execution using docker
./nextflow run msk-mind/oncofusion-nf -profile standard,docker --samples_csv samples.csv
samples.csv
is a csv file where the first column is the slide ID and the second is the path to the slide. -
When the execution completes, results will be in the
results
directory
-
Create an Azure storage account and batch account.
-
Modify the nextflow configuration files as necessary (see https://www.nextflow.io/docs/edge/azure.html)
-
Set the necessary secrets using
nextflow secrets set
. At a minimum setAZURE_BATCH_KEY
andAZURE_STORAGE_KEY
. -
Launch nextflow:
nextflow -Dcom.amazonaws.sdk.disableCertChecking=true run main.nf -bucket-dir {azure_bucket_dir} -profile docker,cloud
where
{azure_bucket_dir}
is an azure path likeaz://test/nftest
. -
When the execution completes, results will be in the
results
directory