Closed keiranmraine closed 5 years ago
Stats in error stream can appear wrong due to potential for both reads in a pair to generate a record, e.g.
Thread Worker 1282: Excluded -218352/500000 (1588s) Thread Worker 1282: Generated 718352 records
Due to the initial count being based on pairs, instead of reads, while the returned value is records generated. Changing total_pairs to total_reads will resolve this apparent negative count:
https://github.com/cancerit/cgpPindel/blob/f196e69c966bfccd52029dc0953f84f17c28aa8a/perl/lib/Sanger/CGP/Pindel/InputGen.pm#L244-L248
Fixed in 31089fcd2f26faff470cd8330a0c11d41b50bae0
Stats in error stream can appear wrong due to potential for both reads in a pair to generate a record, e.g.
Due to the initial count being based on pairs, instead of reads, while the returned value is records generated. Changing total_pairs to total_reads will resolve this apparent negative count:
https://github.com/cancerit/cgpPindel/blob/f196e69c966bfccd52029dc0953f84f17c28aa8a/perl/lib/Sanger/CGP/Pindel/InputGen.pm#L244-L248