Selaa lähdekoodia

Update: add annotation

master
YaqingLiu 3 vuotta sitten
vanhempi
commit
3acd950c74
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. +5
    -2
      tasks/VEP.wdl

+ 5
- 2
tasks/VEP.wdl Näytä tiedosto

@@ -24,8 +24,6 @@ task VEP {

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


# Judge the SAMPLE info of vcf file
tumor_id=`awk -F'\t' '{if($1~"^#CHROM"){print $10}}' ${vcf}`
normal_id=`awk -F'\t' '{if($1~"^#CHROM"){print $11}}' ${vcf}`
@@ -47,12 +45,15 @@ task VEP {
fi

# vcf2vcf: transfer into a standardized format
echo "Transfer the VCF file into a standardized format..."
perl ${vcf2maf_path}/vcf2vcf.pl \
--input-vcf ${sample_id}.vcf --output-vcf ${basename}.norm.vcf \
$SAMPLE_vcf2vcf \
--ref-fasta ${ref_dir}/${fasta}

# VEP annotation
echo "VEP annotation..."
perl ${vep_path}/vep --format vcf --vcf \
--assembly ${ncbi_build} \
--species ${species} \
@@ -63,7 +64,9 @@ task VEP {
$buffer_size \
--input_file ${basename}.norm.vcf --output_file ${basename}.vep.vcf

# vcf2maf
echo "vcf2maf..."
perl ${vcf2maf_path}/vcf2maf.pl \
--inhibit-vep \
--input-vcf ${basename}.vep.vcf --output-maf ${basename}.maf \

Loading…
Peruuta
Tallenna