Permalink
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (21 sloc) 2.45 KB

README.md for wdl/scripts/tutorials/gatk/

This folder contains WDL scripts for workflows outlined in GATK website tutorials.

Easily find information on each tutorial

The WDL scripts within this gatk folder come from tutorials from the GATK Tutorials website. Numbers in the file names correspond to website article numbers. For example, for tutorial_8017.wdl you can plug in 8017 into the following URL to view the corresponding tutorial description. Use the base URL for each website as shown below.

Download example data

The tutorials come with example data that you can use with the scripts. Find the links to download example data on respective tutorial webpages. Alternatively, you may download the example data from either the FTP site or our shared Google Drive folder. Example data bundle names also include the website article number.

Be sure to fill in the JSON for your setup

If a WDL script comes with a matching example JSON file and you choose to use this file, then be sure to modify the directory paths to files for your own setup. Otherwise, generate a blank JSON file with the following command, then fill in the details.

java -jar wdltool.jar inputs file.wdl > file.json

The example JSON file can show you how to list files that are in array format.

Information on setting up Cromwell to run WDL scripts

If you modify a WDL script, be sure it passes validation with the following command.

java -jar wdltool.jar validate file.wdl

Finally, run a script with inputs using this command:

java -jar cromwell.jar run file.wdl file.json