We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a089ba3 commit e25a9afCopy full SHA for e25a9af
src/alignment.cpp
@@ -390,9 +390,9 @@ fastq sequence_merger::merge(const alignment_info& alignment,
390
391
// Produce draft by merging seq 1 and the parts of seq 2 that extend past seq 1
392
std::string merged_seq = read1.sequence();
393
- merged_seq.append(read2.sequence(), read_2_offset);
+ merged_seq.append(read2.sequence(), read_2_offset, std::string::npos);
394
std::string merged_qual = read1.qualities();
395
- merged_qual.append(read2.qualities(), read_2_offset);
+ merged_qual.append(read2.qualities(), read_2_offset, std::string::npos);
396
397
// Pick the best bases for the overlapping part of the reads
398
for (size_t i = 0; i < read_2_offset; ++i) {
0 commit comments