For any given
method:declaration, EMBOSS will use that method for those access modes supported by the method.
If you wish to specify which access mode (all, query or single) should be handled by which database retrieval method then the
methodsingle:,
methodquery:and
methodall:declarations should be used instead of
method:
DB mydb [ methodsingle: app format: fasta app: "customapp myproteindb" methodall: direct dir: \$emboss_db_dir/myproteindb file: myproteindb.dat type: P comment: "single and all access for myproteindb" ]
You can mix these, for example, to use a script to query a file, and direct acces to read all entries,
methodall: 'direct' methodquery: 'external'