-
Notifications
You must be signed in to change notification settings - Fork 308
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
filterByOverlappingRegion Incorrect for Genotypes #1042
Comments
Agreed there seems to be redundancy here. If the fields inside of variant |
Theoretically the fields inside of |
Then Eric's question still remains as to if the the fields inside variant are left null intentionally or not, can you comment @fnothaft |
The fields were left intentionally null, with the assumption being that if you are loading |
Currently this:
Should be this, where we get
start
,end
, andcontigName
directly from thegenotype
. (I will submit a PR):It seems like when we convert VCF to ADAM, the ADAM format won't have the
start
,end
, andcontigName
fields populated in thevariant
record, but they will be populated in thegenotype
record.The filter condition should get the
start
,end
, andcontigName
fields from thegenotype
record, not thevariant
record. Is there any reason why the fields are null in thevariant
? Is this just so we don't replicate information?The text was updated successfully, but these errors were encountered: