소스 검색

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…
취소
저장