Browse Source

test regions

master
YaqingLiu 4 years ago
parent
commit
bb223e2b6f
2 changed files with 8 additions and 2 deletions
  1. +5
    -2
      tasks/Haplotyper.wdl
  2. +3
    -0
      workflow.wdl

+ 5
- 2
tasks/Haplotyper.wdl View File

task Haplotyper { task Haplotyper {
File ref_dir File ref_dir
File dbsnp_dir File dbsnp_dir


String cluster_config String cluster_config
String disk_size String disk_size


File? regions

command <<< command <<<
set -o pipefail set -o pipefail
set -e set -e
export SENTIEON_LICENSE=192.168.0.55:8990 export SENTIEON_LICENSE=192.168.0.55:8990
nt=$(nproc) nt=$(nproc)
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${recaled_bam} --algo Haplotyper -d ${dbsnp_dir}/${dbsnp} ${sample}_hc.vcf
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt \
-i ${recaled_bam} --interval ${regions} \
--algo Haplotyper -d ${dbsnp_dir}/${dbsnp} ${sample}_hc.vcf
>>> >>>
runtime { runtime {

+ 3
- 0
workflow.wdl View File

String disk_size String disk_size
String cluster_config String cluster_config


File? regions

call Haplotyper.Haplotyper as Haplotyper { call Haplotyper.Haplotyper as Haplotyper {
input: input:
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
regions=regions,
recaled_bam=recaled_bam, recaled_bam=recaled_bam,
recaled_bam_index=recaled_bam_index, recaled_bam_index=recaled_bam_index,
dbsnp=dbsnp, dbsnp=dbsnp,

Loading…
Cancel
Save