Madeline Home >> Test Data

Madeline 2.0 Pedigree Drawing Engine Test Data

Note: This complete set of test data is also included with the source code distribution in the "testdata" subdirectory.

Simple Pedigrees (si)

si_001

si_001 image output

This data set contains a simple nuclear family with five siblings, of which two are affected. Four of the siblings are sampled, one is unsampled. The proband is marked. Two of the siblings have approximated dates of birth: the month is known, but the precise day is unknown. Madeline2 treats these dates as ranged dates. Both parents are missing from the data set: Madeline2 is smart enough to create them as virtual individuals.

This pedigree tests:

  • Handling of missing parents when both parents are not present in the data file.
  • Display of icons, including gender unknown individuals.
  • Basic icon shading.
  • Display of sampled individuals.
  • Display of proband.
  • Display of data labels.
  • Display of encircled birth-order numerals.
  • Display of ranged dates

View or download si_001.data in Madeline flat file format.

View or download si_001ped.xml output in SVG format.

Command line:
~> madeline2 -L "IndividualID DOB" si_001.data

si_002

si_002 image output

This data set contains a simple nuclear family with 13 offspring. The affection variable records unaffected (U), moderate (M), severe (S) and unknown/missing (.) condition states.

This pedigree tests:

  • Large number of offspring in a single nuclear family.
  • Categorical Affected variable with more than two levels.
  • --color switch.

2007.02.22 Developer's Note: In the future we may implement a "collapse" mode for displaying large sibships in a more compact manner when the details of individual sibs is not important. This is not yet implemented.

View or download si_002.data in Madeline flat file format.

View or download si_002ped.xml output in SVG format.

Command line:
~> madeline2 --color si_002.data

si_003

si_003 image output

This simple pedigree data set contains multiple generations. In most of the generations there is only one offspring in a nuclear family.

This pedigree demonstrates how single married offspring are drawn. A single unmarried offspring is drawn centered directly below both parents. But when married, a single offspring is shifted so the nuclear family subtree remains centered.

View or download si_003.data in Madeline flat file format.

View or download si_003ped.xml output in SVG format.

Command line:
~> madeline2 si_003.data

si_004

si_004 image output

This is a simple pedigree which contains non-ASCII Unicode strings. In addition to having Chinese name strings, the Gender column is coded using "男" and "女" and dates in the DOB column are in Chinese format (e.g., "1999年04月10日").

View or download si_004.data in Madeline flat file format.

View or download si_004ped.xml output in SVG format.
(To view online, make sure you have Chinese fonts installed and try viewing in Opera if you only see square boxes instead of Chinese in Firefox).

Command line:
~> madeline2 -L "IndividualId DOB 姓名" si_004.data

si_005

si_005 image output

This is a simple pedigree which contains non-ASCII Unicode strings. In addition to having Thai strings, the DOB column contains dates in Thai digits.

View or download si_005.ods in OASIS OpenDocument .ods format.
View or download labels file si_005.labels in UTF-8 flat file format.

View or download si_005ped.xml output in SVG format.
(To view online, make sure you have Thai fonts installed and try viewing in Opera if you only see square boxes instead of Thai in Firefox).

Command line:
~> madeline2 -l si_005.labels si_005.odt

si_006

si_006 image output

This is a simple pedigree which demonstrates Madeline 2.0 PED's ability to draw special types of individuals. Special types of "nuclear families" such as marriages without offspring are also shown. Special types of annotations are also shown.

Madeline 2.0 uses a superset of the recommendations of the Pedigree Standardization Task Force (PSTF: Benett, RL et al (1995) Am J Hum Genet. 56: 745-752) for drawing special types of individuals and other special situations.

Spontaneous abortions (SAB) and terminations of pregnancies (TOP) are designated by prefixing individual IDs with the "@" symbol. Madeline follows the PSTF by drawing a triangular icon, but differs from the PSTF recommendations by also drawing a small square or circle below the triangle to indicate gender iconically when known.

Individuals who are adopted out are designated by prefixing individual IDs with "-" minus signs. Here again Madeline 2.0 differs from the PSTF recommendations by making the brackets surrounding the individual face outward in this case. Individuals who are adopted in are designated by prefixing individual IDs with "+" plus signs: brackets in this case face inward (just as in the PSTF recommendations).

A marriage with no offspring due to infertility is realized by inserting a "marker" individual into the database with an ID prefixed by "&". A marriage with no offspring for other reasons is realized in a similar way with a marker individual whose ID is prefixed with a "^" instead.

Inclusion of a Carrier column in the data table allows individuals such as S00110 to be marked as carriers. Inclusion of a Consultand column in the data table allows individuals such as S00111 to be marked as a consultand.

Finally, inclusion of a Superscript column in the data table permits the display of short strings of letters, numerals, or Unicode symbols just off to the right and slightly above the icons. These superscripts provide a convenient way to annotate pedigree drawings with additional information. A random assortment of superscripts is shown in the example reproduced here.

View or download si_006.data in Madeline flat-file format.

View or download si_006ped.xml output in SVG format. (Note: try viewing using Opera if the superscripted symbols appear as empty rectangles).

Command line:
~> madeline2 si_006.data

Twin Groups (tw)

tw_001

tw_001 output

This data set contains two siblings (Sandy and Sarah) with the same date of birth but the twin columns are not coded to indicate twins.

This data set tests Madeline's ability to detect twinships based on date of birth alone.

Madeline automatically draws the pair as twins. However, an encircled question mark is displayed because twin zygosity is unknown. The program alerts the user with the following messages:

Message: NuclearFamily.cpp::findTwinsByDOB(): Found siblings with the same DOB not indicated as twins. They will be considered as a twin group with unknown zygosity.
Message: NuclearFamily.cpp::findTwinsByDOB(): Individual 00024 will be treated as part of this twin group.
Message: NuclearFamily.cpp::findTwinsByDOB(): Individual 00025 will be treated as part of this twin group.

The MZTwin or DZTwin column in the data set should be completed in order to code the data set unambiguously.

Download tw_001.data in Madeline flat file format.

View or download tw_001ped.xml output in SVG format.

Command line:
~> madeline2 -L "IndividualId Name DOB" tw_001.data

tw_002

tw_002 output

This data set tests the program's rendering of two twin groups in a single nuclear family --one monozygotic and one dizygotic group.

(This pedigree is not realistic for humans, but might be possible for mice or other mammals).

2007.02.22 Developer's Note: Ordering by date of birth (or by any other field) is currently ignored in nuclear families containing twin groups, as shown here.

Download tw_002.data in Madeline flat file format.

View or download tw_002ped.xml output in SVG format.

Command line:
~> madeline2 -L "IndividualId DOB" tw_002.data

tw_003

tw_003 output

This data set tests the program's rendering of a single very large twin group.

(This pedigree is not realistic for humans, but might be possible for mice or other mammals).

This pedigree demonstrates that the program does not impose limits on the number of twins in a twin group.

Download tw_003.data in Madeline flat file format.

View or download tw_003ped.xml output in SVG format.

Command line:
~> madeline2 tw_003.data

tw_004

tw_004 output

This data set tests the program's rendering of twin groups where siblings are married and have children of their own.

2007.02.23 Developer's Note: Missing "backbone" horizontal line connecting parents to offspring twin group in the first nuclear family on the left has now been fixed in the latest code in the SVN repository.

Download tw_004.data in Madeline flat file format.

View or download tw_004ped.xml output in SVG format.

Command line:
~> madeline2 tw_004.data

Consanguinous Pedigrees (cs)

cs_001

cs_001 image output

This data set contains a consanguinous pedigree. This data set is used to test the drawing of a consanguinous mating between first cousins.

View or download cs_001.data in tab delimited format.

View or download cs_001ped.xml output in SVG format.

Command line:
~> madeline2 cs_001.data

cs_002

cs_002 image output

This data set contains a consanguinous pedigree. This data set is used to test the drawing of uncle-niece consanguinous matings occurring in subsequent generations.

View or download cs_002.data in tab delimited format.

View or download cs_002ped.xml output in SVG format.

Command line:
~> madeline2 cs_002.data

cs_003

cs_003 image output

This data set contains a consanguinous pedigree showing the rare case of an aunt marrying a nephew.

2007.02.15 Developer's Note: The program currently always draws the children below (or "with") the mother, and this case is no exception. Is this a case where it would be better to draw offspring below the father?

View or download cs_003.data in Madeline flat file format.

View or download cs_003ped.xml output in SVG format.

Command line:
~> madeline2 cs_003.data

cs_004

cs_004 image output

In this consanguinous pedigree an uncle-niece marriage is followed by a marriage between first cousins in the offspring generation.

View or download cs_004.data in Madeline flat file format.

View or download cs_004ped.xml output in SVG format.

Command line:
~> madeline2 cs_004.data

cs_005

cs_005 image output

In this consanguinous pedigree there are three consanguinous marriages. This example also has multiple descent trees and could be classified in the cs_ms set of test pedigrees.

The marriage between individuals 4 and 3 join the two descent trees together. Because of the horizontal connector between individuals 4 and 3, the program marks individual 19 with an "A" and draws him in two locations to avoid what the program thinks will be a line crossing. A human looking at this pedigree can see that a line could actually be drawn between individuals 19 and 16 without crossing.

2007.02.15 Developer's Note: We need to re-examine how to make the Grid code smarter in cases like this.

View or download cs_005.data in Madeline flat file format.

View or download cs_005ped.xml output in SVG format.

Command line:
~> madeline2 cs_005.data

cs_006

cs_006 image output

In this consanguinous pedigree, a grand uncle marries a grand niece. This demonstrates that consanguinous matings which skip a generation can be drawn by the program.

View or download cs_006.data in Madeline flat file format.

View or download cs_006ped.xml output in SVG format.

Command line:
~> madeline2 cs_006.data

cs_007

cs_007 image output

In this consanguinous pedigree a great-grand uncle marries a great-grand niece. This demonstrates that consanguinous matings which skip two generations can be drawn by the program.

View or download cs_007.data in Madeline flat file format.

View or download cs_007ped.xml output in SVG format.

Command line:
~> madeline2 cs_007.data

cs_008

cs_008 image output

In this consanguinous pedigree, a marriage between second cousins is shown.

View or download cs_008.data in Madeline flat file format.

View or download cs_008ped.xml output in SVG format.

Command line:
~> madeline2 cs_008.data

cs_009

cs_009 image output

In this consanguinous pedigree, a marriage between third cousins is shown.

View or download cs_009.data in Madeline flat file format.

View or download cs_009ped.xml output in SVG format.

Command line:
~> madeline2 cs_009.data

cs_010

cs_010 image output

This is the consanguinous pedigree used in the published paper. In the paper, it is labeled as pedigree "F1000", but is labeled "cs_010" here. The pattern of inheritance in the family suggests a recessive or possibly a complex disease. The figure description from the paper follows:

“Sample pedigree with four consanguinous loop (CL) matings. Direct connecting lines are drawn for three of the four CL matings. However the fourth CL mating would require a line crossing and so individual T04 has been drawn in two locations and marked directly below the icon with a unique label "A" to indicate the repeat. Circled numbers indicate birth order within sibships. Dates of birth are also displayed.”

View or download cs_010.data in Madeline flat file format.

View or download cs_010ped.xml output in SVG format.

Command line:
~> madeline2 -L "IndividualId DOB" cs_010.data

Multiple Spouse Pedigrees (ms)

ms_001

ms_001 image output

This data set is used to test the drawing of a multiple spouse pedigree. One man is married to two women and there are a total of seven offspring.

View or download ms_001.data in Madeline flat file format.

View or download ms_001ped.xml output in SVG format.

Command line:
~> madeline2 ms_001.data

ms_002

ms_002 image output

This data set is used to test the drawing of a multiple spouse pedigree. Both men in this pedigree have multiple spouses. One has five spouses, the other four spouses.

View or download ms_002.data in Madeline flat file format.

View or download ms_002ped.xml output in SVG format.

Command line:
~> madeline2 ms_002.data

ms_003

ms_003 image output

This data set is used to test the drawing of a multiple spouse pedigree. One man is married to three women, and one of the offspring is also married.

View or download ms_003.data in Madeline flat file format.

View or download ms_003ped.xml output in SVG format.

Command line:
~> madeline2 ms_003.data

ms_004

ms_004 image output

This data set is used to test the drawing of a multiple spouse pedigree. One man is married to eleven women.

This demonstrates that the program does not impose limitations on the number of spouses that an individual may have.

View or download ms_004.data in Madeline flat file format.

View or download ms_004ped.xml output in SVG format.

Command line:
~> madeline2 ms_004.data

Multiple Descent Tree Pedigrees (dt)

dt_001

dt_001 image output

This data set is used to test the drawing of a multiple descent tree pedigree with two descent trees.

View or download dt_001.data in Madeline flat file format.

View or download dt_001ped.xml output in SVG format.

Command line:
~> madeline2 dt_001.data

dt_002

dt_002 image output

This data set is used to test the drawing of a multiple descent tree pedigree with three descent trees.

View or download dt_002.data in Madeline flat file format.

View or download dt_002ped.xml output in SVG format.

Command line:
~> madeline2 dt_002.data

dt_003

dt_003 image output

This data set is used to test the drawing of a multiple descent tree pedigree with four descent trees.

The marriage between 15 and 23 pushes both 5 and 12 to the rightmost position in their respective sibships in the in the descent tree formed by 1 and 2. The program avoids line crossings by drawing 5's spouse, marked by "A", twice.

In this case, a human observer can find a better solution, but the program's algorithms are not yet that smart.

View or download dt_003.data in Madeline flat file format.

View or download dt_003ped.xml output in SVG format.

Command line:
~> madeline2 dt_003.data

Icon Shading Pedigree Tests (ic)

ic_002

ic_002 image output

This data set is used to test icon shading on pedigrees. In this pedigree there are two affection columns, Affected and Affected_T. Madeline 2.0 PDE automatically divides the icons into pie-sliced regions. Bichromatic color series are automatically assigned to each categorical variable. The first affected column appears on the left, the second on the right.

View or download ic_002.data in Madeline flat file format.

View or download ic_002ped.xml output in SVG format.

Command line:
~> madeline2 ic_002.data

ic_004

ic_004 image output

This data set is used to test icon shading on pedigrees. In this pedigree there are three affection columns, Affected, Affected_A and Affected_B. Madeline 2.0 PDE automatically divides the icons into pie-sliced regions. Bichromatic color series are automatically assigned to each categorical variable. The first categorical variable always occupies the upper left-hand third. The second variable follows clockwise on the upper right. The third variable follows clockwise at the bottom.

View or download ic_004.data in Madeline flat file format.

View or download ic_004ped.xml output in SVG format.

Command line:
~> madeline2 ic_004.data

ic_005

ic_005 image output

This data set is used to test icon shading on pedigrees. In this pedigree there are five affection columns. In practice, more than three or four affection columns may make the graph difficult to read. However this example demonstrates that Madeline imposes no limit on the number of pie-sliced regions into which icons may be divided. Bichromatic color series are automatically assigned to each categorical variable. Variables are arranged visually from the upper left-hand corner and proceed in order clockwise.

View or download ic_005.data in Madeline flat file format.

View or download ic_005ped.xml output in SVG format.

Command line:
~> madeline2 ic_005.data

Consanguinity and Multiple Spouses (cs_ms)

cs_ms_001

cs_ms_001 image output

This data set has both consanguinous and multiple spouse matings present. Male m103 is married to both a female founder m106 as well as to his own niece m102.

View or download cs_ms_001.data in Madeline flat file format.

View or download cs_ms_001ped.xml output in SVG format.

Command line:
~> madeline2 cs_ms_001.data

cs_ms_002

cs_ms_002 image output

This data set has both consanguinous and multiple spouse matings present. m108 has three wives, one of whom is his niece.

View or download cs_ms_002.data in Madeline flat file format.

View or download cs_ms_002ped.xml output in SVG format.

Command line:
~> madeline2 cs_ms_002.data

cs_ms_003

cs_ms_003 image output

This data set has both consanguinous and multiple spouse matings present. The consanguinous marriage is between half-siblings in this example.

View or download cs_ms_003.data in Madeline flat file format.

View or download cs_ms_003ped.xml output in SVG format.

Command line:
~> madeline2 cs_ms_003.data

cs_ms_004

cs_ms_004 image output

This data set has both consanguinous and multiple spouse matings present. Individual 11 is married to two first cousins. The marriage to individual 10 would result in line crossing, and thus individual 10 is marked with an "A" and drawn twice.

View or download cs_ms_004.data in Madeline flat file format.

View or download cs_ms_004ped.xml output in SVG format.

Command line:
~> madeline2 cs_ms_004.data

Complex Pedigrees (cx)

cx_001

cx_001 image output

This data set contains a complex pedigree with multiple descent trees, twin groups, and consanguinous marriages.

View or download cx_001.data in tab delimited format.

View or download cx_001ped.xml output in SVG format.

Command line:
~> madeline2 cx_001.data

cx_002

cx_002 image output

This data set contains a complex pedigree with multiple descent trees, twin groups, and consanguinous marriages.

View or download cx_002.data in tab delimited format.

View or download cx_002ped.xml output in SVG format.

Command line:
~> madeline2 cx_002.data