Explorar el Código

test regions

master
YaqingLiu hace 4 años
padre
commit
bb223e2b6f
Se han modificado 2 ficheros con 8 adiciones y 2 borrados
  1. +5
    -2
      tasks/Haplotyper.wdl
  2. +3
    -0
      workflow.wdl

+ 5
- 2
tasks/Haplotyper.wdl Ver fichero

@@ -1,6 +1,5 @@
task Haplotyper {
File ref_dir
File dbsnp_dir

@@ -14,12 +13,16 @@ task Haplotyper {
String cluster_config
String disk_size

File? regions

command <<<
set -o pipefail
set -e
export SENTIEON_LICENSE=192.168.0.55:8990
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 {

+ 3
- 0
workflow.wdl Ver fichero

@@ -19,11 +19,14 @@ workflow {{ project_name }} {
String disk_size
String cluster_config

File? regions

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

Cargando…
Cancelar
Guardar