Sydney-Informatics-Hub / Somatic-ShortV

GNU General Public License v3.0
6 stars 1 forks source link

GATK4 Somatic PON Check Sample Output Format Missing Values #9

Open DarioS opened 2 years ago

DarioS commented 2 years ago

Some of the required elements are missing due to bugs in gatk4_pon_check_sample.sh. Example output:

../Reference/hs38DH.fasta,CSCC_0153-B1,,0142-scattered.interval_list,,,./Logs/gatk4_pon
../Reference/hs38DH.fasta,CSCC_0163-B1,,2903-scattered.interval_list,,,./Logs/gatk4_pon

We see that the third element is blank. $bam is undefined. Similarly, fifth and sixth elements are missing. $out and $nt are undefined.

In summary

echo "${ref},${sample},${bam},${intfile},${out},${nt},${logdir}" >> ${inputfile}

makes use of multiple undefined variables, causing errors when the intervals are re-run.