Skip to content

Latest commit

 

History

History
81 lines (63 loc) · 2.92 KB

quickStart.md

File metadata and controls

81 lines (63 loc) · 2.92 KB

Strelka Quick Start

Installation

For Linux users, it is recommended to start from the most recent binary distribution on the Strelka releases page, this distribution can be unpacked, moved to any convenient directory and tested by running a small demo included with the release distribution. For example, unpacking and running the demo on the strelka 2.9.2 binary distribution could be accomplished as follows (optionally replace 2.9.2 with a different Strelka version):

# download strelka binary
wget https://github.com/Illumina/strelka/releases/download/v2.9.2/strelka-2.9.2.centos6_x86_64.tar.bz2
# decompress
tar xvjf strelka-2.9.2.centos6_x86_64.tar.bz2
# run demo to check successful installation
bash strelka-2.9.2.centos6_x86_64/bin/runStrelkaSomaticWorkflowDemo.bash
bash strelka-2.9.2.centos6_x86_64/bin/runStrelkaGermlineWorkflowDemo.bash

Strelka can also be installed from source code. Please see the installation instructions for full build and installation details.

Configuration and execution

Strelka is run in two steps: (1) configuration (specifying input data and options) and (2) workflow execution (specifying parameters on how strelka is executed). The second execution step can also be interrupted and restarted without changing the final result of the workflow.

Example for germline calling:

# configuration
${STRELKA_INSTALL_PATH}/bin/configureStrelkaGermlineWorkflow.py \
    --bam sample1.bam \
    --bam sample2.bam \
    --referenceFasta hg38.fa \
    --runDir demo_germline
# execution on a single local machine with 20 parallel jobs
demo_germline/runWorkflow.py -m local -j 20

Example for somatic calling:

# configuration
${STRELKA_INSTALL_PATH}/bin/configureStrelkaSomaticWorkflow.py \
    --normalBam normal.bam \
    --tumorBam tumor.bam \
    --referenceFasta hg38.fa \
    --runDir demo_somatic
# execution on a single local machine with 20 parallel jobs
demo_somatic/runWorkflow.py -m local -j 20

Tips

For references with many short contigs, it is strongly recommended to provide callable regions to avoid possible runtime issues:

--callRegions callable.bed.gz

For somatic calling, it is recommended to provide indel candidates from the Manta SV and indel caller to improve sensitivity to call indels of size 20 or larger:

--indelCandidates candidateSmallIndels.vcf.gz

For exome and amplicon inputs, add:

--exome

User guide

Refer to the Strelka user guide for full instructions on how to run Strelka, interpret results and estimate hardware requirements/compute cost, in addition to a high-level methods overview.