When in the scr-ref.bam no paired reads are mapped, the script scale-reads.pl will divide by 0.
It tries to print the mean of all paired mapped reads template lengths (TLEN 9th column in .bam). If there are no paired reads it will try to calculate it by dividing by 0.
When in the scr-ref.bam no paired reads are mapped, the script scale-reads.pl will divide by 0.
It tries to print the mean of all paired mapped reads template lengths (TLEN 9th column in .bam). If there are no paired reads it will try to calculate it by dividing by 0.