X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b54d7820e899733ce10b8960b1f04d0481f2e11f..6263b4bdab2869ffc52c49ab283dd39c93f25a32:/doc/user/tutorials/tutorial-gatk-variantfiltration.html.textile.liquid?ds=sidebyside diff --git a/doc/user/tutorials/tutorial-gatk-variantfiltration.html.textile.liquid b/doc/user/tutorials/tutorial-gatk-variantfiltration.html.textile.liquid index 04894fda2c..3bf05a5dbd 100644 --- a/doc/user/tutorials/tutorial-gatk-variantfiltration.html.textile.liquid +++ b/doc/user/tutorials/tutorial-gatk-variantfiltration.html.textile.liquid @@ -8,16 +8,16 @@ title: "Using GATK with Arvados" h1. Using GATK with Arvados -This tutorials demonstrates how to use the Genome Analysis Toolkit (GATK) with Arvados. In this example we will install GATK and then create a VariantFiltration job to assign pass/fail scores to variants in a VCF file. +This tutorial demonstrates how to use the Genome Analysis Toolkit (GATK) with Arvados. In this example we will install GATK and then create a VariantFiltration job to assign pass/fail scores to variants in a VCF file. -*This tutorial assumes that you are "logged into an Arvados VM instance":{{site.basedoc}}/user/getting_started/ssh-access.html#login, and have a "working environment.":{{site.basedoc}}/user/getting_started/check-environment.html* +*This tutorial assumes that you are "logged into an Arvados VM instance":{{site.baseurl}}/user/getting_started/ssh-access.html#login, and have a "working environment.":{{site.baseurl}}/user/getting_started/check-environment.html* h2. Installing GATK Download the GATK binary tarball[1] -- e.g., @GenomeAnalysisTK-2.6-4.tar.bz2@ -- and "copy it to your Arvados VM":tutorial-keep.html. -
$ arv keep put GenomeAnalysisTK-2.6-4.tar.bz2
+
~$ arv keep put GenomeAnalysisTK-2.6-4.tar.bz2
 c905c8d8443a9c44274d98b7c6cfaa32+94
 
@@ -25,7 +25,7 @@ c905c8d8443a9c44274d98b7c6cfaa32+94 Next, you need the GATK Resource Bundle[2]. This may already be available in Arvados. If not, you will need to download the files listed below and put them into Keep. -
$ arv keep ls -s d237a90bae3870b3b033aea1e99de4a9+10820
+
~$ arv keep ls -s d237a90bae3870b3b033aea1e99de4a9+10820
   50342 1000G_omni2.5.b37.vcf.gz
       1 1000G_omni2.5.b37.vcf.gz.md5
     464 1000G_omni2.5.b37.vcf.idx.gz
@@ -94,11 +94,11 @@ h2. Submit a GATK job
 The Arvados distribution includes an example crunch script ("crunch_scripts/GATK2-VariantFiltration":https://arvados.org/projects/arvados/repository/revisions/master/entry/crunch_scripts/GATK2-VariantFiltration) that runs the GATK VariantFiltration tool with some default settings.
 
 
-
$ src_version=76588bfc57f33ea1b36b82ca7187f465b73b4ca4
-$ vcf_input=5ee633fe2569d2a42dd81b07490d5d13+82
-$ gatk_binary=c905c8d8443a9c44274d98b7c6cfaa32+94
-$ gatk_bundle=d237a90bae3870b3b033aea1e99de4a9+10820
-$ cat >the_job <<EOF
+
~$ src_version=76588bfc57f33ea1b36b82ca7187f465b73b4ca4
+~$ vcf_input=5ee633fe2569d2a42dd81b07490d5d13+82
+~$ gatk_binary=c905c8d8443a9c44274d98b7c6cfaa32+94
+~$ gatk_bundle=d237a90bae3870b3b033aea1e99de4a9+10820
+~$ cat >the_job <<EOF
 {
  "script":"GATK2-VariantFiltration",
  "script_version":"$src_version",
@@ -120,7 +120,7 @@ EOF
 Now start a job:
 
 
-
$ arv -h job create --job "$(cat the_job)"
+
~$ arv job create --job "$(cat the_job)"
 {
  "href":"https://qr1hi.arvadosapi.com/arvados/v1/jobs/qr1hi-8i9sb-n9k7qyp7bs5b9d4",
  "kind":"arvados#job",
@@ -160,7 +160,7 @@ Now start a job:
  ],
  "log_stream_href":"https://qr1hi.arvadosapi.com/arvados/v1/jobs/qr1hi-8i9sb-n9k7qyp7bs5b9d4/log_tail_follow"
 }
-$ arv job log_tail_follow --uuid qr1hi-8i9sb-n9k7qyp7bs5b9d4
+~$ arv job log_tail_follow --uuid qr1hi-8i9sb-n9k7qyp7bs5b9d4
 Tue Dec 17 19:02:16 2013 salloc: Granted job allocation 1251
 Tue Dec 17 19:02:17 2013 qr1hi-8i9sb-n9k7qyp7bs5b9d4 4867  check slurm allocation
 Tue Dec 17 19:02:17 2013 qr1hi-8i9sb-n9k7qyp7bs5b9d4 4867  node compute13 - 8 slots
@@ -204,7 +204,7 @@ Tue Dec 17 19:04:12 2013 qr1hi-8i9sb-n9k7qyp7bs5b9d4 4867  log manifest is 1e77a
 
 Once the job completes, the output can be found in hu34D5B9-exome-filtered.vcf:
 
-
$ arv keep ls bedd6ff56b3ae9f90d873b1fcb72f9a3+91
+
~$ arv keep ls bedd6ff56b3ae9f90d873b1fcb72f9a3+91
 hu34D5B9-exome-filtered.vcf