Reading seed kmers
Reading total kmers
Plotting seed and total kmers
Use of uninitialized value $seqwithtlen in division (/) at /opt/chloroExtractor/bin/scale_reads.pl line 392, <R> line 10.
Use of uninitialized value $tlen_sum in division (/) at /opt/chloroExtractor/bin/scale_reads.pl line 392, <R> line 10.
Illegal division by zero at /opt/chloroExtractor/bin/scale_reads.pl line 392, <R> line 10.
Here the fix for it, the var was not initialized and when the insert size can't calculated it would die to this error.
Tested with 3 sets ( Demo set - allready worked, still works. And 2 sets where it died, now it finds several contigs but none complete chloroplast)
Coverage decreased (-0.09%) to 72.3% when pulling ca4f2dbee11a00bed13baeb6b28632bfdc221792 on fix_scr_tlen_spfaff into 3be770cd84efac56606339e8aa24de8d1a75a627 on master.
Coverage decreased (-0.09%) to 72.3% when pulling ca4f2dbee11a00bed13baeb6b28632bfdc221792 on fix_scr_tlen_spfaff into 3be770cd84efac56606339e8aa24de8d1a75a627 on master.
10 / 11 data set died with the message
Here the fix for it, the var was not initialized and when the insert size can't calculated it would die to this error.
Tested with 3 sets ( Demo set - allready worked, still works. And 2 sets where it died, now it finds several contigs but none complete chloroplast)