|
|
|
|
|
|
|
|
File vcf_idx |
|
|
File vcf_idx |
|
|
File benchmarking_dir |
|
|
File benchmarking_dir |
|
|
File ref_dir |
|
|
File ref_dir |
|
|
String sample = basename(vcf,".rtg.vcf.gz") |
|
|
|
|
|
|
|
|
String sample |
|
|
String fasta |
|
|
String fasta |
|
|
String docker |
|
|
String docker |
|
|
String cluster_config |
|
|
String cluster_config |
|
|
|
|
|
|
|
|
export HGREF=/cromwell_root/tmp/reference_data/GRCh38.d1.vd1.fa |
|
|
export HGREF=/cromwell_root/tmp/reference_data/GRCh38.d1.vd1.fa |
|
|
|
|
|
|
|
|
if [[ ${sample} =~ "LCL5" ]];then |
|
|
if [[ ${sample} =~ "LCL5" ]];then |
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL5.afterfilterdiffbed.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL5.high.confidence.bed.gz --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
|
|
|
|
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL5.voted.mendelian.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL5.highconfidence.bed --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
elif [[ ${sample} =~ "LCL6" ]]; then |
|
|
elif [[ ${sample} =~ "LCL6" ]]; then |
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL6.afterfilterdiffbed.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL6.high.confidence.bed.gz --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
|
|
|
|
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL6.voted.mendelian.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL6.highconfidence.bed --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
elif [[ ${sample} =~ "LCL7" ]]; then |
|
|
elif [[ ${sample} =~ "LCL7" ]]; then |
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL7.afterfilterdiffbed.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL7.high.confidence.bed.gz --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
|
|
|
|
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL7.voted.mendelian.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL7.highconfidence.bed --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
elif [[ ${sample} =~ "LCL8" ]]; then |
|
|
elif [[ ${sample} =~ "LCL8" ]]; then |
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL8.afterfilterdiffbed.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL8.high.confidence.bed.gz --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
|
|
|
|
|
|
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL8.voted.mendelian.vcf.gz ${vcf} -f ${benchmarking_dir}/LCL8.highconfidence.bed --threads $nt -o ${sample} -r ${ref_dir}/${fasta} |
|
|
else |
|
|
else |
|
|
echo "only for quartet samples" |
|
|
echo "only for quartet samples" |
|
|
fi |
|
|
fi |