Hi Team,here is another question:Following code reads a fastq-file.The file I'm testing on has 263333413 records:$ zcat C563WACXX_1.fastq.gz | wc -l
1053333652The problem is, that the code seems to only readthe first 4000000 records. I don't understand why.Can you advise me here?Thank you,AlexanderPS: I removed try/catch for better readabilityseqan::StringSet<seqan::CharString> ids;
seqan::StringSet<seqan::Dna5QString> seqs;
seqan::StringSet<seqan::CharString> quals;
unsigned batchSize = 10000;
do {
seqan::clear(ids); seqan::clear(seqs); seqan::clear(quals);
readRecords(ids, seqs, quals, inputFile, batchSize);
processRecords(ids, seqs, quals, barcodeGraph, vertexFilePtrMap);
totalProcessed += seqan::length(ids);
std::cout << "\r";
std::cout << "reads processed in total: " << totalProcessed;
std::cout.flush();
} while(seqan::length(ids) > 0);
_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev