瀏覽代碼

test rmsk

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

+ 8
- 6
tasks/annovar.wdl 查看文件

@@ -14,13 +14,15 @@ task annovar {
set -e
nt=$(nproc)

awk -F'\t' '{if(($1~"^#")||($1!~"^#" && $7=="PASS")){print $0}}' ${vcf} > ${basename}.PASS.vcf

if [ ${hg} == "hg38" ]; then
/installations/annovar/table_annovar.pl ${vcf}\
${annovar_database} -buildver ${hg} \
-out ${basename} -remove \
-protocol rmsk \
-operation r \
-nastring . -vcfinput -thread $nt
/installations/annovar/table_annovar.pl ${basename}.PASS.vcf \
${annovar_database} -buildver ${hg} \
-out ${basename} -remove \
-protocol rmsk,exac03,gnomad211_exome,cosmic92_coding,cosmic92_noncoding \
-operation r,f,f,f,f \
-nastring . -vcfinput -thread $nt
fi
>>>

Loading…
取消
儲存