-
Notifications
You must be signed in to change notification settings - Fork 596
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
Sample chromosome ploidy support for RWB Echo [VS-1500] #9051
base: ah_var_store
Are you sure you want to change the base?
Conversation
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.
LGTM
# the standard `sample_chromosome_ploidy` schema by the addition of the `genotype` column. At the time of this writing | ||
# it is not expected that any additional samples will be loaded into the `echo` dataset, but if there are additional | ||
# samples then this code will match the actual `echo` schema. | ||
String sample_chromosome_ploidy_schema_json = '[{"name": "sample_id","type": "INTEGER","mode": "REQUIRED"},{"name": "chromosome","type": "INTEGER","mode": "REQUIRED"},{"name":"genotype","type":"STRING","mode":"NULLABLE"},{"name": "ploidy","type": "INTEGER","mode": "REQUIRED"}]' |
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.
These changes aren't actually necessary for supporting RWB extract. They likely won't hurt, but they are not necessary for this PR as RWB does not run this wdl.
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.
Yeah that's kinda what I was trying to say with the comment. 🙂 It was bugging me that this was out of sync with SchemaUtils.java
, even if we're super unlikely to ever need these changes.
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. I had the same comment/question as Aaron. I'm a little concerned about what we will do if we copy the sample_ploidy table from Echo->Foxtrot and then have to deal with that genotype column as we add more samples. But that's not in the scope of this ticket
I was assuming we would not have a |
Yeah, that makes sense. So, would we delete that column from the copied table? Or just regenerate it? |
Differs from the "stock"
sample_chromosome_ploidy
table in having a "bonus"genotype
column.