Skip to content

Commit

Permalink
Merge pull request #182 from ga4gh-beacon/website-docs_pedigree
Browse files Browse the repository at this point in the history
Add help section and pedigree
  • Loading branch information
mbaudis authored Nov 15, 2024
2 parents 936383e + 9343b00 commit aa35d03
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
Binary file added docs/img/Pedigree-image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions docs/pedigree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Overview of the JSON schema *pedigree.json*

The [JSON schema for the pedigree data](https://github.com/ga4gh-beacon/beacon-v2/blob/main/models/src/beacon-v2-default-model/common/pedigree.yaml) defines how members of a pedigree (family tree) are represented. It includes several key components:

1. **"id"**: A unique identifier for the **pedigree**, which is distinct from a family ID. This is because one individual can be involved in multiple pedigrees related to different diseases.

![Example pedigree schema](/img/Pedigree-image1.jpg)

*Example: in case a proband (Proband 1) is affected by two diseases segregating in the family, they can be found in two pedigrees related to these different diseases (pedigree drawn here from the Proband 1 perspective showing all family members).*

2. **"members"**: An array of individuals involved in the pedigree, either with a full family structure (if attached to the proband) or with two members (if the perspective is from a parent or relative). Each member object includes:
- **"affected"**: Whether the individual is affected by the disease.
- **"memberId"**: The unique identifier of the individual.
- **"role"**: A role object identifying the relationship of the individual (e.g., proband, biological mother, biological father).

3. **"disease"**: A reference to the disease(s) affecting the individual in the pedigree. This links to another file, `disease.json`, which contains more details about the disease data.

4. **"numSubjects"**: The total number of individuals in the pedigree. This simplifies queries by providing the total count, helping to avoid reconstructing the family tree repeatedly.

# Asymmetry in "members":

- If the schema is defined from the **proband's perspective**, all members (proband, parents, etc.) are included.
- If defined from **another individual's perspective** (e.g., the mother), only two entries are included: the individual and the proband.
This structure helps with flexibility in representing different family views and cases where an individual may appear in multiple pedigrees.

# FAQs and considerations:

**1. Is it necessary to include one pedigree for each disease an individual has?**

**Answer**: No, it is not necessary to create a new pedigree for every disease an individual has. Doing so can overburden the system with redundant information, resulting in many pedigrees that may be of little to no interest. Instead, you should focus on the most relevant or impactful diseases for the family and research context.

**2. Can pedigrees be added on demand?**

**Answer**: Yes, pedigrees can be added dynamically as the individual’s data in Beacon is not static. This allows flexibility to update an individual’s genetic or family data as more information is discovered, or when a particular disease becomes the focus of research or clinical interest.
1 change: 1 addition & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ nav:
- Using Beacons:
- Genomic Queries: variant-queries
- Phenotypes and More...: /filters/#using-filters-in-queries
- Pedigrees: pedigree
- Data Delivery:
- Biosamples, Variants...: records
- Data Handovers: handovers
Expand Down

0 comments on commit aa35d03

Please sign in to comment.