# BCCM_GENECORNER PLASMID DB
#
# Version 2018.08.23.01
# Created August 23, 2018
# Derived from bccm_lmbp.i
# Author: Paolo Romano
# (c) CABRI 1999-2023

$BCCM_GENECORNER_DB=$Library:[BCCM_GENECORNER group:$CABRI_PLASMID_LIBS
 res:$BCCM_GENECORNER_RES
 comment:'BCCM/GeneCorner Collection of plasmids and cDNA (Gent, Belgium)'
 defaultEntryView:$Entries_View
 defaultView:$CABRI_Plasmids_View
 format:$BCCM_GENECORNER_FORMAT
 maxNameLen:60
 files:{$LibFile:bccm_genecorner}
 links:{$Link:[$BCCM_GENECORNER_DB to:$BCCM_GENECORNER_MEDIA_DB
               fromField:$DF_CABRI_Medium toField:$DF_CABRI_Abbreviation]
        } 
 ]

$BCCM_GENECORNER_FILE=$FileType:[text typeName:'dat' maxline:10000 fieldTokens:fields]
$BCCM_GENECORNER_SYNTAX=$Syntax:[file:'SRSSITE:bccm_genecorner.is' ignore:'\t']

$BCCM_GENECORNER_FORMAT=$LibFormat:[fileType:$BCCM_GENECORNER_FILE syntax:$BCCM_GENECORNER_SYNTAX
  printFormat:table3 tableFormat:left
  fields:{$Field:[$DF_CABRI_Collection_number code:coll_no index:id
                  indexToken:coll_no tableToken:'t_fields|coll_no']  
          $Field:[$DF_CABRI_Name code:name index:str
                  indexToken:name tableToken:'t_fields|name']  
          $Field:[$DF_CABRI_Other_culture_collection_numbers
                  code:oth_cul_col_no index:str
                  indexToken:oth_cul_col_no
                  tableToken:'t_fields|oth_cul_col_no']
          $Field:[$DF_CABRI_Type code:type index:str
                  indexToken:'strX|type' tableToken:'t_fields|type']
          $Field:[$DF_CABRI_Class code:class index:str
                  indexToken:'strX|class' tableToken:'t_fields|class']
          $Field:[$DF_CABRI_Literature code:lit index:str
                  indexToken:lit tableToken:'t_fields|lit']
          $Field:[$DF_CABRI_Related_literature code:rlt index:str
                  indexToken:rlt tableToken:'t_fields|rlt']
          $Field:[$DF_CABRI_History_of_deposit code:history index:str
                  indexToken:'strX|history' tableToken:'t_fields|history']
          $Field:[$DF_CABRI_Restricted_distribution code:rest_distrib index:str
                  indexToken:'strX|rest_distrib'
                  tableToken:'t_fields|rest_distrib']
          $Field:[$DF_CABRI_Host_for_distribution code:host_for_dist index:str
                  indexToken:'strX|host_for_dist'
                  tableToken:'t_fields|host_for_dist']
          $Field:[$DF_CABRI_Medium code:medium index:str
                  indexToken:'medium' tableToken:'t_fields|medium']
          $Field:[$DF_CABRI_Selectable_phenotype code:sel_pheno index:str
                  indexToken:'strX|sel_pheno' tableToken:'t_fields|sel_pheno']
          $Field:[$DF_CABRI_Replicon code:replicon index:str
                  indexToken:'strX|replicon' tableToken:'t_fields|replicon']
          $Field:[$DF_CABRI_Host_range code:host_range index:str
                  indexToken:'strX|host_range' tableToken:'t_fields|host_range']
#          $Field:[$DF_CABRI_Properties_and_applications code:prop_and_appl index:str
#                  indexToken:'strX|prop_and_appl'
#                  tableToken:'t_fields|prop_and_appl']
          $Field:[$DF_CABRI_Cloned_gene code:cloned_gene index:str
                  indexToken:'strX|cloned_gene'
                  tableToken:'t_fields|cloned_gene']
          $Field:[$DF_CABRI_Promoter code:promoter index:str
                  indexToken:'strX|promoter' tableToken:'t_fields|promoter']
          $Field:[$DF_CABRI_Ribosome_binding_site code:ribo_bind_site index:str
                  indexToken:'strX|ribo_bind_site'
                  tableToken:'t_fields|ribo_bind_site']
          $Field:[$DF_CABRI_Terminator code:termi index:str
                  indexToken:'strX|termi' tableToken:'t_fields|termi']
          $Field:[$DF_CABRI_Further_information code:further_inf index:str
                  indexToken:'strX|further_inf'
                  tableToken:'t_fields|further_inf']
#          $Field:[$DF_CABRI_Restriction_sites code:rest_sites index:str
#                  indexToken:rest_sites
#                  tableToken:'t_fields|rest_sites']
          $Field:[$DF_CABRI_Sequence_detail code:seq_det index:str
                  indexToken:seq_det tableToken:'t_fields|seq_det']
	  $Field:[$DF_CABRI_External_links code:ext_link index:str 
		  indexToken:ext_link tableToken:'t_fields|ext_link']

  $Field:[$DF_CABRI_IDE]
  $Field:[$DF_CABRI_NAM]
  $Field:[$DF_CABRI_ALL]
          $Field:[$DF_CABRI_Information code:information index:show
                  indexToken:'strX|name' token:'strX|name'
                  tableToken:'t_fields|name']
    }
]