ソースを参照

Update: buffer_size

master
YaqingLiu 3年前
コミット
3ef12a3dd1
1個のファイルの変更9行の追加2行の削除
  1. +9
    -2
      tasks/VEP.wdl

+ 9
- 2
tasks/VEP.wdl ファイルの表示

@@ -23,14 +23,21 @@ task VEP {
nt=$(nproc)

awk -F'\t' '{if(($1~"^#")||($1!~"^#" && $7=="PASS")){print $0}}' ${vcf} > ${basename}.PASS.vcf
ncol=`awk -F'\t' '{if($1!~"^#"){print NF}}' ${basename}.PASS.vcf | uniq`
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}"
else
vcf2maf_ID="--tumor-id ${tumor_id}"
fi

nrow=`awk -F'\t' '{if($1~"^chr"){print $0}}' ${basename}.PASS.vcf | wc -l`
if [ $nrow -lt 5000 ]; then
buffer_size="--buffer_size 5000"
else
buffer_size="--buffer_size 500"
fi

# Extract the BND variants from VCF
# awk -F'\t' '{if(($1~"^#")||($8!~".*SVTYPE=BND.*")){print $0}}' ${sample_id}.PASS.vcf > ${sample_id}.PASS.vcf2maf.vcf
# awk -F'\t' '{if(($1~"^#")||($8~".*SVTYPE=BND.*")){print $0}}' ${sample_id}.PASS.vcf > ${sample_id}.INPUT.VEP.vcf
@@ -57,7 +64,7 @@ task VEP {
--format vcf --vcf \
--no_progress \
--no_stats \
--buffer_size 5000 \
$buffer_size \
--sift b \
--ccds --uniprot --hgvs --symbol --numbers --domains --gene_phenotype --canonical --protein --biotype --uniprot --tsl --variant_class --shift_hgvs 1 --check_existing --total_length --allele_number --no_escape --xref_refseq --failed 1 --flag_pick_allele --pick_order canonical,tsl,biotype,rank,ccds,length --force_overwrite --offline --pubmed --regulatory


読み込み中…
キャンセル
保存