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

$NCIMB_PHAGES_DB=$Library:[NCIMB_PHAGES group:$CABRI_PHAGES_LIBS
  res:$NCIMB_PHAGES_RES
  comment:'NCIMB Collection of phages (Aberdeen, Scotland, United Kingdom)'
  defaultEntryView:$Entries_View
  defaultView:$CABRI_Phages_View
  format:$NCIMB_PHAGES_FORMAT maxNameLen:60
  files:{$LibFile:ncimb_phages}
  ]

$NCIMB_PHAGES_FILE=$FileType:[text typeName:'dat' maxline:10000
 fieldTokens:fields]
$NCIMB_PHAGES_SYNTAX=$Syntax:[file:'SRSSITE:ncimb_phages.is' ignore:'\t']

$NCIMB_PHAGES_FORMAT=$LibFormat:[fileType:$NCIMB_PHAGES_FILE
 syntax:$NCIMB_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_Other_collection_numbers code:other_nos index:str
          indexToken:'other_nos' tableToken:'t_fields|other_nos']
  $Field:[$DF_CABRI_Type code:type index:str
          indexToken:'strX|type' tableToken:'t_fields|type']
  $Field:[$DF_CABRI_Restricted_distribution code:rest_distrib index:str
          indexToken:'strX|rest_distrib' tableToken:'t_fields|rest_distrib']
  $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_Virus_used_for code:virus_for index:str
          indexToken:'strX|virus_for' tableToken:'t_fields|virus_for']
  $Field:[$DF_CABRI_Lysogenicity code:lyso index:str
          indexToken:'strX|lyso' tableToken:'t_fields|lyso']

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