-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new
Walker
abstract class to be used for all built-in walkers.
- Loading branch information
1 parent
54260e3
commit a5b3ba0
Showing
9 changed files
with
83 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/org/broadinstitute/hellbender/engine/Walker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.broadinstitute.hellbender.engine; | ||
|
||
import org.broadinstitute.hellbender.exceptions.GATKException; | ||
|
||
/** | ||
* An abstract class to represent built-in walkers that inherit directly from {@link GATKTool}. | ||
* Created by jonn on 6/28/18. | ||
*/ | ||
public abstract class Walker extends GATKTool { | ||
|
||
@Override | ||
final protected ReferenceDataSource getReferenceDataSource() { | ||
throw new GATKException("Should never access ReferenceDataSource in child classes of AssemblyRegionWalker."); | ||
} | ||
|
||
@Override | ||
final protected ReadsDataSource getReadsDataSource() { | ||
throw new GATKException("Should never access ReadsDataSource in child classes of AssemblyRegionWalker."); | ||
} | ||
|
||
@Override | ||
final protected FeatureManager getFeatureManager() { | ||
throw new GATKException("Should never access FeatureManager in child classes of AssemblyRegionWalker."); | ||
} | ||
|
||
|
||
} |