"vep_path": "/opt/vep/ensembl-vep", | "vep_path": "/opt/vep/ensembl-vep", | ||||
"species": "homo_sapiens_merged", | "species": "homo_sapiens_merged", | ||||
"ncbi_build": "GRCh38", | "ncbi_build": "GRCh38", | ||||
"only_pass": true, | |||||
"disk_size": "200", | "disk_size": "200", | ||||
"cluster_config": "OnDemand bcs.a2.3xlarge img-ubuntu-vpc" | "cluster_config": "OnDemand bcs.a2.3xlarge img-ubuntu-vpc" | ||||
} | } |
"{{ project_name }}.cache": "{{ cache }}", | "{{ project_name }}.cache": "{{ cache }}", | ||||
"{{ 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 }}.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 }}" |
File cache | File cache | ||||
String ncbi_build | String ncbi_build | ||||
String species | String species | ||||
Boolean only_pass | |||||
String docker | String docker | ||||
String cluster_config | String cluster_config | ||||
String disk_size | String disk_size | ||||
command <<< | command <<< | ||||
set -o pipefail | set -o pipefail | ||||
set -e | set -e | ||||
nt=$(nproc) | |||||
nt=$(nproc) | |||||
if [ only_pass ]; then | |||||
awk -F'\t' '{if(($1~"^#")||($1!~"^#" && $7=="PASS")){print $0}}' ${vcf} > input_vcf | |||||
else | |||||
cat ${vcf} > input_vcf | |||||
fi | |||||
perl /opt/mskcc-vcf2maf/vcf2maf.pl \ | perl /opt/mskcc-vcf2maf/vcf2maf.pl \ | ||||
--input-vcf ${vcf} --output-maf ${basename}.maf \ | |||||
--input-vcf ${input_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} \ |
File cache | File cache | ||||
String ncbi_build | String ncbi_build | ||||
String species | String species | ||||
Boolean only_pass | |||||
String vep_docker | String vep_docker | ||||
String cluster_config | String cluster_config | ||||
String disk_size | String disk_size | ||||
cache=cache, | cache=cache, | ||||
ncbi_build=ncbi_build, | ncbi_build=ncbi_build, | ||||
species=species, | species=species, | ||||
only_pass=only_pass, | |||||
docker=vep_docker, | docker=vep_docker, | ||||
cluster_config=cluster_config, | cluster_config=cluster_config, | ||||
disk_size=disk_size | disk_size=disk_size |