Explorar el Código

rename output

master
YaqingLiu hace 3 años
padre
commit
378ef25062
Se han modificado 1 ficheros con 11 adiciones y 7 borrados
  1. +11
    -7
      tasks/VEP.wdl

+ 11
- 7
tasks/VEP.wdl Ver fichero

set -e set -e
nt=$(nproc) nt=$(nproc)


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


# Extract the BND variants from VCF # 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}.PASS.vcf2maf.vcf


# vep # vep
perl ${vep_path}/vep \ perl ${vep_path}/vep \
--input_file ${sample_id}.PASS.vcf --output_file ${basename}.vep.vcf \
--input_file ${basename}.PASS.vcf --output_file ${basename}.PASS.vep.vcf \
--fasta ${ref_dir}/${fasta} \ --fasta ${ref_dir}/${fasta} \
--dir ${cache} \ --dir ${cache} \
--assembly ${ncbi_build} \ --assembly ${ncbi_build} \
--species ${species} \ --species ${species} \
--fork $nt \ --fork $nt \
--format vcf --vcf \ --format vcf --vcf \
--no_progress --no_stats --buffer_size 5000 --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
--no_progress \
--no_stats \
--buffer_size 5000 \
--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


# vcf2maf # vcf2maf
perl ${vcf2maf_path}/vcf2maf.pl \ perl ${vcf2maf_path}/vcf2maf.pl \
--inhibit-vep \ --inhibit-vep \
--input-vcf ${basename}.vep.vcf --output-maf ${basename}.maf \
--input-vcf ${basename}.PASS.vep.vcf --output-maf ${basename}.PASS.maf \
--tumor-id ${tumor_id} --normal-id ${normal_id} \ --tumor-id ${tumor_id} --normal-id ${normal_id} \
--ref-fasta ${ref_dir}/${fasta} \ --ref-fasta ${ref_dir}/${fasta} \
--vep-fork $nt --vep-fork $nt
} }


output { output {
File input_vcf = "${sample_id}.PASS.vcf"
File vep_vcf = "${basename}.vep.vcf"
File maf = "${basename}.maf"
File input_vcf = "${basename}.PASS.vcf"
File vep_vcf = "${basename}.PASS.vep.vcf"
File maf = "${basename}.PASS.maf"
} }
} }

Cargando…
Cancelar
Guardar