Skip to content

Wrong number of reads detected #11

@vcepeda

Description

@vcepeda

The number of reads is calculated by dividing the total number of lines by 4, but the program doesn't check if the total number of lines is a multiple of 4:

input file:
@iris:7:1:17:394#0/1
GTCAGGACAAGAAAGACAANTCCAATTNACATTATG
+IRIS:7:1:17:394#0/1
aaabaa]baaaaa_aab]D^^baYDW]abaa^
@iris:7:1:17:800#0/1

OUTPUT
./lighter -r test.fq -k 17 50 0.1 -t 10
[2014-12-08 11:50:43] =============Start====================
[2014-12-08 11:50:43] Bad quality threshold is "^"
[2014-12-08 11:50:44] Finish sampling kmers
[2014-12-08 11:50:44] Bloom filter A's error rate: 0.000000
[2014-12-08 11:50:44] Finish storing trusted kmers
[2014-12-08 11:50:44] Finish error correction
Processed 2 reads:
0 are error-free
Corrected 0 bases(0.000000 corrections for reads with errors)
Trimmed 0 reads with average trimmed bases 0.000000
Discard 0 reads

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions