Commit 243fd59a authored by bow's avatar bow
Browse files

Set default validation stringency to lenient in WipeReads

parent 634364dd
......@@ -165,6 +165,7 @@ object WipeReads extends MainCommand {
new SAMFileReader(inBAM, inBAMIndex)
else {
val sfr = new SAMFileReader(inBAM)
if (!sfr.hasIndex)
throw new IllegalStateException("Input BAM file must be indexed")
......@@ -312,6 +313,7 @@ object WipeReads extends MainCommand {
val templateBAM = new SAMFileReader(inBAM)
val targetBAM = factory.makeBAMWriter(templateBAM.getFileHeader, true, outBAM)
val filteredBAM =
if (filteredOutBAM != null)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment