User Tools

Site Tools


readme.renumf90

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
readme.renumf90 [2018/05/30 17:51] yutakareadme.renumf90 [2020/04/21 05:13] yutaka
Line 218: Line 218:
        
   * if t is 'internal',  allocation is by a user-written function custom_upg(year_of_birth,sex,ID, parent_code); not yet implemented.   * if t is 'internal',  allocation is by a user-written function custom_upg(year_of_birth,sex,ID, parent_code); not yet implemented.
 +
 +  * There are the other values for t: 'group', 'group_unisex', and 'group_sex'. See below for details.
 +
 <file> <file>
 INBREEDING INBREEDING
Line 281: Line 284:
 ==== User-defined UPG code ==== ==== User-defined UPG code ====
  
-The program accepts the following keywords in ''UPG_TYPE''.+The program accepts one of the following keywords in ''UPG_TYPE'': ''group'', ''group_unisex'', and ''group_sex''
 +With one of these options, the program looks at a particular column in the pedigree file as a group code and use it for assigning the UPG code. If an animal has a missing parent, the program assigns an UPG code based on the group code.
  
-    UPG_TYPE +* ''group_unisex'': The program assign an UPG code to the unknown parent regardless of the parent's sex. 
-    group +* ''group'': The program assign a separate UPG code to the unknown sire and dam. 
-     +* ''group_sex'': The user can specify a sex-specific UPG in the original pedigree file.
-    or +
-     +
-    UPG_TYPE +
-    group_unisex+
  
-With this option, the program looks at a particular column in the pedigree file as a group code and saves it. If an animal has a missing parent, the program assigns an UPG code according to the group code. If you want to assign separate UPGs by the parent's sex (sire or dam), use ''group''. The ''group_unisex'' doesn't consider the sex of parents. +For ''group_unisex'' and ''group''the column in the pedigree file is specified with the 6th item in ''FILE_POS''. The following example tells the program the 5th column in the pedigree file as the group code. The group code will be treated as characters.
- +
-The column in the pedigree file is specified with the 6th item in ''FILE_POS''. The following example tells the program the 5th column in the pedigree file as the group code. The group code will be treated as characters.+
  
     FILE_POS     FILE_POS
     1 2 3 0 0 5     1 2 3 0 0 5
  
-The program now accept 3 items5 items, or 6 items in ''FILE_POS''.+For ''group_sex''you need two additional columns in the pedigree file: one is for unknown sire and the other is for unknown dam. For example, assume the 5th column is for unknown sire and the 6th column is for unknown dam, the ''FILE_POS'' entry has 7 items. 
 + 
 +    FILE_POS 
 +    1 2 3 0 0 5 6
  
 +The program now accept 3, 5, 6, or 7 items in ''FILE_POS''.
  
  
Line 322: Line 324:
 parameters used to read the input file: parameters used to read the input file:
  
- - the default size of character fields+ - the default size of character fields (default = 20)
 <file> <file>
 OPTION alpha_size nn OPTION alpha_size nn
Line 328: Line 330:
 where //nn// is the new size. where //nn// is the new size.
  
- - the size of th record length + - the size of th record length (default = 800) 
 <file> <file>
 OPTION max_string_readline nn OPTION max_string_readline nn
Line 334: Line 336:
 where //nn// is the new size. where //nn// is the new size.
  
- - the maximun number of fields  + - the maximun number of fields (default = 100) 
 <file> <file>
 OPTION max_field_readline nn OPTION max_field_readline nn
readme.renumf90.txt · Last modified: 2024/03/25 18:22 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki