TDM GMS Browse
THE GMS BROWSE APPLICATION
The BROWSE program is a GMS application for viewing and changing GMS records. It is a FORTRAN 90 console application with a DOS-style user interface (Figure 1.)
Figure 1. The BROWSE Interface ************************************************************************ ICIS UTILITY FOR BROWSING AND MODIFYING A GMS DATABASE (Version 18.104.22.168) ************************************************************************ INI FILE (E:\TEmp\ICIS.INI) [CENTRAL GMS] DSN=IRIS-CENTRAL-MYSQL [LOCAL GMS] DSN=IRIS-ADMIN-MYSQL [BROWSE] LASTDIR=E:\ICIS5\DATABASE USER GMCLAREN4 CONNECTED TO the Central Administration Local Database ---------------------------------------------------------------------- BROWSE WILL SEARCH FOR NAME STRINGS OR EXECUTE COMMANDS, A % AT THE END OF A SEARCH STRING MATCHES ALL ENDINGS, A _ IN A SEARCH STRING MATCHES ANY CHARACTER AT THAT POSITION ,NLOC=xxx and ,NTYPE=yyy RESTRICS THE SEARCH BY LOCATION OR TYPE COMMANDS START WITH ".", OTHERWISE A SEARCH STRING IS ASSUMED. THE FOLLOWING COMMANDS ARE AVAILABLE: .n - DISPLAY ENTRY n FROM THE CURRENT LIST .GID # - DISPLAY GMS DATA FOR GID #, EG .GID 12345 .Pn - DISPLAY GMS DATA FOR PROGENITOR n OF CURRRENT GID .FCR <Purdy string> - FINDS CROSSES BETWEEN PARENTS .TRE #,n - LIST THE PEDIGREE TREE FOR n GENERATIONS .TCE #,n - TRACE ALL DESCENDANTS FOR n GENERATIONS .INP <file.ext> - SET THE INPUT STREAM TO FILE .MGM # - DISPLAY A MENDELGRAM FOR GID # .COP #1,#2 - COMPUTE COP BETWEEN GID1 AND GID2 OR .COP LST FOR GIDS IN A LIST .REP #1,#2,<reason> - REPLACE GID1 WITH GID2 (#2=0 TO DELETE GID1) .SET fld=## IN # - CHANGE GERMPLASM OR NAME DATA (.SET for HELP) .NAME #,<ntype>,<nlocn>,<ndate>,<nref>,<nvalue> - ADDS A NAME FOR GID # .NOTE #,<avalue> - ADDS A NOTE ATTRIBUTE FOR GID # .OPT - GIVES HELP ON OPTIONS .MORE - GIVES HELP ON MORE FUNCTIONS ENTER SEARCH OR COMMAND STRING (.HLP=HELP, ./=END)
BROWSE reads the ICIS.INI file from the default temp directory (indicated by the environment variable ‘temp’). If the [Local GMS] section of ICIS.INI has ‘UID’ and ‘PWD’ keys, BROWSE will try to open GMS with the corresponding USER_ID and PASSWORD (See installation guide). If this fails, the program asks the user for these parameters. BROWSE also reads a working directory path from the ‘Lastdir’ key of the [Browse] section of ICIS.INI. If the LastDir key does not exist, the user is asked for a working directory where a log file will be stored and where batch input files can be accessed. Other options which set defaults or affect displays can be set through keys in the Browse section of the INI file or through the .OPT command.
Once the database is connected, BROWSE requests a search or command string as in Figure 1. Command strings always start with a period and the rest of the command string may contain parameters. Any input line, which is not recognized as a command, is assumed to be a name string.
BROWSE will accept a list of names or commands to process from a file and send output to the console and to a log file, BROWSE.LOG, located in the BROWSE working directory. This log file can be processed or printed, but is overwritten by each BROWSE session. Names or commands for batch processing are typed into an ASCII file in the BROWSE working directory exactly as they would be at the command prompt. The command .INP <filename> will cause BROWSE to read the commands from the named file and process them consecutively. User interventions to select from lists or confirm changes must still be entered at the console although some selection options can be specified.
Searching for Germplasm
Two types of data can be entered at the BROWSE command line, commands which start with a point followed by three specific letters, and name strings which have first four characters not matching any command. When BROWSE receives a name string, it searches the local and central NAMES tables for matches.
Name strings can terminate with a ‘%’ symbol which requests a match to the first part of the string with any termination, and they may contain the underscore character, ‘_’, which requests a match to any character at that position. Name strings are searched as typed, and after transformation to standard form.
All matches are listed in a table of ‘hits’ numbered in the left column, showing all names, which will fit onto one line, with the preferred name first. At the end of the table, the user may enter ‘.n’ where n is an entry number from the list to view all germplasm information for that entry, or another command or search string. The display for the selected entry is described in below. The list is retained in memory until another one is formed and the command ‘.n’ will always display germplasm information for the nth entry in the last list.
Searching for crosses
The command .FCR <string> will search for crosses according to progenitor combinations rather than simple string matching. The string should be a valid Purdy designation which may contain wild cards. The string is recursively split into female and male parents and lists of gids for the parents are compiled by automatic name searches. BROWSE then checks the database for any cross combinations between parents from the male and female lists. The % and _ wild cards can be used, and also the character ‘^’ which indicates ‘any line from the specified cross name’.
If the option FCPS=1 is set and the string entered in an ordinary name search is a valid Purdy cross string without wild characters, then it will be searched for string matches and it will also be parsed and crosses matching the string will be searched according to the GIDs of the progenitors.
Displaying Records by GID
The command ‘.GID’ followed by a GID value displays all GMS records for that GID in the same way as selecting an item from a name search list. If the specified GID has been replaced, the records for the replacement are displayed. If no GID value follows the command, the last selected GID will be displayed.
The display consists of the preferred name, the source, the one-level cross expansion (if it exists) and all alternative names. All fields in the germplasm record, all attributes, and the full location record follow this, if the germplasm location is not missing. The Generation Number of the associated germplasm is also displayed as described below.
The command .REL <gid> requests BROWSE to list all the close relatives of the specified germplasm. These include the following relatives: a) The source and group if the germplasm is derivative b) Its sister lines - those having the same source c) Immediate derivatives (germplasm having the target germplasm as source).
The command .GRP <gid> requests BROWSE to list all the group relatives of the specified germplasm, ie all derivative germplasm with the same group ID as <gid>.
A Derivative Neighborhood
The command .DNB <gid>,n will list all derivative relatives of germplasm <gid> within n derivative steps. If <gid> is omitted the current GID is used, if n is omitted then 3 is used.
Showing Multilateral System Ancestors
The command .MLS <gid> <ngen> will list all MLS ancestors in the pedigree of GID=<gid> up to <ngen> generations. If <gid> is missing the the current GID is used. If <ngen> is missing the maximum generations is used. MLS lines have an MLS_DATE attribute (UDFLD No. 223) which indicates that they have been designated as part of the Multi-lateral system for germplasm exchange.
Presentation of Generation Codes
When BROWSE displays germplasm records or when the command .GCD <gid> is entered, the DLL function GMS_ComputeGenerationNo (6.9.4) is called and the results are formatted as follows:
- <CrossCode> is the method abbreviation (MCODE) for the last generative method or ‘Ukn’ for unknown derivative germplasm. If the last generative method is a backcross the <CrossCode> is followed by the backcross dose (NBC).
- Fn is ‘F’ followed by the number of derivative generations (NGEN). n=1 for generative germplasm, and n=? if the source is unknown in any generation so that the number of generations cannot be counted.
- X is ‘S’ or ‘D’ followed by a generation number. Sj indicates that the line was last selected from a single plant in generation j. Dj indicates that chromosome doubling occurred in generation j. If neither event occurred the Xj is omitted.
- Mk indicates that the last k generations were produced by management methods designed to preserve the genetic status of the line.
- If the germplasm is derivative then <MCode> is the method abbreviation (MCODE) for the last generation. Otherwise <MCode> is not presented.
GENERATION CODE: C2W(F7,S6)DSP FOR -49064: CROSS 100-B-1-2-3-B-1 GENERATION CODE: C2W(F6,S4)DRB FOR -49063: CROSS 100-B-1-2-3-B GENERATION CODE: C2W(F4,S3)DSP FOR -49067: IR 80000-B-B-1 GENERATION CODE: C2W(F9,S3)DSP FOR -49072: IR 80000-B-B-1-B-B-B-B-B GENERATION CODE: C2W(F1) FOR -49046: CROSS 100 GENERATION CODE: C2W(F2)DSB FOR -49047: CROSS 100-B GENERATION CODE: C2W(F3,S2,M1)IDN FOR -49050: CROSS 100-B-1-25 P GENERATION CODE: C2W(F6,D5)DDH FOR -49058: CROSS 100-B-1-12-4-DH 23 GENERATION CODE: C2W(F7,D5)DSP FOR -49059: CROSS 100-B-1-12-4-DH 23-1 GENERATION CODE: Ukn(F0,M1)ISE FOR 318468: YUEN NAN CHAN TAO,IRGC 1234,PI 160631 GENERATION CODE: C2W(F4,S3,M1)VCR FOR 569736: PB 64,IR 64 GENERATION CODE: Ukn(F?)UDM FOR -48414: KOLOSAIL
The command .CXP <gid>,n will produce the cross expansion of germplasm gid up to n generations.
Pedigree Trees and Tables
The command ‘.TRE’ followed by a GID and optionally a level number will display a GMS record as described above and the pedigree tree for the specified germplasm to the termination of the tree or the specified number of levels, whichever is less. If no level number is specified, 3 is used, if no GID is specified, the last selected GID is displayed.
The pedigree tree is displayed vertically (Figure 2). Lines with the symbol ‘>’ before the name indicate that the germplasm above the symbol is derived from the germplasm on the current line. Lines starting with “+” indicate that the germplasm above the “+” is produced by a generative process with the germplasm on the current line as one of its progenitors. Progenitors occur in the order specified by the germplasm method, so for biparental crosses, female progenitors are above male progenitors. The number of derivative steps from the germplasm on the current line to its group source is displayed to the right of the names followed by the GID and a code symbol. The symbol “*” indicates germplasm which is expanded elsewhere in the tree, ‘<’ indicates germplasm which could be further expanded than the current number of levels and ‘#’ indicates germplasm with no known source.
Figure 2. The BROWSE Pedigree Tree ------------------------------------ PREFERRED_NAME (TYPE=RELNM):IR 64 SOURCE: IR 18348-36-3 CROSS: IR 5657-33-2-1/IR 2061-465-1-5-5 OTHER NAMES: DRVNM IR 18348-36-3-3 ITEST IRTP 12158 GERMPLASM_ID = 50533 NO_PROGENITORS = -1 METHOD = DSP( 205) PROGENITOR_ID1 = 24489 PROGENITOR_ID2 = 50532 GERMPLASM_USER = 10 LOCAL_GERMPLASM = -50533 GERMPLASM_DATE = 19850000 LOCATION = 9000 GERMPLASM_REFERENCE= 1 GERMPLASM_REPLACE = 0 ATTRIBUTES: INGER 12158 PHL 005 1IRGC 66970 LOCN 9000 IRRI-INTERNATIONAL RICE RESEARCH INSTITUTE, LOS BANOS, PHL ---------------------------------------------------------------------- 1IR 64 3 50533 5 +-IR 5657-33-2-1 3 24486 10 | +-IR 5236 0 8180 18 | | +-IR 2006-P3-31-3 3 8082< 19 | | +-IR 2146-68-1 2 8111< 11 | +-IR 5338 0 8307 20 | +-IR 2061-465-1-4 3 8301< 21 | +-IR 2055-475-2 2 7326< 6 +-IR 2061-465-1-5-5 4 11072 16 +-IR 833-6-2-1-1 4 3707 26 | +-IR 262-43-8-11 3 1171< 27 | +-GAM PAI-15 2 109 44 | >GAM PAI ? 253220# 17 +-IR 2040 0 3661 28 +-IR 1561-149-1 2 3660< 29 +-IR 1737 0 3006< ----------------------------------------------------------------------
The option NAMP affects the names printed on the tree. If NAMP=0 only the preferred name is printed, if NAMP=1 all names are printed if space allows, and if NAMP=2 an accession number is printed after the preferred name if one exists (see .OPT).
The modified command .TRE LST <lvl> will write the pedigree trees up to <lvl> generations for all entries in the open list to the screen and to the log file and also plot them as a single directed graph to the graph viewer. (If <lvl> is absent the complete trees are plotted). A list becomes open after a .LST command or a .SAV or the .OPT LIST=n command.
The command ‘.TAB’ followed by a GID and optionally a level number will display a GMS record as described above and a table of progenitors for the specified germplasm as far as the termination of the tree or to the specified number of levels, whichever is less. If no level number is specified, 3 is used, if no GID is specified, the last selected GID is displayed. The table has columns for Child GID, Parent GID, Parent Name, Parent generation (F No), Cross Method, and an Accession Number if available.
The command “.MGM” displays a mendelgram for the target GID. This is a table of progenitors of the target with their type, contribution, count and origin. The TYPE is ‘T’ if the progenitor is a terminal progenitor in the pedigree tree, i.e. a landrace or progenitor with unknown pedigree. TYPE is ‘IG’ if the progenitor is intermediate and generative with known parents and is ‘ID’ if it is intermediate and derivative with known source.
The contribution, CONT, is the probability that a randomly chosen, unselected allele in the target genotype comes from that progenitor. It is the Coefficient of Parentage between the line and the ancestor (see below). The COUNT is the number of times a progenitor occurs in the full pedigree tree of the target and CTY is the country of origin or development of the progenitor.
A richness index is computed which is the probability that alleles at two randomly chosen, unselected loci come from the same terminal progenitor. (This is 1.0-Sum of Squares of CONT).
By default BROWSE lists only terminal progenitors, but if the flag MGAT is set to 1 (command .OPT MGAT=1) then all progenitors are listed. Also Browse completely expands the pedigree by default, but the command .MGM <n> will stop expansion after n generations and calculate the statistics as if it were the full expansion.
A second argument <locid> added to the .MGM command (Eg .MGM <n>,<locid>) will stop expansion of the Mendlegram at n generations or whenever a gid with GLOCN=<locid> is encountered (whichever is first). The total contribution of all terminal points with GLOCN=<locid> is also printed.
The command “.TCE <gid>,n” will trace all descendants of germplasm gid for n generations. (In this case a generation is a single step whether generative or derivative.) If n is omitted then all generations are traced. A summary of the number and type of descendants at each generation is given, and the descendants that have accession numbers, international testing numbers or release names are listed. Care must be taken in selecting germplasm to trace because the number of descendants of an important ancestor can explode.
The full set of descendants is stored in a TRACE list in the LISTDATA table. The ENTRYCODE field contains a string indicating several properties of the current germplasm: The number of derivative steps is in column 1 (degree of inbreeding – 1 for generative, 2 for F2 … and * for unknown). Column 2 contains ‘A’ if there is an accession number associated with the current germplasm, column 3 contains ‘I’ if there is an International Testing number, column 4 contains ‘R’ if there is a release name. Column 5 contains ‘P’, ‘S’, ‘B’ or ‘T’ to indicate whether the current germplasm is a parent, source, both or neither (terminal) in the next generation. If the role of the current germplasm in the next generation is not determined then column 5 contains ‘?’. Columns 6-10 contain the generation number of the current germplasm. The SOURCE field of the LISTDATA table contains the country of origin of the current germplasm, and the DESIG field contains the preferred name and the specific names indicated in columns 2-4 of ENTRYCD. The full list can be queried, displayed and sorted in various ways with DBMS specific tools or with SETGEN.
Coefficients of Parentage
GMS can trace genotypes back to their parental landraces or to lines of unknown pedigree. Genealogical features of a set of germplasm can be exploited through statistics such as the Coefficient of Parentage (COP). Originally developed by Wright (1922), the COP for two genotypes estimates the expected percentage of alleles identical by descent at loci which are polymorphic within a population. The COP between two lines is the inbreeding coefficient of their offspring. St. Martin (1982) adapted COP analysis to inbred crops by assuming that each genotype is completely homozygous, that genotypes without common parentage are unrelated and that parents contribute equally to the offspring, despite inbreeding and selection. Highly selected, qualitative loci would not follow the assumption of random transmission of a large number of alleles. However, in a general sense, a COP is a measure of overall common ancestry of two genotypes and estimates latent genomic diversity that is not obvious until a crop is challenged by the appropriate biotic or abiotic stress. Breeders can use COPs to increase genetic diversity by selecting lines for crossing with divergent parentage.
However, please heed the warning that SPURIOUS LOW COP VALUES THAT REFLECT INCOMPLETE PEDIGREE INFORMATION RATHER THAN A TRUE LOW LEVEL OF COANCESTRY MAY BE GENERATED. If the highest theoretical contribution (HTC) of any ancestor is large (say larger that .1) then this may indicate incomplete pedigree information. The HTC corresponds to the first and largest value of the mendelgram and a value of 0.5 usually reflects that one immediate parent is non-expandable, with 0.25 indicating one unexpandable grandparent.
The command '.COP <gid1>, <gid2>' will calculate the coefficient of parentage between germplasm gid1 and gid2. The algorithm followed is described in Sneller, C.H. (Crop Sci. 34:1679-1680 1994). The option BTYPE indicates the breeding method: BTYPE=1 for self fertilizing crops (SF) and 0 for cross pollinating crops (CP). Original sources are assumed unrelated and homozygous in SF crops. For cross pollinating species the assumption used to be that all terminal strains were F1s - seeds from a single cross. This proved to be too restrictive for the variety of situations which arise in maize breeding. In particular, lines extracted from a population are much more diverse than lines from a single cross. Hence in version 22.214.171.124 these assumptions about the inbreeding level (COPZ) have been refined for terminal strains depending on the breeding method (METHN) assigned to those strains as follows:
- IF METHN.EQ.002 (Unknown Generative) then COPZ=0.0 - like an F1
- IF METHN.EQ.032 (Unknown Derivative) COPZ=1.0 - fully inbred
- IF METHN.EQ.421 (Random Mating) COPZ=-1.0 - unrelated
- IF METHN.EQ.422 (Open Pollination) COPZ=-1.0 - unrelated
- IF METHN.EQ.551 (Landrace population) COPZ=-1.0 - unrelated
- IF METHN.EQ.553 (Landrace Cultivar) COPZ=-1.0 - unrelated
- IF METHN.EQ.554 (Collection Population) COPZ=-1.0 - unrelated
- IF METHN.EQ.556 (Collection Wild) COPZ=-1.0 - unrelated
- IF METHN.EQ.558 (Collection weedy) COPZ=-1.0 - unrelated
The generation where sister lines diverge is retrieved from the database, but where this information is unknown they are assumed to be identical for SF crops or to diverge at the group for CP crops.
Batch mode or a list version as described below can be used to calculate multiple COP values.
If a germplasm list is active in BROWSE then the command .COP LST <lvl> extracts and the combined pedigree tree up to <lvl> generative generations for all entries in the open list and calculates COP values for all pairwise combinations of germplasm in the list using the available levels. If <lvl> is absent then the tree for each entry is expanded for all generations and the COP values computed using all generations. A list becomes active in BROWSE after a .LST command or a .SAV command or after the command .OPT LIST=n. .COP LST displays the COP values for all pairs in the list ordered as the lower triangular part of the COP matrix by rows provided the list has 100 entries or fewer. It outputs the same matrix list to BROWSE.LOG for lists of any size (up to 3000 entries in version 126.96.36.199). The lower triangular part of the COP matrix as well as its inverse, or G-inverse if it is singular, are printed by rows in sections of ten columns for lists up to 2000 entries. Singularity is declared if eigen values less than 1.0e-9 are encountered. The eigen values are printed to BROWSE.LOG, as well as a GIV serial format of the inverse matrix suitable for use by ASREML software.
References and Further Reading on Coefficients of Parentage
- Braun, H.-J., Pfeiffer, W.H., and Pollmer, W.G. 1992. Environments for selecting widely adapted spring wheat. Crop Science 32:1420-1427.
- Barrett, B.A., Kidwell, K.K. and Fox, P.N. 1998. Comparison of AFLP and pedigree-based genetic diversity assessment methods using wheat cultivars from the Pacific Northwest. Crop Science 38:1271-1278.
- Brennan, J.P. and Fox, P.N. 1998. Impact of CIMMYT varieties on the genetic diversity of wheat in Australia. Australian Journal of Agricultural Research 49:175-178.
- Fox, P.N. and Skovmand, B. 1996. The International Crop Information System (ICIS) - connects genebank to breeder to farmer's field. In Cooper, M. and Hammer G.L. eds. Plant Adaptation and Crop Improvement. CAB International.
- Jain, K.B.L. 1994. Wheat cultivars in India: names, pedigrees, origins, and adaptations. Research Bulletin No. 2, 72 pp., Directorate of Wheat Research, Karnal, India.
- Smale, M. and McBride, T. 1996. Understanding global trends in the use of wheat diversity and international flows of genetic resources. Part 1 of CIMMYT 1995/96 World Wheat Facts and Trends: understanding global trends in the use of wheat diversity and international flows of wheat genetic resources. Mexico, D.F.: CIMMYT.
- Souza, E., Fox, P.N., Byerlee, D., and Skovmand, B. 1994. Spring wheat diversity in irrigated areas of two developing countries. Crop Science 34:774-783.
- Souza, E., Fox, P.N. and Skovmand, B. 1998. Parentage analysis of International Spring Wheat Yield Nurseries 17 to 27. Crop Science 38:337-341.
- St. Martin, S.K. 1982. Effective population size for the soybean improvement program in maturity groups 00 to IV. Crop Science 22:151-152.
- Thomas, N. 1996. Use of IARC germplasm in Canadian crop breeding programs: Spillovers to Canada from the CGIAR and some outflows from Canada. Ottawa: CIDA.
- van Beuningen, L.T. and Busch, R.H. 1977. Genetic diversity among North American spring wheat cultivars. I: Analysis of the coefficient of parentage matrix. Crop Science 37:564.
- Wright, S. 1922. Coefficients of inbreeding and relationship. American Naturalist 56:330-338.
Graphical Presentation of Pedigrees
BROWSE will work in conjunction with the DOT program of the GraphViz 2.26.3 package and a graphical viewer to render pedigree information as directed graphs. GRAPHVIZ must be installed on the computer and the ini key GVIZ must point to the full path of the directory containing the DOT.EXE program. Eg: GVIZ=C:\Program Files (x86)\Graphviz2.26.3\bin\ On some Windows 7 installations. (Ini key GVIZ is not necessary if the directory is in the default path). The graphical viewer must also be installed and the ini key VIEW must point to the viewer program. IrfanView for windows ver 4.27 works well and the ini key for the default installation is: VIEW=C:\Program Files\IrfanView\i_view32.exe or VIEW=C:\Program Files (x86)\IrfanView\i_view32.exe on Windows 7.
Plotting a single Pedigree Tree
The command .PTR <gid> <lvl> will plot the pedigree tree for germplasn <gid> up to <lvl> generative generations. If <lvl> is absent then three generations are plotted. If <gid> is absent the the currently displayed GID is used.
The command .TRE <gid> <lvl> will produce the same plots and also print the pedigree tree on the screen and to the log file.
Plotting Pedigree Trees for all entries in a List
The command .TRE LST <lvl> will write the pedigree trees up to <lvl> generations for all entries in the open list to the screen and to the log file and also plot them as a single directed graph to the graph viewer. (If <lvl> is absent the complete trees are plotted). Each entry in the list (up to 20) is plotted in a different colour, and any node which occurs in more than one pedigree is coloured red. (Ancestral nodes of a red node may not be coloured red although they too obviously occur in multiple pedigrees).
Plotting Pedigree Trees for Two Entries
The .TRE LST command can be used with a list of two entries as above or the .COP <gid1> <gid2> command can be used to the same effect.
The .DNB (derivative neighbourhood) and the .GRP (group relatives) commands now produce a graphical display is the graph viewer is available. The focal GID for each command is shown in red, and the group source of all the lines in the output set is in green.
For the .DNB display the edges connecting members to the group source are not shown so that the group source could appear isolated from the entries (if the root of the neighbourhood is a derivative with unknown source).
For the .GRP command, entries are connected by green lines to the group source and by black edges to the sources.
Changing and Correcting Germplasm Records
Deleting or Replacing Germplasm
The command ‘.REP’ followed by three parameters, GIDX, GIDY and REASON requests BROWSE to replace germplasm with GIDX by germplasm GIDY and add the REASON to the replace attribute. REASON may be null, and if GIDY is null or zero, then GIDX is deleted. The algorithms in 3.9.7 and 3.9.8 are followed. If GIDX is negative, the dependencies and the CHANGE field are changed immediately and the REPLACE attribute is stored. Otherwise, local dependencies are changed, central dependencies are listed and the REPLACE attribute is stored on the local ATTRIBUTES table to be processed when the central GMS is updated.
Setting Germplasm or Name Fields
Any field of a germplasm record can be set with command .SET <Field>=Value IN y, where <Field> can be GPID1, GPID2, GLOCN, GDATE, METHN or GREFN. Change records are added to the CHANGES table for the target GID (y) If the germplasm is local, y<0, the actual field is also changed. If the target germplasm is central, only the change records are added to the CHANGES table, but DLL functions check for, and apply changes at run-time so this allows local users to make effective immediate changes to the central database.
Progenitor numbers for existing central or local germplasm can be set or changed with the commands .SET GPID1=x IN y and .SET GPID2=x IN y. x and y are valid central or local GIDs, or x may be zero. The new value, x, may be local even when the target, y, is central. If ‘IN y’ is missing the last selected GID is assumed. (Note: The syntax and spacing of the SET command is critical.) Other GERPLSM fields and NAME fields can be edited in the same way. The full syntax of the .SET command is:
.SET fld=xx IN nn <description>
- ‘fld’ is GPIDn (n is 1, 2...3 etc), GLOCN, GDATE, METHN, MGID, GREFN, GNPGS,NDATE, NLOCN, NREFN, NTYPE OR NSTAT,
- ‘xx’ is the new value for the specified field,
- ‘nn’ is the GID for GERMPLSM fields or NID for NAME fields and
- '<description>' is a text description of the change which will be added to the CDES field of the CHANGES table.
- In addition, if .OPT REFID is set to m then CHANGES.CREF will be set to m for all changes until the next .OPT REFID command
Adding Notes and Names
Note attributes can be added with the command:
If <gid>, is missing the note is added to the current germplasm (<avalue> may not start with a number in this case).
Names can be added for any germplasm with the command:
IF <gid> is zero or null, the name is added to the current germplasm. Option NMSD determines whether <nvalue> will be standardized or not before being added to the database.
Working with Lists in BROWSE
Opening existing lists
Existing germplasm lists in GMS can be opened with the command .OPT LIST=n where n is the LISTID of the list to be opened. .OPT LIST displays all the lists available.
Adding entries to a list
The command .LST <gid>,<code>,<source>,<desig> will add germplasm with GID=<gid> to the currently active list. (If no list is active, a new one with name BROWSEn is opened where n is the next available number). Any of the fields in the .LST command may be null and defaults will be used. The default for <desig> is the preferred name if option NAMP=0 or all names if NAMP=1. If <gid> is null the current GID is saved.
Saving a displayed table as a list
Many processes in Browse such as name searches, searches for relatives or tree displays result in numbered lists appearing on the screen. All entries in the last list displayed at any point can be saved to the active germplasm list by entering the command .SAV. If no list is active, a new one will be created (with name SAVEn). An existing list can be opened with the LIST option. If the list being saved is a tree then the tree information is also saved and can be viewed in the Group Name and Entry Code fields of the list (in SETGEN for example). The preferred name is written to the DESIG field of the list unless option NAMP is set to 1 in which case all names are stored.
Displaying the entries in an open list
The .DSL <listid> command displays list entries. If <listid> is null, entries for the current open list are displayed, otherwise list <listid> is opened and entries displayed.
Exporting the cross histories for all entries in a list
The command .ICP LST <lvl> will expand the pedigrees of all entries in the open list up to <lvl> generative generations and export the cross histories (not the derivative steps) in OFFSPRING, DAM, SIRE format. (If <lvl> is absent then all generations are expanded). A column headed GENERATIONS gives then number of generations of inbreeding for the OFFSPRING from the cross. This is set to -1 if this number is unknown (0 if the OFFSPRING is an F1). There is also a column for the ICIS method number corresponding to the last breeding operation leading to OFFSPRING. A list becomes open after a .LST command or a .SAV or the .OPT LIST=n command.
Exporting the combined pedigree tree for all entries in a list
The command .EXT LST <lvl> extracts and exports the combined pedigree tree up to <lvl> generative generations for all entries in an open list to the LOG file. If <lvl> is absent then the tree for each entry is expanded for all generations. A list becomes open after a .LST command or a .SAV or the .OPT LIST=n command. The structure of the tree is described in the output.
Searching lists for a specified germplasm
The command .SLS <gid> searches all lists for entries with GID=<gid> and lists them in a table showing list and entry identification.
Using BROWSE in Batch Mode
If you prepare a text file with a list of names, one to a line, and then give the command “.INP <path and file name>"at the BROWSE prompt, it will search the names one after the other, and the user can select the germplasm from the hit list in the usual way (enter .n where n is the number of the desired germplasm in the list). You can also put any BROWSE commands in an input file such as .TRE <gid> or .GID <gid> or .COP <gid1> <gid2> etc. When searching a long list of names a useful command to put at the top of the list is .OPT IOPT=1 which causes BROWSE to accept a single hit in a name search without being prompted. The user must still select from multiple hits. (the command .OPT IOPT=0 at the end of the file of names re-sets the default). Other options affecting searching and selecting entries are described with the .OPT command. The most useful output from BROWSE when used in batch mode is the log file BROWSE.LOG which is always produced in the default BROWSE directory.
Setting BROWSE options
Browse also has several options which can be set with keys in the [Browse] section of the INI file or with the .OPT command at run time. These are REFID, LOCID, IOPT, ISRH, MGAT, NAMP, NTCX and LIST. REFID and LOCID can be used to set default location and reference identifiers. If these are not present in the INI file, zero values are assigned. IOPT and ISRH affect which germplasm are shown and selected in search lists. MGAT affects the Mendlegram display and NAMP the Tree display. NTCX affects the cross expansion, causing it to terminate on any germplasm with a name of the type specified by its value. LIST allows BROWSE to open an existing germplasm list for adding entries or continuing a trace.
SET OPTIONS WITH COMMAND: .OPT <option>=x
IF <option> IS REFID, SET DEFAULT REFID TO x, ELSE x=0 IF <option> IS LOCID, SET DEFAULT LOCATION TO x, ELSE x=0 IF <option> IS IOPT, x=1 TO SELECT SINGLE SEARCH HITS, x=2 NO SELECTION, HIT LIST LOGED TO BROWSE.LOG (ELSE 0) IF <option> IS ISRH, x=1 TO SHOW ONLY GENERATIVE GERMPLASM, x=2 TO SHOW ONLY DERIVATIVES AND X=3 TO EXCLUDE ACCESSIONS, x=4 TO SHOW ONLY GERMPLSM WITH ACCESSION NAMES (ELSE 0) IF <option> IS MGAT, x=1 TO SHOW ALL PROGENITORS IN THE MENDLEGRAM (ELSE 0) IF <option> IS NAMP, x=0 FOR PREFERRED NAME, 1 FOR ALL OR 2 FOR ACCESSION NO IF <option> IS LDST, x=1 TO DISPLAY DERIVATIVE STEPS IN A TREE, ELSE x=0 IF <option> IS NTCX, x=n TO STOP CROSS EXPANSION ON NAME TYPE n, ELSE x=0 IF <option> IS LIST, x=0 TO CLOSE LIST OR x=n TO OPEN LIST n IF <option> IS REFID, SET DEFAULT REFID TO x, ELSE x=0 IF <option> IS LOCID, SET DEFAULT LOCID TO x, ELSE x=0 IF <option> IS FCPS, x=1 TO ALWAYS LOOK FOR CROSSES BY PARENTS, ELSE x=0 IF <option> IS BTYPE, x=1 FOR SELF FERTILIZED CROP, 0 FOR CROSS POLINATED IF <option> IS IYAL, x=1 to accept changes during edit processes without confirmation, else 0. IF <option> IS NMSTD, x=1 TO PREVENT NAME STANDARDIZATION ELSE 0