# DSMZ Fungi Catalogue
# Version 2004.05.24.01
# Last Updated May 24, 2004
# Author: Domenico Marra & Francesca Piersigilli & Paolo Romano
# (c) CABRI 1999-2023

$DSMZ_FUNGI_DB=$Library:[DSMZ_FUNGI group:$CABRI_FUNGI_LIBS
 res:$DSMZ_FUNGI_RES
 comment:'DSMZ Collection of fungi (Braunschweig, Germany)'
 defaultEntryView:$Entries_View
 defaultView:$CABRI_Fungi_View
 format:$DSMZ_FUNGI_FORMAT maxNameLen:60 
 files:{$LibFile:dsmz_fungi}
 links:{ $Link:[$DSMZ_FUNGI_DB to:$BCCM_IHEM_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$BCCM_MUCL_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$CABI_FIL_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$CABI_YEAST_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$CBS_FIL_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$CBS_YEAST_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_DB to:$DSMZ_FUNGI_SYNONYMS_DB
           fromField:$DF_CABRI_Name toField:$DF_CABRI_Name]
	 }
 ]

$DSMZ_FUNGI_FILE=$FileType:[text typeName:'dat' maxline:512 fieldTokens:fields ]
$DSMZ_FUNGI_SYNTAX=$Syntax:[file:'SRSSITE:dsmz_fungi.is' ignore:'\t']

$DSMZ_FUNGI_FORMAT=$LibFormat:[fileType:$DSMZ_FUNGI_FILE
 syntax:$DSMZ_FUNGI_SYNTAX
 printFormat:table3 tableFormat:left
 fields:{
  $Field:[$DF_CABRI_Strain_number code:strain_no index:id
          indexToken:strain_no tableToken:'t_fields|strain_no']  
  $Field:[$DF_CABRI_Other_collection_numbers code:other_nos index:str
          indexToken:'other_nos' tableToken:'t_fields|other_nos']
  $Field:[$DF_CABRI_Restrictions code:restr index:str
          indexToken:'strX|restr' tableToken:'t_fields|restrictions']
  $Field:[$DF_CABRI_Organism_type code:org_type index:str
          indexToken:'strX|org_type' tableToken:'t_fields|org_type']
  $Field:[$DF_CABRI_Name code:name index:str
          indexToken:'name' tableToken:'t_fields|name']
  $Field:[$DF_CABRI_Status code:status index:str
          indexToken:'strX|status' tableToken:'t_fields|status']
  $Field:[$DF_CABRI_Race code:race index:str
          indexToken:'strX|race' tableToken:'t_fields|race']
  $Field:[$DF_CABRI_History code:history index:str
          indexToken:'strX|history' tableToken:'t_fields|history']
  $Field:[$DF_CABRI_Misapplied_names code:mis index:str
          indexToken:'mis' tableToken:'t_fields|mis']
  $Field:[$DF_CABRI_Substrate code:substrate index:str
          indexToken:'strX|substrate' tableToken:'t_fields|substrate']
  $Field:[$DF_CABRI_Conditions_for_growth code:cond index:str
          indexToken:'strX|cond' tableToken:'t_fields|cond']
  $Field:[$DF_CABRI_Form_of_supply code:supply index:str
          indexToken:'strX|supply' tableToken:'t_fields|supply']
  $Field:[$DF_CABRI_Geographic_origin code:geo_origin index:str
          indexToken:'strX|geo_origin' tableToken:'t_fields|geo_origin']
  $Field:[$DF_CABRI_Mutant code:mutant index:str
          indexToken:'strX|mutant' tableToken:'t_fields|mutant']
  $Field:[$DF_CABRI_Enzyme_production code:enzyme index:str
          indexToken:'strX|enzyme' tableToken:'t_fields|enzyme']
  $Field:[$DF_CABRI_Metabolite_production code:metab index:str
          indexToken:'strX|metab' tableToken:'t_fields|metab']
  $Field:[$DF_CABRI_Applications code:applic index:str
          indexToken:'strX|applic' tableToken:'t_fields|applic']
  $Field:[$DF_CABRI_Pathogenicity code:pathogenicity index:str
          indexToken:'strX|pathogenicity' tableToken:'t_fields|pathogenicity']
  $Field:[$DF_CABRI_Genotype code:genotype index:str
          indexToken:'strX|genotype' tableToken:'t_fields|genotype']
  $Field:[$DF_CABRI_Sexual_state code:sex_state index:str
          indexToken:'strX|sex_state' tableToken:'t_fields|sex_state']
  $Field:[$DF_CABRI_Literature code:lit index:str
          indexToken:'lit' tableToken:'t_fields|lit']
  $Field:[$DF_CABRI_Further_information code:finfo index:str
          indexToken:'strX|finfo' tableToken:'t_fields|finfo']

  $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']
    }
 ]

$DSMZ_FUNGI_RL_DB=$Library:[DSMZ_FUNGI_RL group:$CABRI_FUNGI_HIDDEN_LIBS 
 type:hidden
 defaultView:$CABRI_Fungi_View
 format:$DSMZ_FUNGI_RL_FORMAT maxNameLen:60 
 files:{$LibFile:dsmz_fungi}
 links:{ $Link:[$DSMZ_FUNGI_RL_DB to:$BCCM_IHEM_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$BCCM_MUCL_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$CABI_FIL_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$CABI_YEAST_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$CBS_FIL_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$CBS_YEAST_RL_DB
           fromField:$DF_CABRI_Other_collection_numbers toField:$DF_CABRI_Strain_number]
         $Link:[$DSMZ_FUNGI_RL_DB to:$DSMZ_FUNGI_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Strain_number]
       }
 ]

$DSMZ_FUNGI_RL_FORMAT=$LibFormat:[fileType:$DSMZ_FUNGI_FILE
   syntax:$DSMZ_FUNGI_SYNTAX
   printFormat:table3 tableFormat:left
   fields:{ $Field:[$DF_CABRI_Strain_number code:strain_no index:id
                    indexToken:strain_no tableToken:'t_fields|strain_no']  
            $Field:[$DF_CABRI_Other_collection_numbers code:other_nos index:str
                    indexToken:'other_nos' tableToken:'t_fields|other_nos']
    }
 ]

$DSMZ_FUNGI_EL_DB=$Library:[DSMZ_FUNGI_EL group:$CABRI_FUNGI_HIDDEN_LIBS 
 type:hidden
 defaultView:$CABRI_Fungi_View
 format:$DSMZ_FUNGI_EL_FORMAT maxNameLen:60 
 files:{$LibFile:dsmz_fungi}
 links:{ $Link:[$DSMZ_FUNGI_EL_DB to:$BCCM_IHEM_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$BCCM_MUCL_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$CABI_FIL_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$CABI_YEAST_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$CBS_FIL_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$CBS_YEAST_EL_DB
           fromField:$DF_CABRI_Other_collection_numbers
           toField:$DF_CABRI_Other_collection_numbers]
         $Link:[$DSMZ_FUNGI_EL_DB to:$DSMZ_FUNGI_DB
           fromField:$DF_CABRI_Strain_number toField:$DF_CABRI_Strain_number]
       }
 ]

$DSMZ_FUNGI_EL_FORMAT=$LibFormat:[fileType:$DSMZ_FUNGI_FILE
   syntax:$DSMZ_FUNGI_SYNTAX
   printFormat:table3 tableFormat:left
   fields:{ $Field:[$DF_CABRI_Strain_number code:strain_no index:id
                    indexToken:strain_no tableToken:'t_fields|strain_no']  
            $Field:[$DF_CABRI_Other_collection_numbers code:other_nos index:str
                    indexToken:'other_nos' tableToken:'t_fields|other_nos']
    }
 ]