-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FlowFeatureMapper speed improvements #8982
base: master
Are you sure you want to change the base?
Conversation
…easing cache size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Some minor comments
...adinstitute/hellbender/tools/walkers/featuremapping/FlowFeatureMapperArgumentCollection.java
Outdated
Show resolved
Hide resolved
/** | ||
* do not emit edit distance at all | ||
**/ | ||
@Argument(fullName = "no-edit-distance", doc = "do not emit edit distance at all ?", optional = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imagine that these changes are going to raise some questions. Can you please add description in the PR?
@@ -759,5 +886,35 @@ private FeatureMapper buildMapper() { | |||
throw new GATKException("unsupported mappingFeature: " + fmArgs.mappingFeature); | |||
} | |||
} | |||
|
|||
private FlowBasedRead buildTrimmedFlowBasedRead(final GATKRead read, final TrimInfo trimInfo, final FlowBasedReadUtils.ReadGroupInfo rgInfo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this code might be duplicated.
HaplotypeCaller routinely trims reads. Could you check if there is a function like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have refactored this code to be closer in naming convention to its purpose
@ilyasoifer I have addressed your comments. Thank you |
Additional changes include: