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 abf2c67 commit 4a099f5
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 4a099f5

Please sign in to comment.