Explorar el Código

filter vcf

master
LUYAO REN hace 5 años
padre
commit
c50eb40fd7
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      tasks/VQSR.wdl

+ 6
- 1
tasks/VQSR.wdl Ver fichero

@@ -52,6 +52,10 @@ command <<<
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} --algo ApplyVarCal -v ${sample}.vqsrSNP.hc.recaled.vcf.gz --var_type INDEL --recal ${sample}.vqsrINDEL.hc.recal --tranches_file ${sample}.vqsrINDEL.hc.tranches --sensitivity 99.0 ${sample}.vqsrSNPINDEL.hc.recaled.vcf.gz
${SENTIEON_INSTALL_DIR}/bin/sentieon plot vqsr -o ${sample}.vqsrINDEL.VQSR.pdf ${sample}.vqsrINDEL.hc.plotfile

zcat ${sample}.vqsrSNPINDEL.hc.recaled.vcf.gz | grep '#' > header
zcat ${sample}.vqsrSNPINDEL.hc.recaled.vcf.gz | grep -v '#' | grep PASS > body
cat header body > ${sample}.vqsrSNPINDEL.hc.recaled.pass.vcf

>>>
runtime {
@@ -62,7 +66,8 @@ command <<<
}

output {
File filtered_vcf = "${sample}.vqsrSNPINDEL.hc.recaled.vcf.gz"
File masked_vcf = "${sample}.vqsrSNPINDEL.hc.recaled.vcf.gz"
File filtered_vcf = "${sample}.vqsrSNPINDEL.hc.recaled.pass.vcf"
}
}


Cargando…
Cancelar
Guardar