Skip to content

Commit

Permalink
Change CleanSam to use getReferencePath.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed May 3, 2022
1 parent eceda25 commit 628a84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/picard/sam/CleanSam.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class CleanSam extends CommandLineProgram {
protected int doWork() {
IOUtil.assertFileIsReadable(INPUT);
IOUtil.assertFileIsWritable(OUTPUT);
final SamReaderFactory factory = SamReaderFactory.makeDefault().referenceSequence(REFERENCE_SEQUENCE);
final SamReaderFactory factory = SamReaderFactory.makeDefault().referenceSequence(referenceSequence.getReferencePath());
if (VALIDATION_STRINGENCY == ValidationStringency.STRICT) {
factory.validationStringency(ValidationStringency.LENIENT);
}
Expand Down

0 comments on commit 628a84a

Please sign in to comment.