# DSMZ Phages Catalogue
#
# Version 2004.03.22.01
# Last Updated March 23, 2004
# Author: Domenico Marra & Francesca Piersigilli & Paolo Romano
# (c) CABRI 1999-2023

$DSMZ_PHAGES_DB=$Library:[DSMZ_PHAGES group:$CABRI_PHAGES_LIBS
 res:$DSMZ_PHAGES_RES
 comment:'DSMZ Collection of phages (Braunschweig, Germany)'
 defaultEntryView:$Entries_View
 defaultView:$CABRI_Phages_View
  format:$DSMZ_PHAGES_FORMAT maxNameLen:60 
  files:{$LibFile:dsmz_phages}
  links:{$Link:[$DSMZ_PHAGES_DB to:$DSMZ_MEDIA_DB
               fromField:$DF_CABRI_Medium toField:$DF_CABRI_Medium_no]
        }

]

$DSMZ_PHAGES_FILE=$FileType:[text typeName:'dat' maxline:512
    fieldTokens:fields ]
$DSMZ_PHAGES_SYNTAX=$Syntax:[file:'SRSSITE:dsmz_phages.is' ignore:'\t']

$DSMZ_PHAGES_FORMAT=$LibFormat:[fileType:$DSMZ_PHAGES_FILE
 syntax:$DSMZ_PHAGES_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_Type code:type index:str
          indexToken:'strX|type' tableToken:'t_fields|type']
  $Field:[$DF_CABRI_Other_collection_numbers code:other_nos index:str
          indexToken:'other_nos' tableToken:'t_fields|other_nos']
  $Field:[$DF_CABRI_Restricted_distribution code:rest_dist index:str
          indexToken:'strX|rest_dist' tableToken:'t_fields|rest_dist']
  $Field:[$DF_CABRI_Literature code:literature index:str
          indexToken:'strX|literature' tableToken:'t_fields|literature']
  $Field:[$DF_CABRI_History_of_deposit code:history index:str
          indexToken:'strX|history' tableToken:'t_fields|history']
  $Field:[$DF_CABRI_Host_for_propagation code:host_for_prop index:str
          indexToken:'strX|host_for_prop' tableToken:'t_fields|host_for_prop']
  $Field:[$DF_CABRI_Host_used_for_propagation code:host_str index:str
          indexToken:'strX|host_str' tableToken:'t_fields|host_str']
  $Field:[$DF_CABRI_Lysogenicity code:lyso index:str
          indexToken:'strX|lyso' tableToken:'t_fields|lyso']
  $Field:[$DF_CABRI_Virus_used_for code:virus_used_for index:str
          indexToken:'strX|virus_used_for' tableToken:'t_fields|virus_used_for']
  $Field:[$DF_CABRI_Medium code:medium index:str
          indexToken:'medium' tableToken:'t_fields|medium']
  $Field:[$DF_CABRI_Class code:class index:str
          indexToken:'strX|class' tableToken:'t_fields|class']
#  $Field:[$DF_CABRI_Host_for_selection code:host_for_sel index:str
#          indexToken:'strX|host_for_sel' tableToken:'t_fields|host_for_sel'] 
  $Field:[$DF_CABRI_Viral_morphology code:vimor index:str
          indexToken:'strX|vimor' tableToken:'t_fields|vimor']
#  $Field:[$DF_CABRI_Plaque_forming_phage code:plafo index:str
#          indexToken:'strX|plafo' tableToken:'t_fields|plafo'] 
  $Field:[$DF_CABRI_Plaque_description code:plade index:str
          indexToken:'strX|plade' tableToken:'t_fields|plade'] 
#  $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_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:'strX|rest_sites' tableToken:'t_fields|rest_sites']

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