User Tools

Site Tools


undoc:renumf90

This is an old revision of the document!


RENUMF90

Keywords

User-defined UPG code

By Yutaka Masuda

Renumf90 (version 1.145 or later) supports several methods to assign unknown-parent groups (UPGs) to missing parents. You can specify the method by UPG_TYPE, which takes one of the following keywords.

  • yob: automatic assignment of UPGs based on year-of-birth.
  • in_ped: use of UPG code (negative integer) embedded in pedigree
  • group_unisex: manual assignment of UPGs based on user-supplied group code; the same code both for unknown sire and dam.
  • group: as above; separate UPG code for unknown sire and dam.
  • group_sex: as above with flexible UPG assignment

I explain the usage of the last 3 options using the following pedigree file.

 A1 0 0    G1 H1
 A2 0 0    G1 H2
 A3 A2 A1  G2 H1
 A4 A3 0   G1 H1
 A5 0  A4  G2 H2
 A6 A5 A4  G2 H2
 A7 A5 A4  G1 H1
 A8 0  A7  G1 H1
 A9 A8 0   G2 H2

The first 3 columns store the pre-renumbering pedigree (animal, sire, and dam), and the pedigree should have 0 for the unknown parent. The last 2 columns define groups to that the animal's parents belong. You need only 1 group code (either column 4 or 5) with group and group_unisex, but two groups with group_sex.

With one group code

Renumf90 assumes that the animals with the same group-code have a common UPG. For example, with the group code in column 4, animal A1 and A8 has the same UPG for sire. Renumf90 checks the parents of an animal, and if the parent is missing, the program puts a UPG to the missing parents based on the group code of the current animal.

With group_unisex, renumf90 assigns the same UPG code both to unknown sire and dam. For example in the above pedigree, A1 will have the same UPG code both for its sire and dam.

With group, you have a separate UPG code for the unknown sire and dam. For example, A1 will have two different UPG codes for its parents.

Put 6th number on FILE_POS To specify the position of group code in the pedigree file. For example, use the following description to specify the 4th column for the groups.

  FILE_POS
  1 2 3 0 0 4

With two group code

There is a case you need more flexibility. For example, you may want to assign a separate UPG code to missing dam for A1 and A2. It is not possible to do it using one-group method (A1 and A2 share the same group code G1 that will assign the same UPG code to their dams).

The keyword group_sex accepts 2 group-columns, and assigns separate UPGs to unknown sire and dam. If the sire is missing, renumf90 assigns a UPG code based on the 1st group column, and for missing dams, the 2nd group column. You should put the positions of the group columns in FILE_POS as the 6th and 7th items. See the following example.

  FILE_POS
  1 2 3 0 0 4 5
undoc/renumf90.1587451593.txt.gz · Last modified: 2024/03/25 18:22 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki