Skip to content

Commit

Permalink
add hint about indexing bam file if missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
snystrom committed Oct 22, 2021
1 parent 735b284 commit a826236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct Cli {
fn connect_indexed_bam(path: &std::path::PathBuf) -> bam::IndexedReader {
bam::IndexedReader::from_path(path)
.ok()
.expect("Cannot read bam file")
.expect("Cannot read bam file. Ensure an index is present (samtools index <bamfile>).")
}

/// if path is - set prefix to ""
Expand Down

0 comments on commit a826236

Please sign in to comment.