-
Notifications
You must be signed in to change notification settings - Fork 594
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
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.
Really sorry for being a pain, can you explain why functions from ReadClipper (e.g. SoftClipByReadCoordinates) etc. can't be used for this task?
@ilyasoifer I have addressed your comments. Thank you |
@ilyasoifer could you please take a look at the two failing CI/tests and see if there is something to be done - or it is a usual/environmental thing? Thanx |
@dror27 - looks like an environment thing (because I see that other PRs also fail), but let's wait for a bit with merging |
Additional changes include: