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

Complete refactoring of variant and related annotation records #97

Merged
merged 1 commit into from Aug 19, 2016

Conversation

heuermh
Copy link
Member

@heuermh heuermh commented Aug 8, 2016

Fixes #96.

Still needs work; additional changes to come based on VCF mapping review.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-formats-prb/116/
Test PASSed.

Copy number variable region (may be both deletion and duplication).
VCF INFO reserved key "SVTYPE" value "CNV".
*/
COPY_NUMBER_VARIABLE,
Copy link
Member

Choose a reason for hiding this comment

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

s/variable/variant/g? Or, is variable meant to indicate that the copy number of this region varies?

Copy link
Member Author

Choose a reason for hiding this comment

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

verbatim from spec, it sucks but ... ?

Copy link
Member

Choose a reason for hiding this comment

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

Actually, it's not too bad: the crux is "this region has varied copy number across samples". A "copy number variant" would be the specific change in copy number. I actually think this is the right call.

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 agree, though unfortunate TLA collision.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, no joke.

@fnothaft
Copy link
Member

fnothaft commented Aug 8, 2016

LGTM other than two questions.

@jpdna
Copy link
Member

jpdna commented Aug 19, 2016

LGTM other than two questions.

What are the remaining two questions or other issues on this PR?

@fnothaft
Copy link
Member

Thanks for pinging @jpdna. They were the two inline comments I added, but @heuermh answered the questions and I didn't think we needed any additional changes, so this is +1 from my end.

@jpdna
Copy link
Member

jpdna commented Aug 19, 2016

Does the complementary code for the ADAM repo to populate the array<string> names in Variant exist now in any PR, or is that a task we need to to open an issue for?
Even if that ADAM repo code is not ready yet - are ready to go ahead and merge this bdg-formats PR now in prep for that?

@fnothaft
Copy link
Member

Does the complementary code for the ADAM repo to populate the array names in Variant exist now in any PR, or is that a task we need to to open an issue for?

I don't think the code is done yet. I think it might be added to bigdatagenomics/adam#1078, but I'd wait for @heuermh to comment.

Even if that ADAM repo code is not ready yet - are ready to go ahead and merge this bdg-formats PR now in prep for that?

+1

@jpdna
Copy link
Member

jpdna commented Aug 19, 2016

So - what's the SOP on merging bdg-formats PRs? I see we don't have a scripts/commit-pr.sh as we do for ADAM.

@fnothaft
Copy link
Member

Yeah, we just hit the green merge button here. It's pretty rare that we:

  1. have multiple active PRs in this repo
  2. have PRs that need huge complex rebases

in this repo, so the ./scripts/commit-pr.sh script isn't as necessary for bdg-formats.

@jpdna jpdna merged commit 4ed2cd4 into bigdatagenomics:master Aug 19, 2016
@jpdna
Copy link
Member

jpdna commented Aug 19, 2016

Thanks @heuermh
merged

@heuermh
Copy link
Member Author

heuermh commented Aug 20, 2016

No! This wasn't ready to go. Sorry for not replying sooner, have been in the mountains away from cell phone service.

@jpdna
Copy link
Member

jpdna commented Aug 20, 2016

Ah sorry - what steps should we take to roll it back? I see a handy "revert" button above in github that create a PR to revert.
Should I push the revert button?

@fnothaft
Copy link
Member

No rush on this. We can either revert the merge, or force push HEAD prior to the merge to master. I'm fine either way. The first one is arguably the more kosher one to do.

@heuermh
Copy link
Member Author

heuermh commented Aug 20, 2016

Being that there may be some concern in my ability to land all the relevant code changes before the 0.20 release of adam, please let me take the opportunity to consider rolling this and commit 5e81a9c back, and re-proposing some of the changes piecemeal.

We hadn't finished going though all the potential variant and genotype schema changes before I went on vacation, and this pull request didn't even reflect the latest conversation we had (for example, I believe we decided to remove StructuralVariant entirely).

@fnothaft
Copy link
Member

@heuermh you're in the office next week, right? If so, let's chat through this on standup.

@heuermh
Copy link
Member Author

heuermh commented Aug 20, 2016

Back by Wed for sure.

@fnothaft
Copy link
Member

Sounds good; we'll talk then, and I hope you're having a great trip!

@heuermh heuermh deleted the vcf-review branch March 27, 2017 23:29
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.

None yet

4 participants