소스 검색

Update: VEP

master
YaqingLiu 3 년 전
부모
커밋
af15b0f88c
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. +7
    -1
      tasks/VEP.wdl

+ 7
- 1
tasks/VEP.wdl 파일 보기

@@ -9,7 +9,7 @@ task VEP {
String fasta
String vep_path
File cache
String ncbi_build
String hg
String species
String vcf2maf_path
String docker
@@ -24,6 +24,12 @@ task VEP {

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

Loading…
취소
저장