Skip to content

Commit ea79420

Browse files
committed
Panic on unpaired read
1 parent e6db4a8 commit ea79420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse/sorted_bam_reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl SortedBamReader {
4141
};
4242

4343
if !record.is_paired() {
44-
continue;
44+
panic!("Error: found unpaired read, cannot run nimble in paired-end mode. Exiting.");
4545
}
4646

4747
match record.aux(b"CB") {

0 commit comments

Comments
 (0)