Skip to content

Commit 2f9eba0

Browse files
committed
fixed bug in interleaved output
1 parent 9448a81 commit 2f9eba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trim_paired.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,14 +433,14 @@ int paired_main(int argc, char *argv[]) {
433433
if (!gzip_output) {
434434
if (combo_all) {
435435
print_record_N (combo, fqrec1, qualtype);
436-
print_record (combo, fqrec2, p1cut);
436+
print_record (combo, fqrec2, p2cut);
437437
} else {
438438
print_record (single, fqrec2, p2cut);
439439
}
440440
} else {
441441
if (combo_all) {
442442
print_record_N_gzip (combo_gzip, fqrec1, qualtype);
443-
print_record_gzip (combo_gzip, fqrec2, p1cut);
443+
print_record_gzip (combo_gzip, fqrec2, p2cut);
444444
} else {
445445
print_record_gzip (single_gzip, fqrec2, p2cut);
446446
}

0 commit comments

Comments
 (0)