Pārlūkot izejas kodu

benchmark file name

master
LUYAO REN pirms 5 gadiem
vecāks
revīzija
69f0fb01be
2 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. +4
    -4
      tasks/benchmark.wdl
  2. +1
    -1
      tasks/sentieon.wdl

+ 4
- 4
tasks/benchmark.wdl Parādīt failu

/opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf ${sample}.rtg.vcf.gz /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf ${sample}.rtg.vcf.gz


if [ ${sample_mark} == "LCL5" ];then if [ ${sample_mark} == "LCL5" ];then
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL5.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL5.consensus.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
elif [ ${sample_mark} == "LCL6" ]; then elif [ ${sample_mark} == "LCL6" ]; then
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL6.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL6.consensus.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
elif [ ${sample_mark} == "LCL7" ]; then elif [ ${sample_mark} == "LCL7" ]; then
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL7.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL7.consensus.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
elif [ ${sample_mark} == "LCL8" ]; then elif [ ${sample_mark} == "LCL8" ]; then
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL8.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
/opt/hap.py/bin/hap.py ${benchmarking_dir}/LCL8.consensus.vcf.gz ${sample}.rtg.vcf.gz --threads $nt -o ${sample}
else else
echo "only for quartet samples" echo "only for quartet samples"
fi fi

+ 1
- 1
tasks/sentieon.wdl Parādīt failu

set -o pipefail set -o pipefail
set -e set -e
cat ${aln_metrics} | sed -n '2,2p' > aln_metrics.header cat ${aln_metrics} | sed -n '2,2p' > aln_metrics.header
cat ${aln_metrics} | sed -n '2,2p' > ${sample_name}.aln_metrics
cat ${aln_metrics} | sed -n '3,3p' > ${sample_name}.aln_metrics
cat ${dedup_metrics} | sed -n '2,2p' > dedup_metrics.header cat ${dedup_metrics} | sed -n '2,2p' > dedup_metrics.header
cat ${dedup_metrics} | sed -n '3,3p' > ${sample_name}.dedup_metrics cat ${dedup_metrics} | sed -n '3,3p' > ${sample_name}.dedup_metrics
cat ${is_metrics} | sed -n '2,2p' > is_metrics.header cat ${is_metrics} | sed -n '2,2p' > is_metrics.header

Notiek ielāde…
Atcelt
Saglabāt