magnusdv / quickped

An online pedigree tool for research applications. Build pedigrees interactively and store as images or text files in ped format. QuickPed also computes a variety of relatedness coefficients and offers verbal descriptions of pairwise relationships.
https://magnusdv.shinyapps.io/quickped
GNU General Public License v3.0
22 stars 3 forks source link
forensic-genetics medical-genetics pedigree pedigree-analysis relatedness

QuickPed

***Try QuickPed here***: .

What is QuickPed?

QuickPed is an interactive web application for drawing and analysing pedigrees. A created pedigree may be saved as an image, as a .ped file (see below) or in the form of R code to reproduce the plot. You may also obtain various information about the pedigree, including relatedness coefficients and verbal descriptions of relationships.

QuickPed is powered by the pedsuite, and uses kinship2 for plot alignment calculations. The web app was built with Shiny.

Getting started

Creating pedigrees with QuickPed is very intuitive: Select a suitable start pedigree and modify it as needed. You may also load an existing ped file (see below). Modifications are done by clicking on one or several individuals and then applying appropriate buttons, for instance to add children, siblings or parents. At any time you may change attributes like sex, affection status, twin status and ID labels.

Tips and tricks

Built-in pedigrees

In the left-most panel of QuickPed the user may choose among a selection of standard pedigrees, including trios, full/half siblings, avuncular and cousin pedigrees of different kinds. Also included are several interesting (albeit less common) pedigree structures like double cousins and quad half first cousins. Finally, the following historic pedigrees are available:

Relationship information

Under Relationships there are four buttons offering different analyses of relationships within the loaded pedigree. The buttons are, in order:

More information about these coefficients can be found in the documentation of the ribd package, which is used in the calculations.

Ped files

A useful feature of QuickPed is to produce text files describing pedigrees in so-called ped format. Such files are often required by software for pedigree analysis.

For a simple illustration, consider this pedigree:

A text file describing this pedigree may contain the following.

 id fid mid sex aff
  1   0   0   1   1
  2   0   0   2   1
  3   1   2   2   2

The columns are:

It should be noted that the ped format is not completely standardised, and different software may use slightly different versions. For example, a first column with Family ID is sometimes required. Also, the aff column may not be needed in non-medical applications. These and other details may be specified when using QuickPed.

Some pedigree information may be shown on the plot, but is not stored in the ped file. In the current version of QuickPed, this includes colours, text annotations (expect main labels), twin relationships, and deceased status.