Skip to content
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

ExtractFeatures supports -XL exclusion and follows intervals, other optimizations #7184

Merged
merged 10 commits into from
Apr 7, 2021

Conversation

mmorgantaylor
Copy link
Member

@mmorgantaylor mmorgantaylor commented Apr 6, 2021

addresses specops issues:

similar changes as the PR for ExtractCohort:

  • added custom classes ExtractFeaturesRecord that implements Locatable
  • refactored attribute building from these records
  • now that the records are Locatables, can use OverlapDetector to filter locations down to only desired intervals (including excluded sites)

also:

  • enable using intervals input (-L) rather than specifying min-location and max-location. updated WDL to support scattering using SplitIntervals (based off of CohortExtract)
  • add back AS_QD to headers (currently headers are shared between ExtractCohort and ExtractFeatures - AS_QD not needed for cohort but is needed for features)

Copy link
Contributor

@kcibul kcibul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome, just minor comments. Also, would be great to run this against the tieout set and make sure nothing blows up (ie the 37 samples)

this.start = SchemaUtils.decodePosition(location);
this.end = start;

this.ref = Objects.toString(genericRecord.get("ref"), null);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kcibul should I add all these strings to SchemaUtils instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm going with "not in this PR"

@gatk-bot
Copy link

gatk-bot commented Apr 6, 2021

Travis reported job failures from build 33577
Failures in the following jobs:

Test Type JDK Job ID Logs
unit openjdk11 33577.13 logs
unit openjdk8 33577.3 logs

@gatk-bot
Copy link

gatk-bot commented Apr 6, 2021

Travis reported job failures from build 33579
Failures in the following jobs:

Test Type JDK Job ID Logs
unit openjdk11 33579.13 logs
unit openjdk8 33579.3 logs
unit openjdk8 33579.3 logs

Copy link
Contributor

@kcibul kcibul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

.dockstore.yml Outdated
@@ -96,6 +96,7 @@ workflows:
branches:
- master
- ah_var_store
- mmt_extract_features_records
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove before merging

@mmorgantaylor mmorgantaylor merged commit 37b3f65 into ah_var_store Apr 7, 2021
@mmorgantaylor mmorgantaylor deleted the mmt_extract_features_records branch April 7, 2021 19:04
This was referenced Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants