瀏覽代碼

Update: VEP ncbi_build

master
YaqingLiu 3 年之前
父節點
當前提交
cd2666a59f
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      tasks/VEP.wdl

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

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

Loading…
取消
儲存