// Modified Tue Jun  7 15:52:05 EDT 1994 JWM

?map_location UNIQUE Position UNIQUE Float #map_error
                     Multi_Position  Float #map_error
                     Ends Left UNIQUE Float #map_error
                          Right UNIQUE Float #map_error

?Locus  Type	RFLP
                Visible
                RAPD
	Name    Gene_class UNIQUE ?Gene_class XREF Locus
                Other_name ?Locus XREF Other_name
                See_also ?Locus XREF See_also
                Probe_desc ?Text
        Molecular_information	Clone   ?Clone XREF Locus
				Sequence ?Sequence XREF Locus
	Origin ?Text
	Phenotype ?Phenotype XREF Locus
	Image ?Image XREF Locus
	Remark	?Text
	Contact ?Contact
        Note ?Text
        Interactions    Suppressed_by  ?Locus XREF Suppresses
                        Suppresses     ?Locus XREF Suppressed_by
                        Related_genes  ?Locus XREF Related_genes
        Paper ?Paper XREF Locus
        Position Map ?Map XREF Locus #map_location
	Close_marker ?Locus Text ?Contact
	Position_ambiguous Text
	Mapping_data    F2_data ?Map_population
                        RI_data ?Map_population
                        2_Point ?2_point_data
        Hint ?LongText

?Map	Type UNIQUE Genetic  // this flag can be used to define subclasses
                    Cytogenetic // Chromosome could be Map, filtered Cytogenetic
                    Physical
        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 - else min, max gene/locus
                Error_scale UNIQUE Float  // To position loci on x axis, default = 10
        Inherits  From_map ?Map 	  // To loaclly edit
		  Author Text             // login name of who edited it
		  Date Text
 	Main_Marker ANY       // Appear left of scroll bar
        Contains Locus ?Locus XREF Map
                 Clone ?Clone XREF Map
                 Chrom_band ?Chrom_band XREF Map
                 Map ?Map XREF Map #map_location
		 Contig ?Contig XREF Map
	Paper ?Paper XREF Map
        Hint ?LongText
        Table ?LongText
        Brief_Summary ?Source

?Clone  Type    YAC
                COSMID
                PHAGE
	        PLASMID
                FREE_DNA
	        OTHER
	Gridded ?Grid
        Remark  General_Remark ?Text
		Y_Remark ?Text
		PCR_Remark ?Text
                Note ?Text 
                Storage ?Pool XREF Clone
                Image ?Image XREF Clone
	        Paper ?Paper XREF Clone
        Position  Chromosome UNIQUE ?Map
                  Map ?Map XREF Clone #map_location  // position on vertical maps
                  Locus   ?Locus XREF Clone
                  pMap UNIQUE  ?Contig XREF Clone  UNIQUE Int UNIQUE Int 
		  Autopos
		  Hybridizes_to ?Grid ?Clone XREF Positive_probe ?Text
		  Positive_probe ?Clone
//        FingerPrint     Gel_number UNIQUE Int
//                        Approximate_match_to UNIQUE ?Clone XREF Canonical_for
//                        Exact_match_to UNIQUE ?Clone XREF Canonical_for
//                        Funny_match_to UNIQUE ?Clone XREF Canonical_for
//                        Canonical_for ?Clone
//                        Bands   UNIQUE Int UNIQUE Int
//                        Flag    UNIQUE Int
	Hint ?LongText

?Contig bMap	Length UNIQUE Int	
	Map ?Map XREF Contig #map_location
        pMap    UNIQUE Int UNIQUE Int         
	Clone	?Clone XREF Contig
        Locus	?Locus XREF Contig

?2_point_data          Locus_1 ?Locus XREF 2_Point UNIQUE Int
                       Locus_2 ?Locus XREF 2_Point UNIQUE Int 
                       Phase C
                             R
		       Paper ?Paper
                       Laboratory UNIQUE ?Contact
                       Results   Rec_Class Text Int Text
                                 Total Int
				 Distance Float
		                 Standard_error Float
				 LOD      Float
                                 Used_by_joinmap
                                 Calc_by_joinmap
		       Remark  ?Text
                       Hint ?LongText

?Motif	Site UNIQUE Text // AA or DNA or some more elaborate descriptor
	Oligo
	Restriction_Enzyme	Isoschizomers ?Motif XREF Isoschizomers REPEAT
		                Offset Int   
	        		Cleavage Text  // will show the cleavage points ex: G_ACGT'C
		                Overhang  Text // was Int
                		Company  ?Source
                                Paper   ?Paper	
                                Remark  ?Text

?Strain Sequence ?Sequence XREF Strain	// much more to do here

?Sequence Title UNIQUE ?Text
	  Type UNIQUE DNA UNIQUE ?DNA UNIQUE Int	// Int is the length
		      Peptide UNIQUE ?AA UNIQUE Int
          RNA			                        // if this tag is set display AUGC
	  Structure  Length UNIQUE Int
		     From	Source UNIQUE ?Sequence 
				Source_Exons Int UNIQUE Int // start at 1
	                        Assembled_into ?Sequence
		     Subsequence ?Sequence XREF Source UNIQUE Int UNIQUE Int
		     Assembled_from ?Sequence XREF Assembled_into UNIQUE Int UNIQUE Int
	  Library    ?Source Text Text // ID  Accession_number
	  Origin     From_Library ?Source
		     From_Laboratory ?Contact
		     Date Text
		     Strain ?Strain XREF Sequence
          General       Keyword ?Keyword
	  		Remark ?Text
			DB_remark ?Text
			Brief_identification ?Text
	  		Paper ?Paper XREF Sequence
			Foreign_Reference ?Text
			DB_searched ?Source Int // version
	  Genetic       Gene_class ?Gene_class XREF Sequence
			Gene_product ?Gene_product XREF Sequence
		  	Clone ?Clone XREF Sequence
                        Locus ?Locus XREF Sequence
			Genomic_Canonical UNIQUE Float // from the project: order
			Matching_Genomic ?Sequence XREF Matching_cDNA
			Matching_cDNA ?Sequence XREF Matching_Genomic
			Corresponding_DNA ?Sequence XREF Corresponding_peptide
			Corresponding_peptide ?Sequence XREF Corresponding_DNA
		        Related_Sequence ?Sequence XREF Related_Sequence
	  Properties    Pseudogene Text
			Transposon Text
                        cDNA
			Coding	CDS UNIQUE Int UNIQUE Int
				CDS_predicted_by ?Method Float // score of method
				Precursor
			Transcript	End_not_found
				 	Start_not_found Int // Int is frame of base 1
					mRNA	Processed_mRNA Int UNIQUE Int Text
						Unprocessed_mRNA Int UNIQUE Int Text
					tRNA Int UNIQUE Int Text
					rRNA Int UNIQUE Int Text
					snRNA Text
//			Status UNIQUE	Shotgun
//					Contiguous
//					Finished
//	  Repeats	Inverted	Int UNIQUE Int #Match
//			Tandem		Int UNIQUE Int #Match
//			Direct		Int UNIQUE Int #Match
//          Assembly_tags Comment Int Int Text
//                        Compression Int Int Text
//                        Stop Int Int Text
//                        Assembly_repeat Int Int Text
//                        Cosmid_vector Int Int Text
//                        Alu_segment Int Int Text
//                        Sequencing_vector Int Int Text
//                        Cloning_vector Int Int Text
//                        Oligo Int Int Text
//			A_Repeat Int Int Text
          Features      allele Text
//                        attenuator Text
//                        C_region Text
//                        cellular Text
//                        conflict Text
//                        D-loop Text
//                        D_region Text
//                        exon Int UNIQUE Int UNIQUE Int ?Method UNIQUE Float // 3rd Int is frame
//                        GC_signal Text
//                        iDNA Text
//                        insertion_seq Text
//                        intron Int UNIQUE Int UNIQUE Int ?Method UNIQUE Float // 3rd Int is frame
//                        J_region Text
//                        LTR Text
                        mat_peptide Int UNIQUE Int Text
//                        misc_binding Int UNIQUE Int Text
//                        misc_difference Text
			misc_feature Int UNIQUE Int ?Text
//                        misc_recomb Text
//                        misc_RNA Text
			misc_signal Int UNIQUE Int ?Text
//                        misc_structure Int UNIQUE Int Text
//			modified_base Int UNIQUE Int Text
//                        mRNA Text
                        mutation Int UNIQUE Int ?Text
//                        N_region Text
//			old_sequence Int UNIQUE Int Text
			polyA_signal Int UNIQUE Int Text  // AATAA
			polyA_site Int UNIQUE Int Text
//			precursor_RNA Text
//                        prim_transcript Text
//                        primer Text
//                        primer_bind Text
			promoter Int UNIQUE Int ?Text
			protein_bind Int UNIQUE Int Text
//                        provirus Text
//                        RBS Int UNIQUE Int Text
//                        rep_origin Int Text
			repeat_region Int UNIQUE Int Text
			repeat_unit Int UNIQUE Int Text
//                        S_region Text
//                        satellite Text
//                        scRNA Text
			sig_peptide Int UNIQUE Int Text
//                        snRNA Text
//                        stem_loop Text
//                        STS Text
			TATA_signal Int UNIQUE Int Text
//                        terminator Int UNIQUE Int Text
			transit_peptide Int UNIQUE Int Text
//			transposon Int UNIQUE Int Text
//                        tRNA Text
//                        unsure Text
//                        V_region Int UNIQUE Int Text
//                        variation Text
//                        virion Text
//                        -10_signal Int UNIQUE Int Text
//                        -35_signal Int UNIQUE Int Text
//                        3'clip Int UNIQUE Int Text
//                        3'UTR Int UNIQUE Int Text
//                        5'clip Int UNIQUE Int Text
//                        5'UTR Int UNIQUE Int Text
	  Similarity Homol ?Sequence XREF Homol ?Method Float Int UNIQUE Int Int UNIQUE Int Text
	  Hint ?LongText

?Source		Other_name ?Source XREF Other_name 
		Contents ?Text 
		Note ?Text 
		Remark ?LongText
		Paper ?Paper
		Contact ?Contact
		Address Mail Text
                        Phone Text
                        E_mail Text
			Fax Text

?Map_population	Paper ?Paper
		Contact ?Contact
		Note ?Text
		F2_Locus ?Locus XREF F2_data Text  
		RI_Locus ?Locus XREF RI_data Text  
		Hint ?LongText

?Method	Function ?Text	// what does it do?
	Variant_of UNIQUE ?Method XREF Variant
	Variant ?Method
	Version	Text
	Parameters Float_Params UNIQUE Text Float REPEAT 
                   Int_Params UNIQUE Text Int REPEAT
                   Text_Params UNIQUE Text Text REPEAT
	Min_score UNIQUE Float	// used in plotting
	Remark ?Text
	Reference ?Paper XREF Search_Method

?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

// ************************************************************
// Models are placed below this line when they are added or 
// modified to conform with ACEDB version 4.

?Pool	Description ?Text
	Contains Clone ?Clone XREF In_pool
		 Subpool ?Pool XREF In_pool
	   // etc. Contains is tag2
	In_pool ?Pool XREF Subpool
	Reference ?Paper XREF Pool
	Source ?Source
	Location ?Laboratory #Lab_location

?Lab_location	Building 	Text
		Room_number	Text
		Biological	Freezer	  Text
				LiquidN2  Text
				Minus70   Text
		Digital		Computer  Text
				Directory Text
				Filename  Text
                Remark		?Text

?Laboratory     Address Mail Text
                        Phone Text
                        E_mail Text
			Fax Text
                CGC     Representative UNIQUE ?Author XREF Laboratory 
                        Strain_designation Text
                        Allele_designation Text
                        Gene_classes ?Gene_class XREF Designating_laboratory
		Staff   ?Contact XREF Member_of_lab

?Contact	Position Text
     		Publishes_as ?Author XREF Full_name
		Member_of_lab ?Laboratory XREF Staff
		Old_lab ?Laboratory
		Address Mail Text
			Institution	Text
			Address1 Text
			Address2 Text
			Address3 Text
			Address4 Text
			Address5 Text
			City	Text
			State	Text
			Region	Text
			PostalCode Text
			Country Text
                        Phone Text
                        E_mail Text
			Fax Text
			Telex Text
		Profession Text
		Research_interest ?Text
		Keyword ?Keyword
		Associate ?Contact XREF Associate
		Last_update Text
		Obtained_from ?Source
		Hint ?LongText

?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
		Labels 	UNIQUE	A1_labelling	// label spaced blocks a-h down LHS, 1-12 across top
				Generic Text Text	// X-axis and Y-axis labels in the form of
							// 01-XX or XX-01, for ascending vs. descending.
							// Append an 'A', eg. 01-10A, for ascending, alphabetic.
	View ?View
	Row Int #Grid_row
	Virtual_row Int UNIQUE ?Grid XREF In_grid REPEAT
	In_grid ?Grid

?Grid_row UNIQUE Clone UNIQUE ?Clone XREF Gridded REPEAT
		 Rearrangement UNIQUE ?Rearrangement XREF Gridded REPEAT
		 Mixed #Mixed_grid_row

?Mixed_grid_row UNIQUE Clone UNIQUE ?Clone XREF Gridded #Mixed_grid_row
		       Rearr UNIQUE ?Rearrangement XREF Gridded #Mixed_grid_row

?Journal Paper ?Paper XREF Journal

?Paper  Reference       Title UNIQUE ?Text
			Original_title UNIQUE ?Text
                        Journal UNIQUE ?Journal XREF Paper
			Publisher UNIQUE Text
			Source UNIQUE Text
                        Page  UNIQUE  Text UNIQUE Text
                        Volume UNIQUE Int Text
			Number UNIQUE Int Text
                        Year UNIQUE Int
			In_book #Paper
			Contained_in ?Paper XREF Contains	// old form
			Medline_ID UNIQUE Int
			Agricola_ID UNIQUE Int
        Author ?Author XREF Paper
	Adviser ?Author XREF Paper
	Editor ?Author XREF Paper
	Affiliation Text	// Authors' affiliation if available
	Institution Text
	Language Text
        Abstract ?LongText
	Type UNIQUE Text
	Contains ?Paper XREF Contained_in
        Refers_to Allele ?Allele XREF Reference
		  Clone ?Clone XREF Reference
		  Gene_class ?Gene_class XREF Reference
		  Gene_product ?Gene_product XREF Reference
		  Locus ?Locus XREF Reference
		  Map ?Map XREF Reference
		  Phenotype ?Phenotype XREF Reference
		  Pool ?Pool XREF Reference
		  Protein ?Protein XREF Reference
		  Rearrangement ?Rearrangement XREF Reference
		  Sequence ?Sequence XREF Reference
		  Strain ?Strain XREF Reference
        Keyword ?Keyword

?Author	Full_name ?Contact
	Address Mail Text
		E_mail Text
		Phone Text
		Fax   Text
	Paper ?Paper
	Image ?Image

?Phenotype   Name ?Text 
             Description ?Text
	     Reference ?Paper XREF Phenotype
	     Locus ?Locus XREF Phenotype
             Gene_product ?Gene_product XREF Phenotype 
             Gene_class ?Gene_class XREF Phenotype
             Image ?Image XREF Phenotype
             Conflict ?Text
             Flag ?Text
             Note ?Text
	     Type       Recessive
                        Lethal
                        Dominant
			Semi_dominant
                        Codominant
                        Semi_sterile
                        Male_sterile
             Hint ?LongText   
             Segregation Text

?MultiMap Map ?Map
          Min Int // keep loci appearing on at least min maps. Default = 2 
          Anchor UNIQUE Text UNIQUE Text UNIQUE Text  // Class tag1 tag2
                            // i.e Locus Homeology_group Homelogs
                            // class members on different maps with the
                            // same Anchor tag will be chained

?Gene_class     Other_name    ?Gene_class XREF Other_name
                Locus         ?Locus
                Sequence      ?Sequence XREF Gene_class
                Gene_product  ?Gene_product XREF Gene_class
                Phenotype     ?Phenotype XREF Gene_class
                Allele ?Allele	XREF Gene_class
                Designating_laboratory UNIQUE ?Laboratory XREF Gene_classes
		Reference ?Paper XREF Gene_class
                Conflict      Text
                Contact       ?Contact
                Note          ?Text
                Hint          ?LongText

?Gene_product	Other_name ?Text
		EC_number ?Text
		Sequence ?Sequence XREF Gene_product
		Gene_class ?Gene_class XREF Gene_product
                Reference ?Paper XREF Gene_product

// models for Drawing display

?Image	Image #ImageFile
	Type FISH
             AUTORAD
             PHOTOGRAPH
             OTHER
        Author ?Author XREF Image
	Caption ?Text	
	Pick_me_to_call  UNIQUE Text UNIQUE Text   
        Location #Lab_location
        Refers_to  Locus  ?Locus XREF Image
                   Clone ?Clone XREF Image
                   Phenotype ?Phenotype XREF Image
	Drawing Centre UNIQUE Float UNIQUE Float
         	Scale UNIQUE Float		// units -> pixels
		Bounds UNIQUE Float UNIQUE Float UNIQUE Float UNIQUE Float
        Display  Default_view UNIQUE ?View
  		 View ?View
  	Contains  Cell ?Cell
  		// Contains is tag2 for objects - where is under Drawing

?ImageFile File_name UNIQUE Text
  	   File_type UNIQUE GIF	// could add JPEG, TIFF etc
  	   Colormap UNIQUE Greyscale
  		           Color

?DrawInfo UNIQUE Point UNIQUE Float UNIQUE Float
				// x y
	         Rectangle UNIQUE Float UNIQUE Float UNIQUE Float UNIQUE Float
				// x1 y1 x2 y2
		 Polygon Float UNIQUE Float
				// column of x y pairs

?map_error Error UNIQUE Float