Kaynağa Gözat

Alter: Annotate BND

master
YaqingLiu 4 yıl önce
ebeveyn
işleme
809cb16c5b
5 değiştirilmiş dosya ile 26 ekleme ve 4 silme
  1. +3
    -2
      README.md
  2. +1
    -0
      defaults
  3. +1
    -0
      inputs
  4. +19
    -2
      tasks/vcf2maf.wdl
  5. +2
    -0
      workflow.wdl

+ 3
- 2
README.md Dosyayı Görüntüle

$ choppy query -L project:Label | grep "status" $ choppy query -L project:Label | grep "status"
``` ```
### Output ### Output

.maf
1. maf
2. INPUT.vcf
3. BND.VEP.txt

+ 1
- 0
defaults Dosyayı Görüntüle

"species": "homo_sapiens_merged", "species": "homo_sapiens_merged",
"ncbi_build": "GRCh38", "ncbi_build": "GRCh38",
"only_pass": true, "only_pass": true,
"vcf2maf_path": "/opt/mskcc-vcf2maf",
"disk_size": "200", "disk_size": "200",
"cluster_config": "OnDemand bcs.a2.3xlarge img-ubuntu-vpc" "cluster_config": "OnDemand bcs.a2.3xlarge img-ubuntu-vpc"
} }

+ 1
- 0
inputs Dosyayı Görüntüle

"{{ project_name }}.ncbi_build": "{{ ncbi_build }}", "{{ project_name }}.ncbi_build": "{{ ncbi_build }}",
"{{ project_name }}.species": "{{ species }}", "{{ project_name }}.species": "{{ species }}",
"{{ project_name }}.only_pass": {{ only_pass | tojson }}, "{{ project_name }}.only_pass": {{ only_pass | tojson }},
"{{ project_name }}.vcf2maf_path": "{{ vcf2maf_path }}",
"{{ project_name }}.vep_docker": "{{ vep_docker }}", "{{ project_name }}.vep_docker": "{{ vep_docker }}",
"{{ project_name }}.disk_size": "{{ disk_size }}", "{{ project_name }}.disk_size": "{{ disk_size }}",
"{{ project_name }}.cluster_config": "{{ cluster_config }}" "{{ project_name }}.cluster_config": "{{ cluster_config }}"

+ 19
- 2
tasks/vcf2maf.wdl Dosyayı Görüntüle

String ncbi_build String ncbi_build
String species String species
Boolean only_pass Boolean only_pass
String vcf2maf_path
String docker String docker
String cluster_config String cluster_config
String disk_size String disk_size
cp ${vcf} ${sample_id}.INPUT.vcf cp ${vcf} ${sample_id}.INPUT.vcf
fi fi


perl /opt/mskcc-vcf2maf/vcf2maf.pl \
--input-vcf ${sample_id}.INPUT.vcf --output-maf ${basename}.maf \
# Extract the BND variants from VCF
awk -F'\t' '{if(($1~"^#")||($8!~".*SVTYPE=BND.*")){print $0}}' ${sample_id}.INPUT.vcf > ${sample_id}.INPUT.vcf2maf.vcf
awk -F'\t' '{if(($1~"^#")||($8~".*SVTYPE=BND.*")){print $0}}' ${sample_id}.INPUT.vcf > ${sample_id}.INPUT.VEP.vcf

# vcf2maf
perl ${vcf2maf_path}/vcf2maf.pl \
--input-vcf ${sample_id}.INPUT.vcf2maf.vcf --output-maf ${basename}.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-path ${vep_path} \ --vep-path ${vep_path} \
--ncbi-build ${ncbi_build} \ --ncbi-build ${ncbi_build} \
--species ${species} \ --species ${species} \
--vep-fork $nt --vep-fork $nt

# vep: only annotate the BND
perl ${vep_path}/vep \
--input_file ${sample_id}.INPUT.VEP.vcf --output_file ${basename}.BND.VEP.txt \
--fasta ${ref_dir}/${fasta} \
--dir ${cache} \
--assembly ${ncbi_build} \
--species ${species} \
--fork $nt \
--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 --tab --flag_pick_allele --pick_order canonical,tsl,biotype,rank,ccds,length --format vcf --force_overwrite --offline --pubmed --regulatory
>>> >>>
runtime { runtime {
output { output {
File input_vcf = "${sample_id}.INPUT.vcf" File input_vcf = "${sample_id}.INPUT.vcf"
File maf = "${basename}.maf" File maf = "${basename}.maf"
File bnd_vep = "${basename}.BND.VEP.txt"
} }
} }

+ 2
- 0
workflow.wdl Dosyayı Görüntüle

String ncbi_build String ncbi_build
String species String species
Boolean only_pass Boolean only_pass
String vcf2maf_path
String vep_docker String vep_docker
String cluster_config String cluster_config
String disk_size String disk_size
ncbi_build=ncbi_build, ncbi_build=ncbi_build,
species=species, species=species,
only_pass=only_pass, only_pass=only_pass,
vcf2maf_path=vcf2maf_path,
docker=vep_docker, docker=vep_docker,
cluster_config=cluster_config, cluster_config=cluster_config,
disk_size=disk_size disk_size=disk_size

Yükleniyor…
İptal
Kaydet