-
Notifications
You must be signed in to change notification settings - Fork 30
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
Implement GA4GH Pedigree model #333
Comments
@buske - please add the link to the conceptual model docs when this has been finalised. |
Plan is to add The GA4GH Pedigree would be incorporated as a |
A note on backward compatibility - if it is not possible for the pedigree to be made a |
@julesjacobsen I think this is something we will have to leave for a future version? Should we close? |
Hi everyone, sorry to budge in this thread, but I was wondering if you could give more details about the future population building block. I came from #231, and I also am interested in having ethnicity part of a phenopacket. Regardless of what the final implementation is, would it include both ancestry informative markers (Ancestry category [HANCESTRO:0004]) and other less informative markers (in case the former are missing; e.g. National origin [NCIT:C28407] or Ethnic group [EFO:0001799]). |
Currently 727b245 This is external to the phenopacket-schema as it lives in the |
Hi @julesjacobsen, I do not a specific use-case and model in mind. There is a general desire from the users of my archive (EGA) to be able to provide the ethnicity of their probands, and we will try to conform to phenopackets. |
What's the status of this? |
This is work in progress and taking lead from the GA4GH-Pedigree working group. |
Hello! I'm pretty new to the use of phenopackets, and I am trying to build one as complete as possible as an example via the Python modules created here, and I stumbled upon an issue with the Pedigrees (I thought It'd be a good idea to mention it here). It may be my ignorance, but the Pedigrees are a list of Persons, and I have tried all my might to find this Person bit in the code. I was given an error that calls for phenopackets.schema.v2.core.pedigree_pb2.Person, but I have not had the ability to find it. |
Hi @acabrelles how are you accessing this? Are you using the PyPi library? |
@julesjacobsen Yes, that would be right. Also i made sure it was the last version by trying to update it just in case,but it seems I'm already up to date. |
Hello @acabrelles , the This is nicely shown in the Please try something like this to build a from phenopackets.schema.v2.core.individual_pb2 import MALE
from phenopackets.schema.v2.core.pedigree_pb2 import Pedigree
person = Pedigree.Person(
family_id='FAM001',
individual_id='ID1',
paternal_id=None,
maternal_id='ID2',
affected_status=Pedigree.Person.AFFECTED,
sex=MALE
)
pedigree = Pedigree()
pedigree.persons.append(
person,
) |
@ielis thank you so much, I did not realize that it was right there this whole time! I assumed it'd be like Cohorts. Thank you! Thank you for the quick replies! |
Closing this issue as the Pedigree model project has been in limbo for a couple of years now. |
@buske
Will require an
ethnicity
field adding to Individual:Originally posted by @julesjacobsen in #231 (comment)
The text was updated successfully, but these errors were encountered: