Skip to content

Commit

Permalink
quick fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesemery committed Sep 18, 2024
1 parent 2104c0e commit fa1f0ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public int getDefaultCloudIndexPrefetchBufferSize() {
public String getProgressMeterRecordLabel() { return ProgressMeter.DEFAULT_RECORD_LABEL; }

/**
* @return null for no output filtering of variants to the variant writer. Subclasses may override this to enforce other filtering schemes.
* @return default value does no filtering. Override to change how variants are filtered against the intervals for your tools.
*/
public IntervalFilteringVcfWriter.Mode getVariantOutputFilteringMode(){
return IntervalFilteringVcfWriter.Mode.ANYWHERE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,12 @@ public SAMSequenceDictionary getBestAvailableSequenceDictionary() {
*/
public abstract VCFHeader getHeaderForVariants();

/**
* @return Default interval filtering mode for variant output. Subclasses may override this to set a different default.
*/
public IntervalFilteringVcfWriter.Mode getDefaultVariantOutputFilterMode(){
return IntervalFilteringVcfWriter.Mode.ANYWHERE;
}

@Override
public IntervalFilteringVcfWriter.Mode getVariantOutputFilteringMode() {
if (userOutputVariantIntervalFilteringMode != null) {
return userOutputVariantIntervalFilteringMode;
} else {
// Use whatever is the default provided by GATKTool
return super.getVariantOutputFilteringMode();
}
}
Expand Down

0 comments on commit fa1f0ee

Please sign in to comment.