Platypus tutorial » History » Version 4
Bryan Cosca, 03/26/2015 12:32 AM
1 | 1 | Bryan Cosca | h1. Running Platypus using Arvados |
---|---|---|---|
2 | |||
3 | 2 | Bryan Cosca | This tutorial demonstrates how to call variants from high-throughput sequencing data using Platypus. Platypus is a research project by The Wellcome Trust Centre for Human Genetics. The Platypus page publication is available here: "Andy Rimmer, Hang Phan, Iain Mathieson, Zamin Iqbal, Stephen R. F. Twigg, WGS500 Consortium, Andrew O. M. Wilkie, Gil McVean, Gerton Lunter. Integrating mapping-, assembly- and haplotype-based approaches for calling variants in clinical sequencing applications. Nature Genetics (2014)":http://www.nature.com/ng/journal/v46/n8/full/ng.3036.html. This tutorial introduces the following Arvados features: |
4 | 1 | Bryan Cosca | |
5 | 2 | Bryan Cosca | * How to run Platypus using Arvados |
6 | * How to access your pipeline results. |
||
7 | 3 | Bryan Cosca | * How to browse and select your input data for Platypus and submit re-run the pipeline. |
8 | 2 | Bryan Cosca | |
9 | # 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/. |
||
10 | # In the *Active pipelines* panel, click on the *Run a pipeline...* button. Doing so opens a dialog box titled *Choose a pipeline to run*. |
||
11 | 3 | Bryan Cosca | # Select *Platypus (public)* and click the *Next: choose inputs* button. Doing so loads a new page to supply the inputs for the pipeline. |
12 | # The default inputs from the Platypus 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. |
||
13 | 1 | Bryan Cosca | # 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. |
14 | 2 | Bryan Cosca | # Once the job is finished, the output can be viewed to the right of the run time. |
15 | # Click on the download button to the right of the file to download your results, or the magnifying glass to quickly view your results. |
||
16 | 3 | Bryan Cosca | |
17 | 1 | Bryan Cosca | h2. Uploading data through the web and using it on Arvados |
18 | |||
19 | 4 | Bryan Cosca | # In your home project, click on the blue *+ Add data* button in the top right. |
20 | # Click *Upload files from my computer* |
||
21 | # Click *Choose Files* and choose paired end fastq files you would like to run BWA on. |
||
22 | # Once you're ready, click *> Start* |
||
23 | # 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* |
||
24 | # Once that is complete, navigate back to the dashboard and click on *Run a pipeline...* and choose *Platypus (Public)*. |
||
25 | # You can change the input by clicking on the *[Choose]* button next to the *Input raw fastq file collection*. |
||
26 | # Click on the dropdown menu, click on Home, and choose your desired input collection. Click *OK* and *Run* to run the Platypus Pipeline |
||
27 | 1 | Bryan Cosca | |
28 | h2. Uploading data through your shell and using it on Arvados |
||
29 | |||
30 | 4 | Bryan Cosca | Full documentation can be found "here":http://doc.arvados.org/user/tutorials/tutorial-keep.html |
31 | |||
32 | # 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. |
||
33 | # To configure the environment with the Arvados instance host name and authentication token, see "here":http://doc.arvados.org/user/reference/api-tokens.html |
||
34 | # Navigate back to your Workbench dashboard and create a new project by clicking on the Projects dropdown menu and clicking Home. |
||
35 | # Click on *[+ Add a subproject]*. Feel free to edit the Project name or description by clicking the pencil to the right of the text. |
||
36 | # To add data, return to your shell, create a folder, and put the VCF 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. |
||
37 | # The output value xxxxxxxxxxxxxxxxxxxx+yyyy is the Arvados collection locator that uniquely describes this file. |
||
38 | # Once that is complete, navigate back to the dashboard and click on *Run a pipeline...* and choose *Platypus (Public)*. |
||
39 | # You can change the input by clicking on the *[Choose]* button next to the *Input raw fastq file collection*. |
||
40 | # Click on the dropdown menu, click on Home, and choose your desired input collection. Click *OK* and *Run* to run the Platypus Pipeline |
||
41 | 1 | Bryan Cosca | |
42 | h3. FAQ |
||
43 | |||
44 | WIP |