// models.wrm 2.0, unreleased, ex:
// models.wrm v. 1.9, 28 Oct 1994, for GrainGenes 1.4.  ex:
// models.wrm v. 1.8, 12 Jan 1994, for GrainGenes 1.3.  ex:
// models.wrm for GrainGenes, v. 1.7,  10 October 1993 matthews@greengenes,
// Version for software release 1-10.  unreleased.  ex:
// models.wrm for GrainGenes, v. 1.6,  24 Mar 1993 matthews@greengenes,
// unreleased.  ex:
// models.wrm for GrainGenes, v. 1.5,  6 Feb 1993 matthews@greengenes,
// released 16 Mar 1993 with GrainGenes 1.2.  ex:
// models.wrm for GrainGenes, v. 1.4, 18 Nov 1992 matthews@greengenes (as
// released to Alex Reisner, Denis Hancock, Tom Blake), ex:
// models.wrm for GrainGenes, v. 1.3, 30 Oct 1992 matthews@greengenes (as
// used at Plant Genome I, 11/92).
// Based on models.wrm for Soybase, from Lisa Lorenzen, 10 Sep 1992, based on:
// models.wrm - for AATDB, database release 1-6
// Changes from v. 1.2 in:  ?Locus,?Allele,?Gene,?Germplasm
// DEM 4/94 Removed some fossil tags and classes that weren't in use.
//	    Added ?Help
// DEM 10/94 Changed Comment Text to Comment ?Text in ?Gene, ?Gene_Class and
//	and ?Gene_Set, thus squashing a big bad bug of long standing.
//           Also changed ?Colleague Mail Text to ?Text, so Text Search's by 
//	city name etc. will work.


// models.wrm - main file defining tree class structures
// This file is read only when starting a new database or when you select
// "Read Models" or "Add Update File"
// from the main menu.
//
// all tags must appear in tags.wrm or systags.wrm
//

//?Allele:  DEM 5/93 Modified to load Cat. Gene Symb. for Wheat
//lines deleted or changed:
//?Allele Name	Correct_name ?Allele XREF Other_name
//		Other_name ?Allele XREF Other_name
//  	Reference_Germplasm ?Germplasm XREF Allele
//	Origin ?Text
//10/93 Added link to ?Gene_Product
// Gary Hart, email of 11/16/93: v, tv, dv, al, and i stocks should be
//	?Germplasm; ad, s, su and tr should be ?Text
// Gary Hart, email of 1/5/94: For stocks OTHER than the reference stocks that
//  are also known to bear a particular allele, use label "Other_stock".
?Allele Reference ?Reference XREF Allele
	Correct_name UNIQUE ?Allele XREF Other_name
	Other_name ?Allele XREF Correct_name ?Reference
	Previous_name ?Allele ?Reference //DON'T XREF. This is for the case of two
		//old names whose meanings are now swapped. XREF -> confusion!
	Synonym ?Allele XREF Synonym ?Reference //For two valid names for the same
		//allele, e.g. wheat "Aco-H1a (Hordeum)" vs. barley "Aco-1a"
	Compound_allele ?Allele XREF Component_allele ?Reference
	Component_allele ?Allele XREF Compound_allele ?Reference
	Gene UNIQUE ?Gene XREF Allele //Put the Reference in the ?Gene record
	Gene_product ?Gene_Product XREF Allele ?Reference
	Hexaploid_stock ?Germplasm XREF Allele ?Reference
	Tetraploid_stock ?Germplasm XREF Allele ?Reference
	Diploid_stock ?Germplasm XREF Allele ?Reference
	Near_isogenic_stock ?Germplasm XREF Allele ?Reference
	Homologous_chromosome_substitution_line ?Text ?Reference
	Alien_chromosome_addition_line ?Text ?Reference
	Alien_chromosome_substitution_line ?Text ?Reference
	Translocation_line ?Text ?Reference
	Origin ?Text ?Reference	//for non-germplasms like "Ace*4/CS"
	Germplasm ?Germplasm XREF Allele ?Reference //for germplasms in which
		// the allele is present but which aren't the Stock for it
	Comment	?Text
        Mutagen UNIQUE ?Reagent Text	//Text is dose, other conditions.
	Pathology ?Pathology XREF Resistant_allele
        Phenotype ?Text
	//Some of these properties should be dropped or done another way.
	Properties	Recessive
			Intragenic_revertant_of_dominant
                        Dominant
			Semi_dominant
			Codominant 
			Weak
		        Temperature_Sensitive	Thermo_sensitive
						Cryo_sensitive
			Amber
                        Maternal	Strictly_Maternal
					Maternal_and_Zygotic
					With_Maternal_effect
                        Paternal
	Image ?Image XREF Allele
	Interactions ?Allele ?Text 	//Text says what kind of interaction.
        Probe ?Probe XREF Allele
	Numbered_reference Int ?Reference XREF Allele //Int is a numbered reference
						  //citation used in a Comment.
	Data_source ?Colleague ?Text 	//Text is date, eg 94.04.28
	Last_update ?Text		//PGD wants this for all our data.
//To add:
//Clone_of_allele ?Clone  		//clones derived from this allele
//Molecular_phenotype ?Gel_pattern  	//MWs of bands for this allele
//External_DB_keys ?Text ?Text  	//links to external databases
//Dropped:
//        Sequence ?Sequence		//Use only for ?Probe or ?Clone


//?Gene_Class:  DEM extended, 5/93
//see abbreviation list in Catalogue of Gene Symbols for Wheat, 1988, p.1295
//DEM 9/93 Added Trait_affected
//DEM 11/93 removed (should link to Allele instead, maybe Gene):
//		Gene_product ?Gene_Product
//  Should change Abbreviation from ?Text to Text.  It's picking up values from
//  the Germplasm Abbreviation ?Text, which are ALL CAPs.  Or, change the 
//  name to 'Symbol'?
//DEM 2/94 Abbreviation ?Text -> Text (collided with Germplasm Abbreviation)
//	   Changed Character_affected from ?Text to ?Trait
//DEM 3/94 Appending "XREF Affected_by" to Character_affected caused ACEDB 
//           death, until database reinitialized.
//DEM 6/94 Gene <-> Gene_Class links are now routinely causing database death.
//	     There's some nonuniformity in Space vs. Tab alignment of tags
//	     in the model here; expanded to all Space's.
?Gene_Class Reference ?Reference XREF Gene_class
            Abbreviation Text //eg "Adh". 
            Character_affected ?Trait XREF Affected_by
            Homologous_gene_set ?Gene_Set XREF Gene_class //e.g. Adh-1
            Gene ?Gene XREF Gene_class      //e.g. Adh-A1, Adh-B1...
            Clone ?Probe XREF Source_gene_class //DEM 3/94
            Comment ?Text
            Numbered_reference Int ?Reference XREF Gene_class //Int is a  
                        //numbered reference citation used in a Comment.

//DEM 11/93 created.  E.g. Aadh-1 is a homologous gene set in the Gene_Class
//Aadh.  The set includes the individuals on homoeologous chromosomes of wheat
//or other species: Aadh-A1 (Triticum), Aadh-B1 (Triticum), Adh-R1 (Secale), 
//etc.
?Gene_Set 	Reference ?Reference XREF Gene_Set
		Abbreviation ?Text		//eg "Adh-1"
		Gene_class ?Gene_Class XREF Homologous_gene_set
		Character_affected ?Text
                Gene ?Gene XREF Homologous_gene_set
		Comment ?Text
		Numbered_reference Int ?Reference XREF Gene_Set //Int is a  
			//numbered reference citation used in a Comment.

//?Gene:  DEM May 93 Modified to load the Catalogue of Gene Symbols for Wheat
//lines removed or changed:
//?Gene Name	Gene_class UNIQUE ?Gene_Class XREF Gene
//		Correct_name ?Gene XREF Other_name
//              Other_name ?Gene XREF Other_name
//      Reference_Allele ?Allele XREF Gene Text
//      Allele  ?Allele XREF Gene
//	Origin ?Text
//    New:
//	Hexaploid_stock ?Germplasm XREF Gene ?Reference, etc.
//10/93 Added link to ?Gene_Product.  Moved Reference to top of model.
// Gary Hart, email of 11/16/93: v, tv, dv, al, and i stocks should be
//  ?Germplasm; ad, s, su and tr should be ?Text.
// Gary Hart, email of 1/14/94: Add Previous_name and Synonym for the special
//  usages indicated below.
// 6/94: Expanded Tab's to Space's in this model.
?Gene   Reference ?Reference XREF Gene //The standard reference for this gene
        Gene_class ?Gene_Class XREF Gene
        Homologous_gene_set ?Gene_Set XREF Gene
        Other_name ?Gene XREF Correct_name ?Reference  
        Correct_name ?Gene XREF Other_name ?Reference
        Previous_name ?Gene ?Reference //DON'T XREF.  For the case of two
                //old names whose meanings are now swapped. XREF -> confusion!
        Synonym ?Gene XREF Synonym ?Reference //For two valid names for same
                //gene, e.g. wheat and barley names Aco-H1(Hordeum) vs. Aco-1
        Compound_gene ?Gene XREF Component_gene ?Reference
        Component_gene ?Gene XREF Compound_gene ?Reference
        Gene_product ?Gene_Product XREF Gene ?Reference
        Chromosome ?Text ?Reference
        Chromosome_arm ?Text ?Reference
        Hexaploid_stock ?Germplasm XREF Gene ?Reference
        Tetraploid_stock ?Germplasm XREF Gene ?Reference
        Diploid_stock ?Germplasm XREF Gene ?Reference
        Near_isogenic_stock ?Germplasm XREF Gene ?Reference
        Homologous_chromosome_substitution_line ?Text ?Reference
        Alien_chromosome_addition_line ?Text ?Reference
        Alien_chromosome_substitution_line ?Text ?Reference
        Translocation_line ?Text ?Reference
        Origin ?Text ?Reference //for non-germplasms like "Ace*4/CS"
        Reference_allele UNIQUE ?Allele XREF Gene ?Reference
        Allele ?Allele XREF Gene ?Reference
        Comment ?Text
        Molecular_information   Clone ?Probe XREF Source_gene //3/94
                                Sequence ?Sequence XREF Gene
        Pathology ?Pathology XREF Resistance_gene //DEM
        Image ?Image XREF Gene
        Mapping_information Locus ?Locus XREF Associated_gene
                        //Move ?Rearrangement stuff to ?Locus:
                            Uncovered_by ?Rearrangement XREF Uncovers
                            Not_uncovered_by ?Rearrangement XREF Does_not_uncover
                            Carried_by ?Rearrangement XREF Carries
                            Not_carried_by ?Rearrangement XREF Does_not_carry
        Mapping_data    2_point_data ?2_point_data //lisa changed from 2point
                        3Point ?3_point_data
                        Df_Dup ?Df_Dup_data
        Related_genes   ?Gene XREF Related_genes ?Text //4/94: Text describes
                                //kind of relationship.
        Numbered_reference Int ?Reference XREF Gene //Int is a numbered 
                                //reference citation used in a Comment.

// 5/94 Modified for acedb 3.  (Relations to Locus in progress.)
?Rearrangement  Name    Correct_name ?Rearrangement XREF Other_name
                	Other_name ?Rearrangement XREF Other_name
	        Reference_germplasm ?Germplasm  Text
		Remark ?Text
		Variant Text
	        Molecular_Information  Polymorphism Found  ?Probe XREF Found
					            Absent ?Probe XREF Absent
		Mutagen ?Reagent Text	// Text is dose
		Phenotype	?Text
	        Dosage_effects  Haplo_insufficiency
		Qualifier Text
		Location ?Colleague
		Author Text
		Date Text
		Type	Deletion	// More types needed?
			Duplication
			Translocation
			Compound
		Map ?Map XREF Rearrangement #map_location
		Carries ?Locus XREF Rearrangement  // Needs more work.
		Mapping_data	2Point ?2_point_data
				3Point ?3_point_data
				Df_Dup ?Df_Dup_data
	        In_situ  UNIQUE ?Map Float Float
	        Germplasm	?Germplasm XREF Rearrangement //approx=line 122
        	        	Transformed_strain ?Germplasm
                		Linked_double ?Germplasm ?Gene
        	Reference ?Reference XREF Rearrangement
//removed, 5/94:
//		Type    Deletion Uncovers ?Gene XREF Uncovered_by
//                                 Does_not_uncover ?Gene XREF Not_uncovered_by
//        	        Duplication 	Covers Text
//					Carries ?Gene XREF Carried_by
//	                                Does_not_carry ?Gene XREF Not_carried_by


//?Locus
//DEM 5 Oct 92:
//	New "Type" values: RAPD, Gene
//	Removed:
//	Mapped_bands	Map ?Map_Data //Lisa
//			Enzyme ?Restriction //Lisa
//			A81-356022 float  //Lisa
//			PI468.916 float  //Lisa
//v1.5, Feb 93:
//	"Mapping_information" -> "Map"
//	Data ?F2_data -> Data ?Map_Data
// S.Tanksley 3/93 says Locus_type's should include: RFLP RAPD PCR VNTR
//      Microsatellite Isozyme Gene (Gene includes Morph, Resistance, etc.)
//v1.6: Added: QTL, Linked_QTL, Image
//	Removed:
//	Not_used ?Restriction REPEAT
//      Polymorphic_for ?Restriction REPEAT //Lisa
//	Not_polymorphic_for ?Restriction REPEAT
?Locus	Type	RFLP
		RAPD
		Microsatellite
		Gene
		QTL
		Centromere
	//4/94: Drop the Wheat_name, Published_name, GrainGenes_name business,
	//	and switch to listing only under published name and Homoeology_
	//	name?
        //Wheat_name ?Locus XREF GrainGenes_name//Name that follows Wheat rules
        //Published_name ?Locus XREF GrainGenes_name //Name published as
        //GrainGenes_name ?Locus  //Put gMap values only in this object
        Homoeology_name ?Locus	//Common name for homoeologs on all maps.
        Location Chromosome ?Text	//E.g. 3D
		 Chromosome_arm ?Text	//E.g. 3DS, short arm of chromosome 3D
		 Map ?Map XREF Locus #map_location
                 Main_Marker ?Map XREF Main_Marker
                 Inside Chrom_Band ?Chrom_Band XREF Locus
                 Rearrangement ?Rearrangement XREF Carries 
	Probe ?Probe XREF Locus
	//Float is size(s) of restriction bands that were mapped at this locus:
	TABLE ?Text REPEAT //Column headings for Mapped_bands table, e.g.
		// Enzyme "Size (kb)" Germplasm Chromosome
	Mapped_bands ?Restriction Float ?Germplasm ?Text //Float in kb, ?Text 
				//is chromosome name, e.g. 6D
	//QTL UNIQUE ?QTL XREF LOD_peak_location(Conflicts with Type QTL above)
	Linked_QTL ?QTL XREF Nearest_marker
	Associated_gene ?Gene XREF Locus //Lisa was RFLP
	2_point_data ?2_point_data
	Image ?Image XREF Locus //Lisa added the XREF
	Data	?Map_Data XREF Locus //DEM Removed ?Segregation
	Reference ?Reference XREF Locus
	Remarks Text
//Dropped: 
//	Sequence ?Sequence XREF Locus //Use only for ?Probe or ?Clone

//4/94 Proposed:
//List of all loci that are homoeologous, i.e. homologous in function and/or
//DNA sequence, and not-non-syntenic in location.  Includes loci that are
//variant names for the same probe used by different authors.
//?Homoeology_group
//	Homoeologues ?Locus XREF Homoeology_name

//?Germplasm
//DEM 25 Feb 93 Removed the dumb "Pedigree" indentation pseudotag, but no
//  effect on data display even after "Read models",quit,restart; must 
//  rebuild database.
//  Added tags for describing genetic stocks.
//  Removed the XREF from Collection_and_ID ?Collection
//  Added XREF for Other_name
//  Changed Summary_pedigree to Pedigree, and made UNIQUE
//  Made Species ?Species instead of ?Text
//v1.6: Added Image, Trait, Trait_scores
//DEM 13 Aug 94 Removed UNIQUE from Species, Pedigree, etc.  Data should be
//  loaded and then tested for COUNT > 1 to test for inconsistencies.
?Germplasm 	Other_name ?Germplasm XREF Other_name // Put data in only one.
		Species ?Species
		Donor_species ?Species 	//For addition chromosomes
		Type #Germplasm_type
		Collection_and_ID ?Collection ?Germplasm XREF Other_name
		Cross_number ?Text	//Identifier used by CIMMYT
		Chromosome_configuration ?Text
		Abbreviation ?Germplasm XREF Full_name //DEM 3/94
		Full_name ?Germplasm XREF Abbreviation // "   "
		Pairing_configuration ?Text
		Chromosome_number ?Text //Not Int. "42tt" = ditelosomic substn.
		Female_Parent ?Germplasm
		Male_Parent ?Germplasm
		Pedigree ?Text
		Market_Class ?Text
		Characteristic ?Text 	//e.g. "Awn-color: blue-black"
		Trait_study ?Trait_Study
		Pathology ?Pathology XREF Resistant_line
		Allele ?Allele  //No XREF, load only from Allele side
		Gene ?Gene 	//No XREF, load only from Gene side
		Gene_product ?Gene_Product XREF Germplasm //To add Reference,
							//load from other side.
		Rearrangement	 ?Rearrangement XREF Germplasm
		Derived_from ?Germplasm  //DEM: should XREF?
		Developed_by ?Text //changed from ?Colleague for KDK, 2/94
		Development_site ?Text  //lisa
		Date_of_release ?Text
		Registration_No ?Text     //lisa
		Remark ?Text
		Reference ?Reference XREF Germplasm
		Mapping_data ?Map_Data
		Image ?Image XREF Germplasm
		Data_source ?Colleague ?Text //Text is date, e.g. 93.08.27
		Polymorphism ?Polymorphism //LOAD AS ?POLYMORPHISM XREF, NOT
					   //DIRECTLY. Keep near end of model.
		Trait_scores ?Trait_scores //Should be near end of model, 
			//could be a long list.
		Coefficient_of_parentage ?Germplasm Float //Must be at end of
			//model; this could be a Long list.  Should XREF, or
			//let folks query for the other matrix direction?
//DEM 5/93: Old tags expunged:
//		Traits ?Trait #Trait_Information 
//    9/93: Changed 'Remark General_remark' to 'Remark'
//DEM 4/94: Old tags expunged:
//		Generation_derived UNIQUE Text
//		Selection_method ?Text
//		Maturity_group ?Text
//		Phenotype UNIQUE ?Text  //DEM: Delete?
//		Genotype Text	//3/94: not used yet
//		Growth_Req UNIQUE Text
//		Mutagen UNIQUE ?Reagent
//		Location ?Colleague #Lab_Location
//		Source ?Text

//?Germplasm_type
// DEM 2/93  Controlled vocabulary for ?Germplasm Type tag.
?Germplasm_type	Cultivar
		Substitution
		Amphiploid
		Aneuploid
		Germplasm
		Deletion
		Alien_addition
		Mutation
		Marker
		Alloplasmic_line
		Elite_germplasm
		Synthetic

// 5/94 DEM updated for acedb 3.0
?Map	Type UNIQUE Genetic  // this flag can be used to define subclasses
                    Cytogenetic //Chromosome could be Map, filtered Cytogenetic
                    Physical
        Mapping_data ?Map_Data XREF Map
        Display Non_graphic  // Prevents a graphic display 
                Title UNIQUE ?Text
                Remark Text // Will appear in top right corner  
		Flipped // Then coordinates go upwards
                Unit   Text // i.e. kb, centiMorgan, MegaParsec
		Centre UNIQUE Float UNIQUE Float  // centre, width - else 0, 10
	    	Extent UNIQUE Float UNIQUE Float  // min, max
                Error_scale UNIQUE Float  // Position on x axis, default = 10
        Inherits  From_map ?Map 	  // To locally edit
		  Author Text             // login name of who edited it
		  Date Text
 	Main_Marker ANY       // Appear left of scroll bar
        Contains Locus ?Locus XREF Map
                 Chrom_Band ?Chrom_Band XREF Map
		 Rearrangement ?Rearrangement XREF Map
                 Map ?Map XREF Map #map_location

?map_location UNIQUE Position UNIQUE Float #map_error
                     Multi_Position  Float #map_error //2 places on same Map
                     Ends Left UNIQUE Float #map_error
                          Right UNIQUE Float #map_error

?map_error Error UNIQUE Float

?MultiMap Map ?Map

?Reagent	Other_name ?Text
		Description Text
		Remark Text
		Reference ?Reference
		Source ?Source
		Contact ?Colleague

//?Probe
//DEM 8/27/93: Added Data_source, changed Derived_from to Source_germplasm
//DEM 12/16/93: Removed the following unused and undesired tags:
//	Type	#Probe_Type	//Replaced with local booleans under Origin
//		Y_Remark Text
//		PCR_Remark ?Text
//		  Hybridizes_to_YAC ?Probe XREF Positive_probe REPEAT//obselete
//		  Vaxmap UNIQUE Float
//		Insert_sequence ?Sequence //Lisa
//	Length		Seq_length UNIQUE Int
//			Gel_length Float Float	// Kb
//			HindIII_sites UNIQUE Int
//       Map ?Map_Data 
//        FingerPrint     Gel_number UNIQUE Int
//                        Approximate_match_to UNIQUE ?Probe XREF Canonical_for
//                        Exact_match_to UNIQUE ?Probe XREF Canonical_for
//                        Funny_match_to UNIQUE ?Probe XREF Canonical_for
//                        Canonical_for ?Probe
//                        Bands   UNIQUE Int Int
//		        Flag    UNIQUE Int
//	Calcul	Session Int
//		Neighbours ?Probe UNIQUE Float
//		Cor   Int
//		Common_bands  FREE
//DEM 10/94: Added the Other_name <-> Please_see aliasing.
?Probe  Locus   ?Locus XREF Probe
	Other_name ?Probe XREF Please_see //Please_see is the accepted name, 
	Please_see ?Probe XREF Other_name // Other_name is for alternates
	Reference ?Reference  //DEM Added
        General_remark ?Text
	PCR_primers ?Text
	Amplification_conditions ?Text
	Specificity ?Text // What genes or alleles are known to be recognized
			  // or distinguished, or not.
	Sequence	?Sequence XREF Probe
	Insert	Size Float    //Lisa  ...DEM changed from Int
	Background ?Text      //Lowest is clearest. Show scale, e.g. "3/5".
	//Chromosome, Enzyme, Score.  E.g. '7A EcorI "33 (3/13)"'
	Wheat_polymorphism ?Text ?Restriction ?Text
	//Enzyme, Score.  E.g. 'EcoRI "15 (2/15)"'
	Barley_polymorphism ?Restriction ?Text
	// Band sizes for this probe, a different ?Polymorphism for each
	//  restriction enzyme.  Each one contains data for all germplasms.
	// ?Text is "Polymorphic", "Not", "Maybe", "Mapped"
	Polymorphism ?Polymorphism XREF Probe ?Text
	Gel ?Gel XREF Probe  //Electrophoretogram, autoradiogram...
	Linkage_Group ?Text  //To be removed (800 records use it)
	//DEM: Insert_enzyme is the enzyme used to cut the insert DNA before
	//  inserting into the vector.  Is there a better name?  "Cloning_
	//  enzyme"?  "DNA_enzyme"?
	//DEM 8/93: Don't use REPEAT for enzyme combinations: hard to convert
	//	    to PGD.
	Origin	Insert_enzyme ?Restriction
		cDNA 		//boolean = 'Type' of this probe
		Genomic 	//boolean = 'Type' of this probe. Add PCR too.
		DNA_Origin ?Text //eg Hydroxylapatite-PERT-genomic (Bad label)
		Source_gene ?Gene XREF Clone 		 //3/94
		Source_gene_class ?Gene_Class XREF Clone //if Gene not known
		Species ?Species // 3/94: Obsolete, use Source_species
		Source_species ?Species
		Source_germplasm ?Germplasm
		Tissue_source ?Text // 3/94: Obsolete, use Source_tissue
		Source_tissue ?Text 
	Clone   Vector   ?Text
		Vector_enzyme ?Restriction //enzyme used to open the vector
		Excision_enzyme ?Restriction // "    " to remove insert from it
		Vector_PCR_primers ?Text
		Subcloned_in ?Probe XREF Subclone_of
		Subclone_of ?Probe XREF Subcloned_in
		Location ?Colleague
		Authority ?Colleague
		In_pool ?Pool XREF Probe
        	Gridded ?Probe_Grid
	Image ?Image XREF Probe //Lisa
	Data_source ?Colleague ?Text //Text is date, e.g. 93.08.27
//4/94 Old tags expunged:
//      Position  In_situ  UNIQUE Int Int
//		  Chrom_Band ?Chrom_Band XREF Probe
//                pMap UNIQUE ?Contig XREF Probe Int Int // bands pMap units
//		  bMap UNIQUE Int Int	// base units
//		  Autopos
//		  Hybridizes_to ?Probe_Grid ?Probe XREF Positive_probe ?Text
//		  Positive_probe ?Probe
//		  Positive_pool_probe ?Pool

//DEM 8/93 Restructured
//Information describing an electophoretic polymorphism: RFLP, PCR, isozyme,
//seed proteins, etc.
//DEM 11/93 removed old version of table:
//	      TABLE ?Text //Column headings for the Size table, e.g.
//			  //"    Germplasm    Gel Number   Size (kb) Intensity"
//	      // Float is in Kb, ?Text is "Faint", "Medium", "Dark":
//	      Size ?Germplasm XREF Polymorphism ?Gel XREF Polymorphism Float ?Text 
?Polymorphism Probe UNIQUE ?Probe XREF Polymorphism
	      Enzyme UNIQUE ?Restriction  // For RFLPs; omit for PCR probes.
	      Locus_mapped ?Locus	  // no XREF; load ?Locus Mapped_bands
	      TABLE ?Text //Column headings for the Size table, e.g.
			  //"    Gel Number   Size (kb) Intensity    Germplasm"
	      // Float is in Kb, ?Text is "Faint", "Medium", "Dark":
	      Size ?Gel XREF Polymorphism Float ?Text ?Germplasm XREF Polymorphism 
	      Germplasm ?Germplasm XREF Polymorphism //Use when there are no
			  //size measurements, just an image.
	      Image ?Image XREF Polymorphism	    // Autoradiogram, gel photo

//DEM 8/93 New
//Information about a gel electrophoretogram or autoradiogram (DNA, protein...)
//A blot or film is also a ?Gel.
//Better name for this class?  "Phoretogram"?
?Gel	Probe ?Probe XREF Gel	
	Date ?Text  // Date of gel or blot or autorad, then what procedure
		    // E.g. "93.08.05 DNA extraction"
		    // Standard date format: "93.08.05" (5 Aug 93)
	Run_by ?Colleague	// Who did the lab work
	Conditions ?Text	// Stringency, exposure time,...
	Polymorphism ?Polymorphism  //LOAD AS ?POLYMORPHISM XREF, NOT DIRECTLY
	Germplasm ?Germplasm	// Source of sample.
	Image ?Image		

?Probe_Grid	Title	?Text
		Layout	Columns	Int
			Lines_at	Int Int	// x, y spacing
			Space_at	Int Int	// x, y spacing
			No_stagger	// default is with alternate lines staggered
			A1_labelling	// label spaced blocks a-h down LHS, 1-12 across top
		Row Int ?Probe XREF Gridded REPEAT

//4/94: Unused, possibly unusable in acedb3.0
?Contig bMap	Length UNIQUE Int	// in base units
		Position UNIQUE Int	// left extremity in bases
		b2g	UNIQUE	Float Float // gMap = ax + b
	gMap	UNIQUE ?Map XREF Contig Float Float	// extremities on gMap
        pMap    UNIQUE Int Int         // extremities in pMap units
	Probe	?Probe XREF Contig
        Locus	?Locus XREF bMap

//DEM 11/94 First use.  Based on current SolGenes + old Soybase
?2_point_data  Locus_1 ?Locus XREF 2_point_data //? Edie appends "UNIQUE Int".
	       Locus_2 ?Locus XREF 2_point_data
	       Results   Min      Float
			 Distance Float
			 Max      Float
			 Error    Float
			 Standard_error Float
			 Linkage  Text
	       Female_Parent ?Germplasm	
	       Male_Parent ?Germplasm	
               Parent ?Germplasm  // If cross was reciprocal, or unknown
	       Population ?Text // If parents not known
	       Map_data ?Map_Data
	       Generation ?Text
	       Number_of_individuals Int
	       Method ?Text
	       Mapped_by ?Colleague
	       Reference ?Reference XREF 2_point_data 
	       Remark ?Text
	       Data_source ?Colleague ?Text // Text is date, 94.11.30 e.g.     

?Df_Dup_data 	       Rearrangement ?Rearrangement XREF Df_Dup
		       Allele1 Text  // when the def is also known as allele	
		       Gene UNIQUE ?Gene XREF Df_Dup
                       Allele UNIQUE  ?Allele XREF Df_Dup
                       Linkage_Group ?Map
                       Temperature UNIQUE Text
                       Date  UNIQUE Text
                       Mapper ?Author
                       Genotype UNIQUE Text
                       Results UNIQUE Text
                       CGC   Flag Text
                             Laboratory UNIQUE ?Colleague
			     Linkage Text
                       AATDB   Note UNIQUE Text
         		       Total UNIQUE  Int
		               A_deletes_B  UNIQUE Text Text
         		       A_does_not_delete_B UNIQUE  Text Text
		               A_includes_B UNIQUE  Text Text
         		       A_does_not_include_B UNIQUE   Text Text

?3_point_data          Gene1 UNIQUE ?Gene XREF 3Point ?Allele XREF 3Point
                       Allele1 UNIQUE  ?Allele XREF 3point
                       Gene2 UNIQUE ?Gene XREF 3Point ?Allele XREF 3Point
                       Allele2 UNIQUE  ?Allele XREF 3point
                       Gene3 UNIQUE ?Gene XREF 3Point ?Allele XREF 3Point
                       Allele3 UNIQUE  ?Allele XREF 3point
		       Linker ?3_point_data XREF Linker
                       Linkage_group ?Map
                       Temperature UNIQUE Text
                       Date  UNIQUE Text
                       Mapper ?Author
                       Genotype  Text
                       Results Text
                       Result_type ABC
                                   AB_C
                                   A_BC
                       Recombinant_1 Text
                       Recombinant_2 Text
                       Recombinant_3 Text
                       Counts UNIQUE Int Text Int Text Int Text Int Text
                       CGC   Laboratory UNIQUE ?Colleague

//?Colleague
// New version from Edie Paul, 3/93
// DEM 10/93 Added Image
?Colleague      Position Text
                Profession Text
                Institution // Boolean, = "not_person"
                Address Mail ?Text //EMP: for Street,City,State,Zip together
                        Street Text //EMP - separate out address
                        City ?Text //EMP - separate city, make text object
                        State ?Text //EMP - separate, make text object
                        Postal_code ?Text //EMP - separate, make text object
                        Country ?Text //EMP - make text object
                        Phone Text
                        Fax Text
                        E_mail Text //EMP - deleted bitnet and internet
                        Telex Text
                Research_interest ?Text
		Image ?Image XREF Colleague
                Publishes_as ?Author XREF Full_name
                Last_update UNIQUE ?Text
                Obtained_from ?Source

//?Author
//DEM: On R.Durbin's advice, 11 Mar 93 (~/Mail/acedb), removed the 
//    "XREF Author" after "Paper ?Reference".  To avoid scrambled Author orders
//    in papers loaded from dump files.
?Author Full_name ?Colleague XREF Publishes_as
        Paper ?Reference

?Journal Paper ?Reference XREF Journal

//?Reference
//DEM Jan 94 Added Agricola_code, Gene_Catalogue_number, Cited_in.
//    Feb 94 Added Series
?Reference  Reference   Title UNIQUE ?Text
                        Original_title Text
			Journal UNIQUE ?Journal XREF Paper
			Publisher UNIQUE Text
			Series ?Text // for named series of named volumes
			Contained_in ?Reference XREF Contains
                        Year UNIQUE Int
                        Volume UNIQUE Int Text //Text when Int isn't complete
                        Page  UNIQUE Int Int
			Remark Text //e.g. when page numbers aren't Int's
	    Institution Text
	    Author ?Author XREF Paper
	    Editor ?Author XREF Paper
	    Type UNIQUE Text 	//Article, Book. Proceedings, Abstract,
			     	//Dissertation, Bulletin, or Report
	    Language Text	//English, Spanish, ...
	    Image ?Image XREF Reference
	    Abstract Text
	    Contains ?Reference XREF Contained_in
	    Refers_to	Gene_class ?Gene_Class XREF Reference	
			Gene_set ?Gene_Set XREF Reference
			Gene ?Gene XREF Reference
			Allele ?Allele XREF Reference
			Locus ?Locus XREF Reference
			Rearrangement ?Rearrangement XREF Reference
			Sequence ?Sequence XREF Reference
			Germplasm ?Germplasm XREF Reference
			Mapping_data ?Map_Data XREF Reference
			2_point_data ?2_point_data //Lisa
			Trait_study ?Trait_Study XREF Reference
	    Keyword ?Keyword
	    Agricola_code ?Text
	    Gene_Catalogue_number Int	//Ref number in 1993 Wheat Gene Catalog
	    Cited_in ?Reference		//4/94 DEM changed from ?Text
	    Summary_of ?Reference XREF Summarized_in	//e.g. Plant Breeding 
							//Abstracts
	    Summarized_in ?Reference XREF Summary_of	

?Restriction	Site UNIQUE Text
		Offset Text
		Cleavage Text
		Overhang Text
		Isoschizomers ?Restriction REPEAT
		Company ?Source
		Reference ?Reference
		Remark Text

?Sequence Title UNIQUE ?Text
	  Other_name ?Text	// for repeats
	  Sequence Text // To show sequence in this Tree window instead of fMap
	  Test ?Text //DEM 11/94 Temporary, to test holding long strings.
	  Type UNIQUE DNA UNIQUE ?DNA UNIQUE Int	// Int is the length
		      Peptide UNIQUE ?AA
          RNA			// if this tag is set display AUGC
	  Length UNIQUE Int
	  Library	?Source Text Text // ID  Accession_number
	  Subsequence_of	Source UNIQUE ?Sequence
				Source_Exons Int Int // sequence of positions in genomic
	  General	cDNA
		  	Probe ?Probe XREF Sequence 
			Gene ?Gene XREF Sequence
			Gene_product ?Gene_Product XREF Sequence
          	        Locus    ?Locus XREF Sequence
		        Related_Sequence ?Sequence XREF Related_Sequence
			Keyword ?Keyword
	  		Remark ?Text
			DB_remark ?Text
	  		Reference ?Reference XREF Sequence
			DB_searched ?Source Int // number of homologues found
	  		Data_source ?Colleague ?Text // ?Text is date.
	  Properties    Pseudogene Text
			Transposon
			Coding	CDS UNIQUE Int Int
				Precursor
			Transcript	End_not_found
				 	Start_not_found Int // Int is frame of base 1
					mRNA	Processed_mRNA
						Unprocessed_mRNA
					tRNA Text
					rRNA Text
					snRNA Text
	  Contains	Has_CDS ?Sequence XREF Source Int Int
			Has_Transcript ?Sequence XREF Source Int Int
			Has_Pseudogene ?Sequence XREF Source Int Int
			Has_Structural_RNA ?Sequence XREF Source Int Int
			Has_Transposon ?Sequence XREF Source Int Int
			Has_Subsequence ?Sequence XREF Source Int Int
			Has_Other_Subsequence ?Sequence XREF Source Int Int
	  Features	polyA_signal Int Int // putative
			promoter Int Int ?Text
			polyA_site Int Int Text
			misc_signal Int Int ?Text
			misc_feature Int Int ?Text
			repeat_region Int Int Text
			repeat_unit Int Int Text
			mutation Int Int ?Text
			sig_peptide Int Int Text
			mat_peptide Int Int Text
			old_sequence Int Int Text
			protein_bind Int Int Text
			modified_base Int Int Text

?Gene_Product	Other_name ?Text
		Type ?Text ?Reference Text //Enzyme, Protein, etc
		Function ?Text
		RNA_type
		IUB_number UNIQUE ?Text ?Reference
		EC_number UNIQUE ?Text
		Gene ?Gene XREF Gene_product
		Allele ?Allele XREF Gene_product
		Source	Species ?Species ?Reference
			Germplasm ?Germplasm XREF Gene_product ?Reference ?Text
			Tissue ?Text ?Reference ?Text
			Organelle ?Text ?Reference ?Text
			Membrane_Associated ?Reference //boolian +ref.
		Pathway ?Pathway #Components
		Substrate_specificity ?Text ?Reference ?Text
		pH_optimum Float ?Reference ?Text
		Temp_optimum(C) Text ?Reference ?Text
		Regulation #Regulators	
		Ancillary_enzyme ?Gene_Product
		Catalytic_mechanism #Mechanism
		Prosthetic_group ?Text
		Isozymes ?Gene_Product
		Structure	Native_Mr Float
				3D_structure Text //boolian with comment
				Purification Text 
				Isoelectric_point Float
		Biochemistry Text //
		Remarks Text //
		Reference ?Reference //
		Contact ?Colleague //
		Sequence ?Sequence //

?Regulators	Activator ?Text
		Vmax Text
		Cooperativity //boolian
		Inhibitor ?Text
		Ki Text
		Developmental ?Reference Text
		Hormonal Text
		Environmental ?Reference Text
		Genetic ?Reference Text
		Inducer ?Text
		Repressor ?Text

?Mechanism	Ping_Pong

?Components	Reaction ?Reaction
		Reactant ?Text
		Km Text
		Product ?Text

//4/94 Proposal:  Change to a #ConstructedType for situations where multiple
//	 types of sources are
//      valid, e.g.:
//?Source Colleague ?Colleague
//        Reference ?Reference
//        Collection ?Collection
//        General ?Text
?Source		Other_name ?Text // Full name
		Contents Text // Description of collection
		Remarks Text // other descriptions
		Reference ?Reference
		Contact ?Colleague
		Address Mail Text
                        Phone Text
                        E_mail Text
			Fax Text

// DEM v1.5: Added Pathology, Probe, Caption
//     v1.6: Added Germplasm, Species, Map, Trait; changed Paper to Reference
//   	     Added Locus, QTL
?Image  Gene ?Gene XREF Image
	Locus ?Locus XREF Image 
	Pathology ?Pathology XREF Image 
	Probe ?Probe XREF Image 
	Polymorphism ?Polymorphism XREF Image
	//A QTL link is for an image of a particular QTL, e.g. an autorad of 
	//bulked segregant analysis of the linked marker.  See also Trait.
	QTL ?QTL XREF Image
	Germplasm ?Germplasm XREF Image
	Species ?Species XREF Image
	Map ?Map_Data XREF Image
	Colleague ?Colleague XREF Image	//For pix of people.  cf Author, below.
	Trait_study ?Trait_Study XREF Image
	Caption ?Text //DEM
	Author ?Author
	Reference ?Reference XREF Image
	Pick_me_to_call  UNIQUE Text Text  //Program name followed by file name
//	Secret  Text  // If set prevents display except by owner (uid == Text).                         DEM deactivated.

?Pool	Contains	Probe ?Probe XREF In_pool
			Subpool ?Pool XREF In_pool
	In_pool ?Pool
	Map	Hybridizes_to ?Probe_Grid ?Probe XREF Positive_pool_probe ?Text
		Chrom_Band ?Chrom_Band XREF Positive_pool_probe
	Location ?Colleague
	Reference ?Reference

// 5/94, modified for acedb 3.0
?Chrom_Band   	Type    Centromere
	              	p_Telomere	// Left end of chromosome
                      	q_Telomere	// Right end of chromosome
                Drawing Dark
                      	NOR
                      	Colour #Colour
		Position  UNIQUE Map ?Map XREF Chrom_Band #map_location
		Contains ?Chrom_Band XREF Contained_in
		Contained_in UNIQUE ?Chrom_Band XREF Contains
		Locus Inside ?Locus XREF Chrom_Band

//?Collection     lisa added the Collection class
// DEM removed the  "Collection_and_ID ?Collection XREF Entries" from 
//     ?Germplasm, so ?Collection no longer contains an automatic list of
//     all its entries.
?Collection	Curator ?Colleague
		Description ?Text
		Entries ?Germplasm XREF Collection 
		
//?Pathology   Lisa added the pathology class
// 2/93 Dave extended
// 11/93 Added fields for Ken Kephart
?Pathology	Other_name ?Pathology XREF Other_name //Choose one, 
						      //put the data in that.
		Type	Fungus
			Bacterium
			Virus
			Nematode
			Insect
			Abiotic
			Mycoplasma
			Parasitic_plant
			Mollusk
		Host_species ?Species XREF Disease
		Causal_organism ?Species XREF Causes
		Vector ?Species XREF Vector_of
		Trait ?Trait XREF Pathology
		Evaluation ?Trait_Study XREF Pathology
		Resistance_gene ?Gene XREF Pathology
		Resistant_allele ?Allele XREF Pathology
		Resistant_line ?Germplasm XREF Pathology
		Symptoms Text
		Image ?Image XREF Pathology
		Reference ?Reference

//?Species 2/93 DEM, based on the PGD schema
//         3/6/93 KDK,DEM refined
// Object's id is full name, "Triticum turgidum L. group turgidum Bowden"
// Correct_name is not XREF'd as Synonym.  This allows two classes of wrong
// names: dumb ones like "A. squarrosa" that aren't even listed as Synonyms,
// and valid (common or historical) ones like "Ae. squarrosa L.".
//v1.6:
//  Added Image
//  Feb 94: Haploid_chromosome_number not UNIQUE
//	    Synonym XREF from Correct_name to Synonym
//	    Species to Species_epithet
?Species   Correct_name UNIQUE ?Species //If object is a Synonym, say only this
           Full_name UNIQUE ?Text //Genus not abbreviated, with Authority
           Genus UNIQUE ?Text
           Species_epithet ?Text
	   Variety ?Text
           Authority ?Text
           Synonym ?Species XREF Synonym
           Common_name ?Text
           Genome UNIQUE ?Text //E.g. "D", "ABD"
           Haploid_chromosome_number Int
	   Mapping_data ?Map_Data
	   Disease ?Pathology XREF Host_species // diseases of this species
	   Causes ?Pathology XREF Causal_organism // diseases caused by it
	   Vector_of ?Pathology XREF Vector // diseases vectored by it
	   Reference ?Reference
	   Image ?Image XREF Species

//?Map_Data:  A result of a particular mapping study, or perhaps a summary map.
// Added by Lisa, extended by Dave Matthews
// v1.5: Now contains what used to be ?F2_data
// v1.6: Added Image, Trait, QTL
?Map_Data Species ?Species XREF Mapping_data //If interspecies cross, give both
	  Female_parent UNIQUE ?Germplasm XREF Mapping_data
	  Male_parent UNIQUE ?Germplasm XREF Mapping_data 
	  Parent ?Germplasm XREF Mapping_data //for reciprocal, multiparental
	  Type 	Genetic
		Cytogenetic
		Chromosome_arm
		Physical
	  Map_units Text // e.g. centiMorgans, microns, KB
	  Reference ?Reference XREF Mapping_data
	  Contact ?Colleague
	  Remarks ?Text //Number of progeny, markers; kind of mapping populat'n
	  Image ?Image XREF Map
	  Map ?Map XREF Mapping_data
	  Trait_study ?Trait_Study XREF Mapping_data  //Trait analyzed for QTLs
						      //with this map
	  QTL ?QTL XREF Mapping_data      //Each QTL found
	  Locus ?Locus XREF Data Text  	//Text is raw Mapmaker data
// Bug: The Linkage_Groups get listed, but double clicking on one brings up
// a new Map window instead of the gMap.  (Clicking once and menuing Tree
// gives the correct Linkage_Group tree window as expected.)
// Workaround: Must add the Float after ?Map.  Value will be 
// where the gMap is centered.  [Note: the special tag "gMap" must be used.]
// 10 Mar 93: RDurbin fixed.  (in xace2.0, I guess)

//?Trait:  A property of ?Germplasms, affected by ?Gene_Classes and ?QTLs, 
//    evaluated in ?Trait_Studies.
// DEM 9/93 Created
//	    ?Germplasms are not directly linked, only via ?Trait_Studies
// DEM 3/94 Affected_by caused ACEDB death, until database reinitialized.
?Trait  Description ?Text		//Brief explanation of the trait name
	Pathology ?Pathology XREF Trait //If trait is related to a disease
	Affected_by ?Gene_Class XREF Character_affected 
	QTL ?QTL XREF Trait_affected
	Evaluation ?Trait_Study XREF Trait //HUH?  For some reason, this isn't
		//creating the backreference.

//?Trait_Study:  Evaluation of a particular set of germplasms in a particular
//   experiment.  Other experiments measuring the "same" trait should have
//   different trait_study identifiers, e.g. "Yield, Smith93b"
//   Omit Species, Parents.  They're in Mapping_data if this is an evaluation
//   of a QTL mapping population, and not germane here if it's just a bunch of
//   random germplasms being compared.
//   For uniformity through database, always give R-squared as proportion 
//   (fraction of 1.00), rather than as percentage.
//   DEM 5/93
//   5/20: Added Type_I_error_rate_per_locus, Number_of_markers
//   6/8 : Changed Number_of_markers to Number_of_markers_tested
//   9/14: Changed name from ?Trait to ?Trait_Study
?Trait_Study Trait ?Trait XREF Evaluation
             Reference ?Reference XREF Trait_study
	     Pathology ?Pathology XREF Evaluation //If trait is disease-related
             Protocol Text	//Description of the trait and how measured
       	     Parental_description ?Germplasm ?Text   //Qualitative description
             Parental_Mean_SD ?Germplasm XREF Trait_study Float Float 
			//Value of mean and standard deviation for each parent
             Mapping_data ?Map_Data XREF Trait_study //Info about parents, loci
             Population_size UNIQUE Int //Number of individuals in population
             Population_type Text	//Kind of mapping population, eg F5 RIs
             QTL_analysis_method ?Text  //Methods used, eg Single-factor ANOVA
             Statistics Text		//ANOVA table, etc. for this trait
             Heritability Float Text    //Value and basis, 
					// e.g. 0.84 "line mean basis"
             Type_I_error_rate_per_locus Float 	//Alpha, 
			// probability of calling locus significant by chance
             Number_of_markers_tested Int  //Number of loci in the Mapping_data
             QTLs_found UNIQUE Int	//How many QTLs were detected?
             Phenotypic_R2 UNIQUE Float //Phenotypic variance explained by 
					// all QTLs
             Genetic_R2 UNIQUE Float	//Genetic       "         "     "  "  "
             R2_definition Text	   //Exact definition of "R-squared" used above
             Comment Text
             Image ?Image XREF Trait_study  //Photos of the rating scale, eg
             QTL ?QTL XREF Trait_study	//Location, significance, for each QTL
             Trait_scores ?Trait_scores XREF Trait_study 
					//For either a mapping population 
                                        //or individual named germplasms

//?QTL:  An individual Quantitative Trait Locus for a particular trait.  
//  DEM 5/93
//  5/20: Changed Type_I_error_per_locus to Significance_level
//		  Effect_on_score to Size_of_allelic_effect
//		  Positive_allele_from to Higher_scoring_allele_from
//		  Type_I_error_x_Environment to Significance_x_Environment
//  6/8:  Changed Size_of_allelic_effect to Effect_of_allele_substitution
//  6/24: Added Image
?QTL Trait_affected UNIQUE ?Trait XREF QTL	
     Trait_study ?Trait_Study XREF QTL
     Mapping_data UNIQUE ?Map_Data XREF QTL //Molecular markers used to map it
     Chromosome_arm ?Text		    //eg 3BL, long arm of chromosome 3B
     Nearest_marker UNIQUE ?Locus XREF Linked_QTL 
     Significance_level UNIQUE Float    //Significance of marker. P < 0.what?
     LOD_peak_location UNIQUE ?Locus XREF QTL //? Or gMap position?
     LOD_peak_height Float 		//LOD value at this position
     Significant_LOD_interval gMap ?Map Float Float //Endpoints of
 		//region (eg in cM) where LOD exceeds value of LOD_threshold.
     LOD_threshold Float        //Threshold value for Significant_LOD_interval
     Phenotypic_R2 UNIQUE Float	//Phenotypic variance explained by this QTL
     Genetic_R2 UNIQUE Float	//Genetic       "         "     "   "    "
     Effect_of_allele_substitution UNIQUE Float //Magnitude of allelic effect
     Additivity_Dominance_ratio UNIQUE Float
     Higher_scoring_allele_from ?Germplasm //Which parent's allele gives higher
				 	   //scores
     Interactions Text		     //Epistasis, interaction with environment
     Significance_x_Environment Float ?Environment //QTL x Env.  P < 0.what?
     Comment Text		     //Eg R-squared of nearby markers
     Image ?Image XREF QTL	     //Eg for blot of bulk segregant analysis.

//?Trait_scores:  Values measured for a particular trait in a particular
//    environment
// Scores = Value of trait for each member of mapping population, in the 
//   same order as listed for the molecular markers in ?Trait Mapping_data
// Germplasm_Mean_SD = Mean and SD for each germplasm (for a comparison
//   that is not a mapping study)
// Environment is not UNIQUE, to allow an averaged-over-evironments record.
// DEM 5/93
?Trait_scores Trait_study UNIQUE ?Trait_Study XREF Trait_scores
	      Environment ?Environment XREF Trait_scores
	      Comment Text
	//For QTLs:
	      Scores Text          //If only have means, list all on one line.
	      Score_Mean_SD Float Float	 //If (mean, SD) pairs, separate lines.
	//For trials of named germplasms:
	      Germplasm_Mean_SD ?Germplasm XREF Trait_scores Float Float
	      Germplasm_score Float ?Germplasm XREF Trait_scores 
			//If only have means, give number first for better
			//visual alignment.
	//For one-record-per-datum, e.g. ISWYN24:
	      Germplasm ?Germplasm XREF Trait_scores
	      Score Float
	      Standard_deviation Float
	      Replications Int
              Percent_of_local_check Float
	      Difference_from_local_check Float //When many values are Zero.

//?Environment:  Location and experimental conditions for a (field) test of
//    a trait.
// DEM 5/93, built on Lisa's version
?Environment Year UNIQUE Int    	//eg 1993
	     Location UNIQUE ?Text	//eg "Ketola Farm, Ithaca, NY, USA"
	     Latitude UNIQUE Text
	     Longitude UNIQUE Text
	     Elevation UNIQUE Text
	     Experimental_design ?Text	//eg "Randomized Complete Block"
	     Replications UNIQUE Int	//How many replications here?
	     Evaluator ?Colleague	
	     Institute ?Text
	     Topography UNIQUE Text
	     Drainage UNIQUE Text
	     Soil_texture UNIQUE Text
	     Irrigation Text		//Type, number of days, total amount
	     Moisture Text		//Amount, units; eg 455 mm
	     Planting_date UNIQUE Text  //Format: 88.04.16
	     Harvest_date UNIQUE Text
	     Testing_date Text
	     N_applied Text		//Nitrogen fertilizer used, units
	     P2O5_applied Text		//Phosphorus, in units of P2O5
	     K2O_applied Text		//Potassium, in units of K2O
	     Remarks Text		//Special conditions or events here
	     Trait_scores ?Trait_scores XREF Environment //Scores obtained here

//?Help.  Added by DEM 4/94
?Help Intro ?Text
      Overview ?Text
      Note ?Text
      Tip ?Text
      More ?LongText

//?? The ?Help class isn't getting listed in the class ?Model.  Is that 
// because it's the last class in this file?