Project

General

Profile

GATK3 tutorial » History » Version 6

Tom Morris, 01/15/2019 06:57 PM

1 1 Bryan Cosca
h1. Running GATK3 using Arvados
2
3 6 Tom Morris
This tutorial is for a pre-CWL Arvados workflow manager and is in the process of being updated
4 1 Bryan Cosca
5 6 Tom Morris
----
6 1 Bryan Cosca
7 6 Tom Morris
-This tutorial demonstrates how to run the GATK Haplotype Caller pipeline using GenomeAnalysisTK-3.2-2 from the Broad Institute. These pipelines currently support GATK version 3.2-2 (md5 3163cbeef8fd50d8cb85096758b801a3) (keep content hash 2e98fdc8e90f4c48a0714b711767c9ce+76). You must obtain your own GATK jar file in order to run this pipeline. You can obtain this software by going to the "Broad Institute's GATK licensing site":https://www.broadinstitute.org/gatk/download/auth?package=GATK-archive&version=3.2-2-gec30cee. Further instructions on how to upload your file can be found on the "Arvados documentation page":http://doc.arvados.org/user/tutorials/tutorial-keep.html or the tutorial below. If you run into any problems, please contact support@curoverse.com
8
-
9 1 Bryan Cosca
10 6 Tom Morris
-This tutorial introduces the following Arvados features:
11
-
12
13 2 Bryan Cosca
* How to run GATK3 using Arvados
14
* How to access your pipeline results.
15
* How to browse and select your input data for GATK3 and submit re-run the pipeline.
16
17
# Start at the "Curoverse":https://curoverse.com/ website and click Log In at the top. We currently support all Google / Google Apps accounts for authentication. By simply choosing a Google-based account, your account will be automatically created and redirect to the "Arvados Workbench":https://workbench.qr1hi.arvadosapi.com/.
18
# In the *Active pipelines* panel, click on the *Run a pipeline...* button. Doing so opens a dialog box titled *Choose a pipeline to run*.
19
# Select *Demo GATK3 Haplotype Caller Pipeline* and click the *Next: choose inputs* button. Doing so loads a new page to supply the inputs for the pipeline.
20
# The default inputs from the GATK3 source code repository are already pre-loaded. Click on the *Run* button. The page updates to show you that the pipeline has been submitted to run on the Arvados cluster.
21
# After the pipeline starts running, you can track its progress by watching log messages from jobs.  This page refreshes automatically.  You will see a complete label under the job the column when the pipeline completes successfully. The current run time of the job in CPU and clock hours is also displayed. You can view individual job details by clicking on the job name.
22
# Once the job is finished, the output can be viewed to the right of the run time.
23
# Click on the download button to the right of the file to download your results, or the magnifying glass to quickly view your results.
24
25 1 Bryan Cosca
h2. Uploading data through the web and using it on Arvados
26
27 2 Bryan Cosca
# In your home project, click on the blue *+ Add data* button in the top right.
28
# Click *Upload files from my computer*
29
# Click *Choose Files* and choose as many sets of paired end fastq files you would like to run GATK3 on.
30
# Once you're ready, click *> Start*
31
# Feel free to rename your Collection so you can remember it later. Click on the pencil icon in the top left corner next to *New collection*
32
# Once that is uploaded, navigate back to the dashboard and click on *Run a pipeline...* and choose Demo GATK3 Haplotype Caller Pipeline.
33
# You can change the input by clicking on the *[Choose]* button next to the *Sample FASTQ reads*.
34
# Click on the dropdown menu, click on your newly-created project, and choose your desired input collection. Click *OK* and *Run* to run GATK3 on your data!
35 1 Bryan Cosca
36
h2. Uploading data through your shell and using it on Arvados
37
38 2 Bryan Cosca
Full documentation can be found "here":http://doc.arvados.org/user/tutorials/tutorial-keep.html
39
40
# Install the "Arvados Python SDK":http://doc.arvados.org/sdk/python/sdk-python.html on the system from which you will upload the data (such as your workstation, or a server containing data from your sequencer). Doing so will install the Arvados file upload tool, arv-put.
41
# To configure the environment with the Arvados instance host name and authentication token, see "here":http://doc.arvados.org/user/reference/api-tokens.html 
42
# Navigate back to your Workbench dashboard and create a new project by clicking on the Projects dropdown menu and clicking Home. 
43
# Click on [+ Add a subproject]. Feel free to edit the Project name or description by clicking the pencil to the right of the text.
44
# To add data, return to your shell, create a folder, and put the two paired-end fastq files you want to upload inside. Use the command arv-put * --project-uuid qr1hi-xxxxx-yyyyyyyyyyyyyyy. The qr1hi tag can be found in the url of your new project. This ensures that all the files you would like to upload are in one collection.
45
# The output value xxxxxxxxxxxxxxxxxxxx+yyyy is the Arvados collection locator that uniquely describes this file.
46
# Once that is uploaded, navigate back to the dashboard and click on *Run a pipeline...* and choose Demo GATK3 Haplotype Caller Pipeline.
47
# You can change the input by clicking on [Choose] next to the *Sample FASTQ reads*.
48 1 Bryan Cosca
# Click on the dropdown menu, click on your newly-created project, and choose your desired input collection. Click *OK* and *Run* to run GATK3 on your data!
49
50
h3. FAQ
51
52 6 Tom Morris
WIP-