-
Download cromwell.
$ wget https://github.com/broadinstitute/cromwell/releases/download/34/cromwell-34.jar $ chmod +rx cromwell-34.jar
-
Git clone this pipeline and move into it.
$ git clone https://github.com/ENCODE-DCC/chip-seq-pipeline2 $ cd chip-seq-pipeline2
-
Download a SUBSAMPLED paired-end sample of ENCSR936XTK.
$ wget https://storage.googleapis.com/encode-pipeline-test-samples/encode-chip-seq-pipeline/ENCSR936XTK/ENCSR936XTK_fastq_subsampled.tar $ tar xvf ENCSR936XTK_fastq_subsampled.tar
-
Download pre-built chr19/chrM-only genome database for hg38.
$ wget https://storage.googleapis.com/encode-pipeline-genome-data/test_genome_database_hg38_chr19_chrM_chip.tar $ tar xvf test_genome_database_hg38_chip.tar
-
Run a pipeline for the test sample.
$ INPUT=examples/local/ENCSR936XTK_subsampled_chr19_only.json $ PIPELINE_METADATA=metadata.json $ java -jar -Dconfig.file=backends/backend.conf cromwell-34.jar run chip.wdl -i ${INPUT} -o workflow_opts/docker.json -m ${PIPELINE_METADATA}
-
It will take about 6 hours. You will be able to find all outputs on
cromwell-executions/chip/[RANDOM_HASH_STRING]/
. See output directory structure for details. -
See full specification for input JSON file.
-
You can resume a failed pipeline from where it left off by using
PIPELINE_METADATA
(metadata.json
) file. This file is created for each pipeline run. See here for details. Once you get a new input JSON file from the resumer, use itINPUT=resume.[FAILED_WORKFLOW_ID].json
instead ofINPUT=examples/local/ENCSR936XTK_subsampled_chr19_only.json
.