Skip to content

Latest commit

 

History

History
executable file
·
64 lines (45 loc) · 2.43 KB

tutorial_dx_cli.md

File metadata and controls

executable file
·
64 lines (45 loc) · 2.43 KB

Tutorial for DNAnexus Platform (CLI)

All test samples and genome data are shared on our public DNAnexus project. You don't have to download any data for testing our pipeline on DNAnexus platform.

There are two methods to run our pipeline on DNAnexus.

  1. Building your own DX workflow from chip.wdl with dxWDL (CLI)
  2. Using a pre-built DX workflow on our public DX project (Web UI)

This document describes instruction for the item 1).

  1. Sign up for a DNAnexus account.

  2. Create a new DX project with name [YOUR_PROJECT_NAME] by clicking on "+New Project" on the top left.

  3. Download dxWDL.

    $ cd
    $ wget https://github.com/DNAnexus/dxWDL/releases/download/0.77/dxWDL-0.77.jar
    $ chmod +rx dxWDL-0.77.jar
  4. Git clone this pipeline.

    $ cd
    $ git clone https://github.com/ENCODE-DCC/chip-seq-pipeline2
  5. Move to pipeline's directory.

    $ cd chip-seq-pipeline2
  6. Choose an appropriate input for your project (AWS or Azure):

    • AWS
      $ INPUT=examples/dx/ENCSR936XTK_subsampled_chr19_only_dx.json
    • Azure
      $ INPUT=examples/dx_azure/ENCSR936XTK_subsampled_chr19_only_dx_azure.json
  7. Compile chip.wdl with an input JSON for the SUBSAMPLED paired-end sample of ENCSR936XTK.

    $ PROJECT=[YOUR_PROJECT_NAME]
    $ OUT_FOLDER=/test_sample_chip_ENCSR936XTK_subsampled_chr19_only
    
    $ java -jar dxWDL-0.77.jar compile chip.wdl -project ${PROJECT} -f -folder ${OUT_FOLDER} -defaults ${INPUT} -extras workflow_opts/docker.json
  8. Go to DNAnexus project page and click on your project.

  9. Move to the directory /test_sample_chip_ENCSR936XTK_subsampled_chr19_only.

  10. You will find a DX workflow chip with all parameters pre-defined. Click on it.

  11. Specify an output directory by clicking "Workflow Actions" on the top right. Click on "Set output folder" and choose an output folder.

  12. Click on "Run as Analysis..." and you will be automatically redirected to the "Monitor" tab.

  13. It will take about 6 hours. You will be able to find all outputs on your output folder. Final QC report (qc.html)/JSON (qc.json) will be found on it.

  14. See full specification for input JSON file.