Skip to content

Commit 7b1a71a

Browse files
committed
update readme
1 parent dd6b4be commit 7b1a71a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ This ChIP-Seq pipeline is based off the ENCODE (phase-3) transcription factor an
2222

2323
2) **IMPORTANT**: Read Caper's [README](https://github.com/ENCODE-DCC/caper/blob/master/README.md) carefully to choose a backend for your system. Follow the instruction in the configuration file.
2424
```bash
25-
$ caper init [YOUR_BACKEND] # local by default
25+
# backend: local or your HPC type (e.g. slurm, sge, pbs, lsf). read Caper's README carefully.
26+
$ caper init [YOUR_BACKEND]
2627

2728
# IMPORTANT: edit the conf file and follow commented instructions in there
2829
$ vi ~/.caper/default.conf
@@ -34,16 +35,17 @@ This ChIP-Seq pipeline is based off the ENCODE (phase-3) transcription factor an
3435
$ git clone https://github.com/ENCODE-DCC/chip-seq-pipeline2
3536
```
3637

37-
4) Define input JSON.
38+
4) Define test input JSON.
3839
```bash
3940
INPUT_JSON="https://storage.googleapis.com/encode-pipeline-test-samples/encode-chip-seq-pipeline/ENCSR000DYI_subsampled_chr19_only.json"
4041
```
4142

4243
5) If you have Docker and want to run pipelines locally on your laptop. `--max-concurrent-tasks 1` is to limit number of concurrent tasks to test-run the pipeline on a laptop. Uncomment it if run it on a workstation/HPC.
4344
```bash
4445
# check if Docker works on your machine
45-
$ docker exec ubuntu:latest echo hello
46+
$ docker run ubuntu:latest echo hello
4647

48+
# --max-concurrent-tasks 1 is for computers with limited resources
4749
$ caper run chip.wdl -i "${INPUT_JSON}" --docker --max-concurrent-tasks 1
4850
```
4951

@@ -52,12 +54,11 @@ This ChIP-Seq pipeline is based off the ENCODE (phase-3) transcription factor an
5254
# check if Singularity works on your machine
5355
$ singularity exec docker://ubuntu:latest echo hello
5456

55-
# on your local machine
57+
# on your local machine (--max-concurrent-tasks 1 is for computers with limited resources)
5658
$ caper run chip.wdl -i "${INPUT_JSON}" --singularity --max-concurrent-tasks 1
5759

58-
# on HPC, submit it as a leader job to SLURM with Singularity
59-
60-
# make sure that you already configure Caper's conf ~/.caper/default.conf correctly to work with your HPC
60+
# on HPC, make sure that Caper's conf ~/.caper/default.conf is correctly configured to work with your HPC
61+
# the following command will submit Caper as a leader job to SLURM with Singularity
6162
$ caper hpc submit chip.wdl -i "${INPUT_JSON}" --singularity --leader-job-name ANY_GOOD_LEADER_JOB_NAME
6263

6364
# check job ID and status of your leader jobs
@@ -84,12 +85,11 @@ This ChIP-Seq pipeline is based off the ENCODE (phase-3) transcription factor an
8485

8586
# if installation fails please use Singularity method instead.
8687

87-
# on your local machine
88+
# on your local machine (--max-concurrent-tasks 1 is for computers with limited resources)
8889
$ caper run chip.wdl -i "${INPUT_JSON}" --conda --max-concurrent-tasks 1
8990

90-
# on HPC, submit it as a leader job to SLURM with Singularity
91-
92-
# make sure that you already configure Caper's conf ~/.caper/default.conf correctly to work with your HPC
91+
# on HPC, make sure that Caper's conf ~/.caper/default.conf is correctly configured to work with your HPC
92+
# the following command will submit Caper as a leader job to SLURM with Conda
9393
$ caper hpc submit chip.wdl -i "${INPUT_JSON}" --conda --leader-job-name ANY_GOOD_LEADER_JOB_NAME
9494

9595
# check job ID and status of your leader jobs

0 commit comments

Comments
 (0)