瀏覽代碼

Update: VEP ncbi_build

master
YaqingLiu 3 年之前
父節點
當前提交
cd2666a59f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tasks/VEP.wdl

+ 2
- 2
tasks/VEP.wdl 查看文件

@@ -25,9 +25,9 @@ task VEP {
awk -F'\t' '{if(($1~"^#")||($1!~"^#" && $7=="PASS")){print $0}}' ${vcf} > ${basename}.PASS.vcf
# Define ncbi_build
if [ hg == "hg19" ]; then
if [ ${hg} == "hg19" ]; then
ncbi_build="GRCh37"
elif [ hg == "hg38" ]; then
elif [ ${hg} == "hg38" ]; then
ncbi_build="GRCh38"
ncol=`awk -F'\t' '{if($1!~"^#"){print NF}}' ${basename}.PASS.vcf | uniq`

Loading…
取消
儲存