Icarus Class: Resource
Resource object containing information relevant to the resource - wether it be a library, application, sql tables etc.
name Attribute may stay unnamed in attribute list. 
type  Attribute has a default value. lib
  Use one of the following values. lib appl
creDate  
description  
www  
citation  
ftp  
fax  
ftpSite  
updDate  
more  
literature  
example  
email  
fields  
options  
date  
signature  
address  
contact  
updates  
updMethod  Attribute has a default value. none
  Use one of the following values. none mirror copy create createfromdatafiles createfromlinks sharedata createfromonline
  Method for updating a database
none: no updating mirror: ftp/mirror
copy: copy from a directory/cdrom
create: generated from existing SRS indexes createfromdatafiles: generated from existing data files createfromlinks: generated from existing SRS link indexes sharesdata: uses same datafiles as parent database eg. uniest createfromonline: created AFTER parents are moved online
mirrorTimeout  Attribute has a default value. 120
  timeout for an ftp connection (seconds)
mirrorRetry  Attribute has a default value. 3
  numbers of retries before aborting a download
mirrorChains  Attribute has a default value. 1
  number of simultaneous connections for a database The download dependencies for databases with multiple downloads will be chained in such a way that there will be no more than this number of connections
contentFile  
  contents file on remote site
localContentFile  
  contents file on local site
transferMode  Attribute has a default value. binary
  Use one of the following values. binary ascii
  ftp transfer mode
userName  Attribute has a default value. anonymous
  username on remote site
passWord  Attribute has a default value. paolo.romano@hsanmartino.it
  password on remote site
localSearchName  Attribute has a default value. *
  search pattern to find files on local site
searchName  
  search pattern to find files on remote site
files Attribute is multivalued (list).  
  list of files to download (alternative to searchName)
remoteNamePattern  
  file name pattern on the remote site
localNamePattern  
  file name pattern locally, after downloading
caseTranslation  Attribute has a default value. none
  Use one of the following values. none upper lower
  tranlate to lower or upper case, or not at all
subDirectories  Attribute has a default value. no
  Use one of the following values. no yes flatten
  This option controls whether Prisma will descend into sub-directories on the remote site. By default, Prisma will not do this. If yes is chosen, all files corresponding to the search name beneath the download directory will be transferred, and the directory structure will be preserved. If flatten is chosen, all the matching files from the subdirectory will be transferred to the same level in the offline directory.
downLoadDir  
  remote directory, or directory to copy from
remoteOptionalNamePattern  
  second level of name translation, pattern at the remote site
localOptionalNamePattern  
  second level of name translation, pattern at the local site
optionalCaseTranslation  Attribute has a default value. none
  Use one of the following values. none upper lower
  case conversion for second level translation
dbDependOn Attribute is multivalued (list).  
  list of database names on which the locally generated database depends
weekDay  Attribute has a default value. 0123456
  crontab like string specifying which day of the week to check for a database (Sunday=0)
unpackCommand Attribute is multivalued (list). Lists  
  system command(s) to use on data before indexing like unzip/untar. Occurences of "%s" will be replaced by the filename.
reformatCommand Attribute is multivalued (list). Lists  
  command(s) to do additional reformatting after indexing like fasta/blast file generation. Occurences of "%s" will be replaced by the filename.
installType  Attribute has a default value. move
  Use one of the following values. move switchlink command none
  type of installation:
  • move: moves data to the online directory<
  • switchlink: to switch links between (symbolic) online data locations and their physical locations
  • command: use command specified by installCommand
  • none: do not install
  • installFiles Attribute is multivalued (list). Lists  
      specification of additional files to move when installing database files with mv (like fasta files)
    installCommand Attribute is multivalued (list). Lists  
      specifies command(s) to use for installation (instead of the default mv)
    noSRS  Attribute has a default value. no
      Use one of the following values. no yes
      flag to specify that the database needs to be installed but is not indexed for SRS
    doRemove  Attribute has a default value. delete
      Use one of the following values. delete rename move
      flag indicating what to do with old files (either obsolete as indicated by mirror, or files in the in the new offLine data directory after a "switchlink" installation)
    removeDir  
      directory to which to move old files for doRemove:move
    removeExt  Attribute has a default value. old
      extension to add to old files for doRemove:rename
    getReleaseCommand  Attribute has a default value.
      Command which will return the release number for a library which can be added to the indices for display on the information page. This command will be run after the database has been installed online. %d is a placeholder for the online directory.
    forceOnline  Attribute has a default value. no
      Use one of the following values. no yes
      flag to indicate if database is to be moved online even if a link index or dependant database failed to be built correctly
    keepFileDates  Attribute has a default value. no
      Use one of the following values. no yes
      Flag to switch on and off preservation of file dates from remote site during mirroring by dbSync.pl
    checkFileSizes  Attribute has a default value. yes
      Use one of the following values. no yes
      This flag controls whether dbSync compares the size of local and remote files. By default, files will not be downloaded if they are newer and have changed size. This flag turns off this default behaviour so that the date alone will be used for comparison.
    checkNoFiles  Attribute has a default value. yes
      Use one of the following values. no yes
      Flag to switch on and off "sanity checking" by prismacheck If no files found on remote file, local checking will ensue (avoids deletion of entire datasets) should be turned on for EMBLNEW etc.
    inheritFiles  Attribute has a default value. no
      Use one of the following values. no yes
      flag for dependent dbs to inherit file lists from parents same number of files available to dependent as to parents file name and size translation patterns can be specified file list will be used for parallelisation and for default file installation All normal parallelisation options are available
    inheritFilePatternFrom  
      Perl file pattern list that works with inheritFilePatternTo when inheritFiles is selected to determine the names of files produced for a dependent database based on those used by the parent database. Uses same syntax as local and remote FilePattern NOTE: Currently, ^ and $ cannot be used in expressions except to denote prepending and appending of strings e.g. '[^,$]' -> '[em_,.dat]' will transform 'file' to 'em_file.dat' will work '[^em,dat$]' -> '[embl,data]' will not work (will be fixed in future releases)
    inheritFilePatternTo  
      See inheritFilePatternFrom
    inheritFileSize  Attribute has a default value. 1.000000
      Multiplication factor relating size of original parent file to dependent database file allows use of filesSize or chunkSize parallelisation. Used as a general guideline only!
    useFiles  Attribute has a default value. no
      Use one of the following values. no yes
      When selected for a dependent database, the $Library.files list will be used to build a file list for use in files parallelisation (*size parallelisation cannot be used at present since no size information is generated). These files MUST be present in the offline directory after pretrans. The generated list will also be used for default file installation.
    testEntries Attribute is multivalued (list).  
      Include a list of particularly good examples of entries that srsinspect can use to test an SRS server. These should be supplied as a list of accession numbers or whatever is the unique identifier for the library in database in question.
    applicationInput  
      A concatenated string of application options and/or inputs that can be used by srsinspect for testing this application.
    ignoredTokens Attribute is multivalued (list).  
      A list of tokens that srsinspect should not attempt to access while it is testing the contents of token tables.
    seeAlso  
      Applications related