# some simple testing stuff SET emboss_qadata $emboss_basedirectory/test SET emboss_tempdata $emboss_standard/test # Standard date for test runs - set to the date of the release # Used to make the output consistent where an application reports # today's date SET emboss_timetoday "2013-07-15 12:00:00" ####################################### # Standard test databases ####################################### # Should be uncommented in the installed copy of emboss.default ################################################################## # Test Databases # Used by the qatest.pl script to test an EMBOSS installation. # Comment them out if you do not want your users to use them. # Examples in the EMBOSS documentation should all run by using # TEMBL: in place of EMBL:, TSW: in place of SW:, and so on. ################################################################## # swissprot # ========= DB tsw [ type: "Protein protfeatures text" directory: "$emboss_tempdata/swiss" method: "emblcd" format: "swiss" release: "36" field: "id" field: "acc" field: "sv" field: "des" field: "org" field: "key" comment: "Swissprot native format with EMBL CD-ROM index" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" example: "hba_human" ] # trembl # ====== DB tswnew [ type: "Protein protfeatures" directory: "$emboss_tempdata/swnew" method: "emblcd" format: "swiss" release: "37" fields: "sv des org key" comment: "SpTrEmbl as 3 files in native format with EMBL CD-ROM index" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" ] # embl # ==== DB tembl [ type: "Nucleotide refseq nucfeatures" directory: "$emboss_tempdata/embl" method: "emblcd" format: "embl emblcon" release: "57" fields: "sv des org key" comment: "EMBL in native format with EMBL CD-ROM index" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" special: "ConDatabase=TEMBL" special: "ConField=acc" example: "x13776" ] # pir # === DB tpir [ type: "protein" directory: "$emboss_tempdata/pir" method: "gcg" file: "pir*.seq" format: "nbrf" fields: "des org key" comment: "Test PIR using NBRF access for 4 files" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] # Genbank (DKFZ - we are not using the GCG formatted files in test/gb) # ======= DB tgb [ type: "nucleotide nucfeatures" method: "srswww" format: "genbank" url: "http://genius.embnet.dkfz-heidelberg.de/menu/cgi-bin/srs7.1.3.1/wgetz" dbalias: "genbank" fields: "sv des org key" comment: "Genbank by SRS at DKFZ" taxon: "1 all" ] # Genbank # ======= DB tgenbank [ type: "nucleotide nucfeatures" directory: "$emboss_tempdata/genbank" method: "emblcd" format: "genbank" release: "01" fields: "sv des org key" comment: "Test GenBank in native format with EMBL CD-ROM index" taxon: "1 all" ] # TestDB # ======= DB testdb [ type: "nucleotide" directory: "$emboss_tempdata/testdb" method: "emblcd" format: "fasta" release: "01" fields: "des" comment: "test sequence data" ] ####################################### ### Access method EMBLCD, flatfile data ####################################### # Nucleotide data (1 file) # =============== DB qanflat [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emblcd" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbiflat-ex-keep" comment: "EMBL flatfiles" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanflatall [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emblcd" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbiflat-embl-allsys-keep" comment: "EMBL flatfiles" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanflatexc [ type: "nucleotide nucfeatures" format: "embl" method: "emblcd" directory: "$emboss_qadata/embl" exclude: "rod.dat" indexdir: "$emboss_qadata/qa/dbiflat-embl-allsys-keep" comment: "EMBL flatfiles, no rodent file" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanflatinc [ type: "nucleotide nucfeatures" format: "embl" method: "emblcd" directory: "$emboss_qadata/embl" file: "rod.dat" exclude: "*.dat" indexdir: "$emboss_qadata/qa/dbiflat-embl-allsys-keep" comment: "EMBL flatfiles, only rodent file" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxflat [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emboss" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbxflat-ex-keep" dbalias: "embl" comment: "EMBL flatfiles" taxon: "1 all" fields: "id,acc" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxflatall [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emboss" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbxflat-all-keep" fields: "des org key sv" dbalias: "embl" comment: "EMBL flatfiles, all fields indexed" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qaxembl [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emboss" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbxflat-all-keep" dbalias: "embl" comment: "EMBL flatfiles" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxflatexc [ type: "nucleotide nucfeatures refseq" format: "embl" method: "emboss" directory: "$emboss_qadata/embl" exclude: "rod.dat" indexdir: "$emboss_qadata/qa/dbxflat-all-keep" dbalias: "embl" comment: "EMBL flatfiles, no rodent file" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxflatinc [ type: "nucleotide nucfeatures" format: "embl" method: "emboss" directory: "$emboss_qadata/embl" file: "rod.dat" exclude: "*.dat" indexdir: "$emboss_qadata/qa/dbxflat-all-keep" dbalias: "embl" comment: "EMBL flatfiles, only rodent file" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] # Protein data (3 files) # ============ DB qapflat [ type: "protein protfeatures" format: "swiss" method: "emblcd" directory: "$emboss_qadata/swnew" indexdir: "$emboss_qadata/qa/dbiflat-swiss-keep" comment: "SpTrEmbl flatfile" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" ] DB qapflatall [ type: "protein protfeatures" format: "swiss" method: "emblcd" directory: "$emboss_qadata/swnew" indexdir: "$emboss_qadata/qa/dbiflat-swiss-keep" comment: "SpTrEmbl flatfiles, all fields indexed" fields: "sv des org key" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" ] DB qapxflat [ type: "Protein" format: "swiss" method: "emboss" directory: "$emboss_qadata/swnew" indexdir: "$emboss_qadata/qa/dbxflat-swiss-keep" dbalias: "swnew" comment: "Swissnew flatfiles" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" ] ########################################### ### Access method EMBLCD, FASTA format data ########################################### DB qanfasta [ type: "nucleotide" format: "fasta" method: "emblcd" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbifasta-ex-keep" comment: "FASTA file EMBL rodents" taxon: "9989 rodentia" ] DB qapfasta [ type: "protein" format: "fasta" method: "emblcd" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbifasta-swiss-keep" comment: "FASTA file swissnew entries" taxon: "1 all" ] DB qawfasta [ type: "Nucleotide" format: "fasta" method: "emblcd" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbifasta-worm-keep" comment: "FASTA file wormpep entries" taxon: "6239 caenorhabditis elegans" ] DB qanfastaall [ type: "nucleotide" format: "fasta" method: "emblcd" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbifasta-allsys-keep" comment: "FASTA file EMBL rodents, all fields indexed" fields: "sv des" taxon: "9989 rodentia" ] ########################################### ### Access method EMBOSS, FASTA format data ########################################### DB qanxfasta [ type: "nucleotide" format: "fasta" method: "emboss" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbxfasta-ex-keep" dbalias: "emrod" comment: "FASTA file EMBL rodents" taxon: "9989 rodentia" ] DB qapxfasta [ type: "protein" format: "fasta" method: "emboss" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbxfasta-swiss-keep" dbalias: "swnew" comment: "FASTA file swissnew entries" taxon: "1 all" ] DB qawxfasta [ type: "nucleotide" format: "fasta" method: "emboss" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbxfasta-worm-keep" dbalias: "worm" comment: "FASTA file wormpep entries" taxon: "6239 caenorhabditis elegans" ] DB qanxfastaall [ type: "nucleotide" format: "fasta" method: "emboss" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbxfasta-allsys-keep" fields: "sv des" comment: "FASTA file EMBL rodents, all fields indexed" dbalias: "emrod" taxon: "9989 rodentia" ] ####################### ### Access method BLAST ####################### DB qapblast [ type: "protein" format: "ncbi" method: "blast" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbiblast-ex-keep" comment: "BLAST swissnew" taxon: "1 all" ] DB qapblastsplit [ type: "protein" format: "ncbi" method: "blast" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbiblast-split-keep" comment: "BLAST swissnew split in 5 files" taxon: "1 all" ] DB qapblastsplitexc [ type: "protein" format: "ncbi" method: "blast" directory: "$emboss_qadata/data" exclude: "swsplit.02.*" indexdir: "$emboss_qadata/qa/dbiblast-split-keep" comment: "BLAST swissnew split in 5 files, not file 02" taxon: "1 all" ] DB qapblastsplitinc [ type: "protein" format: "ncbi" method: "blast" directory: "$emboss_qadata/data" file: "swsplit.02.*" exclude: "*" indexdir: "$emboss_qadata/qa/dbiblast-split-keep" comment: "BLAST swissnew split in 5 files, only file 02" taxon: "1 all" ] DB qapblastall [ type: "protein" format: "ncbi" method: "blast" directory: "$emboss_qadata/data" indexdir: "$emboss_qadata/qa/dbiblast-allsys-keep" comment: "BLAST swissnew, all fields indexed" fields: "sv des" taxon: "1 all" ] ##################### ### access method GCG ##################### DB qangcg [ type: "nucleotide nucfeatures" format: "embl" method: "gcg" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbigcg-ex-keep" comment: "GCG format test EMBL" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qangcgexc [ type: "nucleotide nucfeatures" format: "embl" method: "gcg" directory: "$emboss_qadata/embl" exclude: "eem_ba1.*" indexdir: "$emboss_qadata/qa/dbigcg-ex-keep" comment: "GCG format test EMBL without prokaryotes" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qangcginc [ type: "nucleotide nucfeatures" format: "embl" method: "gcg" directory: "$emboss_qadata/embl" file: "eem_ba1.*" exclude: "*" indexdir: "$emboss_qadata/qa/dbigcg-ex-keep" comment: "GCG format test EMBL only prokaryotes" taxon: "1 all" # need multiple taxon attributes as bacteria and archaea are in embl PRO edamdat: "1226 EMBL nucleotide sequence record" ] DB qangcgall [ type: "nucleotide nucfeatures" format: "embl" method: "gcg" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbigcg-allsys-keep" comment: "GCG format test EMBL" fields: "sv des org key" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qapir [ type: "protein protfeatures" format: "nbrf" method: "gcg" directory: "$emboss_qadata/pir" indexdir: "$emboss_qadata/qa/dbigcg-pir-keep" comment: "Test PIR indexed by dbigcg" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qapirexc [ type: "protein protfeatures" format: "nbrf" method: "gcg" directory: "$emboss_qadata/pir" exclude: "pir1.*" indexdir: "$emboss_qadata/qa/dbigcg-pir-keep" comment: "Test PIR indexed by dbigcg except file pir1" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qapirinc [ type: "protein protfeatures" format: "nbrf" method: "gcg" directory: "$emboss_qadata/pir" file: "pir1.*" exclude: "*" indexdir: "$emboss_qadata/qa/dbigcg-pir-keep" comment: "Test PIR indexed by dbigcg file pir1" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qapirall [ type: "protein protfeatures" format: "nbrf" method: "gcg" directory: "$emboss_qadata/pir" indexdir: "$emboss_qadata/qa/dbigcg-pirall-keep" comment: "Test PIR indexed by dbigcg with fields" fields: "des org key" taxon: "1 all" ] ########################### ### access method EMBOSSGCG ########################### DB qanxgcg [ type: "nucleotide nucfeatures" format: "embl" method: "embossgcg" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbxgcg-ex-keep" dbalias: "embl" comment: "GCG format EMBL" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxgcgexc [ type: "nucleotide nucfeatures" format: "embl" method: "embossgcg" directory: "$emboss_qadata/embl" exclude: "eem_ba1.*" indexdir: "$emboss_qadata/qa/dbxgcg-ex-keep" dbalias: "embl" comment: "GCG format EMBL without prokaryotes" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxgcginc [ type: "nucleotide nucfeatures" format: "embl" method: "embossgcg" directory: "$emboss_qadata/embl" file: "eem_ba1.*" exclude: "*" indexdir: "$emboss_qadata/qa/dbxgcg-ex-keep" dbalias: "embl" comment: "GCG format EMBL only prokaryotes" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qanxgcgall [ type: "nucleotide nucfeatures" format: "embl" method: "embossgcg" directory: "$emboss_qadata/embl" indexdir: "$emboss_qadata/qa/dbxgcg-allsys-keep" fields: "sv des org key" dbalias: "embl" comment: "GCG format EMBL indexed by dbxgcg with query fields" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] DB qaxpir [ type: "protein protfeatures" format: "nbrf" method: "embossgcg" directory: "$emboss_qadata/pir" indexdir: "$emboss_qadata/qa/dbxgcg-pir-keep" dbalias: "pir" comment: "PIR indexed by dbxgcg" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qaxpirexc [ type: "protein protfeatures" format: "nbrf" method: "embossgcg" directory: "$emboss_qadata/pir" exclude: "pir1.*" indexdir: "$emboss_qadata/qa/dbxgcg-pir-keep" dbalias: "pir" comment: "Test PIR indexed by dbxgcg except pir1" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qaxpirinc [ type: "protein protfeatures" format: "nbrf" method: "embossgcg" directory: "$emboss_qadata/pir" file: "pir1.*" exclude: "*" indexdir: "$emboss_qadata/qa/dbxgcg-pir-keep" dbalias: "pir" comment: "Test PIR indexed by dbxgcg file pir1" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] DB qaxpirall [ type: "protein protfeatures" format: "nbrf" method: "embossgcg" directory: "$emboss_qadata/pir" indexdir: "$emboss_qadata/qa/dbxgcg-pirall-keep" fields: "des org key" dbalias: "pir" comment: "Test PIR indexed by dbxgcg with fields" taxon: "1 all" edamdat: "1232 PIR protein sequence record" ] ##################### ### access method SRS ##################### #DB qasrs [ type: "nucleotide nucfeatures refseq" # format: "embl" method: "srs" # dbalias: "embl" # fields: "sv des org" # key omitted to test error messages # comment: "EMBL in local srs installation" # taxon: "1 all" # edamdat: "1226 EMBL nucleotide sequence record" #] ########################## ### access method SRSFASTA ########################## #DB qasrsfasta [ type: "nucleotide" # format: "fasta" method: "srsfasta" # dbalias: "embl" # fields: "sv des org key" # comment: "EMBL in local srs installation, fasta format" # taxon: "1 all" #] ######################## ### access method SRSWWW ######################## DB qasrswww [ type: "protein protfeatures" format: "swissprot" method: "srswww" dbalias: "uniprot" fields: "sv des org key" url: "http://srs.ebi.ac.uk/srsbin/cgi-bin/wgetz" comment: "Remote SRS web server" taxon: "1 all" edamdat: "1230 UniProt protein sequence record" ] ########################################## # ENA entries no longer on qasrswww as EMBL ########################################### DB ena [ type: "nucleotide nucfeatures" format: "embl" method: "url" url: "http://www.ebi.ac.uk/ena/data/view/%s&display=text" comment: "ENA via URL" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] IFDEF EMBOSS_POSTGRESQL ######################## ### access method chado ######################## DB tgenedb [ methodentry: "chado" type: "features" url: "postgresql://genedb_ro:@db.genedb.org:5432/snapshot" format: "chado" field: "uniquename ! identifier" hasacc: "N" identifier: "uniquename" taxon: "1 all" comment: "GeneDb CHADO server" ] DB tflybase [ methodentry: "chado" type: "features" url: "postgresql://flybase:@flybase.org:5432/flybase" format: "chado" field: "uniquename ! identifier" hasacc: "N" identifier: "uniquename" taxon: "1 all" comment: "Flybase CHADO server" ] ENDIF ######################## ### access method DAS ######################## SERVER tdas [ method: "das" type: "sequence, features" url: "http://www.dasregistry.org/das/" comment: "sequence/feature sources listed on dasregistry.org" cachefile: "qatests.server.dasregistry" taxon: "1 all" ] SERVER tensembldasserver [ method: "das" type: "sequence, features" url: "http://www.ensembl.org/das/" comment: "sequence/feature sources on ensembl das server" cachefile: "qatests.server.ensembldasserver" taxon: "1 all" ] DB tensembldasgrch37 [ method: "das" type: "N" url: "http://www.ensembl.org:80/das/Homo_sapiens.GRCh37.reference/" comment: "Homo_sapiens Reference server based on GRCh37 assembly" format: "das" taxon: "9606 homo sapiens" ] DB tgenedashuman [ method: "das" type: "N" url: "http://www.ebi.ac.uk/das-srv/genedas/das/Homo_sapiens.Gene_ID.reference/" comment: "The Ensembl human Gene_ID reference source" format: "das" taxon: "9606 homo sapiens" ] ######################## ### EBI webservices ######################## SERVER twsdbfetch [ methodentry: "wsdbfetch" type: "sequence, features, text, obo" url: "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit" comment: "EBI dbfetch webservices(SOAP)" cachefile: "qatests.server.twsdbfetch" taxon: "1 all" ] SERVER tdbfetch [ methodentry: "dbfetch" type: "sequence, features, text, obo" url: "http://www.ebi.ac.uk/Tools/dbfetch/" comment: "EBI dbfetch webservices(REST)" cachefile: "qatests.server.tdbfetch" ] SERVER tebeye [ method: "ebeye" type: "text" url: "http://www.ebi.ac.uk/ebisearch/service.ebi" comment: "EBI ebeye webservices" cachefile: "qatests.server.ebeye" taxon: "1 all" ] ############################ ### access method direct ### ############################ # embl # ==== DB temblall [ type: "nucleotide nucfeatures refseq" directory: "$emboss_tempdata/embl" method: direct format: embl release: 57 fields: "sv des org key" comment: "EMBL in native format with EMBL CD-ROM index" filename: "*.dat" exclude: "condiv.dat" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] # embl (vertebrates) # ==== DB temblvrt [ type: "nucleotide nucfeatures" directory: "$emboss_tempdata/embl" method: "direct" format: "embl" release: "57" fields: "sv des org key" comment: "EMBL in native format with EMBL CD-ROM index" filename: "hum*.dat rod*.dat vrt*.dat" taxon: "9711 chordata" edamdat: "1226 EMBL nucleotide sequence record" ] # embl (non-vertebrates) # ==== DB temblrest [ type: "nucleotide nucfeatures refseq" directory: "$emboss_tempdata/embl" method: "direct" format: "embl" release: "57" fields: "sv des org key" comment: "EMBL in native format with EMBL CD-ROM index" filename: "*.dat" exclude: "condiv.dat hum*.dat rod*.dat vrt*.dat" taxon: "1 all" edamdat: "1226 EMBL nucleotide sequence record" ] # dummy resource names for dbx indexing to use the default values # no longer needed - use system-wide definitions in emboss.standard # edam # ==== DB tedam [ dbalias: "edam" type: "obo" indexdirectory: "$emboss_qadata/qa/dbxedam-keep" directory: "$emboss_qadata/data" method: "emboss" format: "obo" release: "beta11" fields: "id acc nam isa des ns hasattr hasin hasout isid isfmt issrc" comment: "Test EDAM using dbxedam test indexes" ] # edam with dbxobo # ================ DB tobo [ dbalias: "edam" type: "obo" indexdirectory: "$emboss_qadata/qa/dbxobo-keep" directory: "$emboss_qadata/data" method: "emboss" format: "obo" release: "beta11" fields: "id acc nam isa des ns hasattr hasin hasout isid isfmt issrc" comment: "Test EDAM using dbxobo test indexes" ] DB ttax [ type: "taxonomy" format: "ncbi" method: "embosstax" dbalias: "taxon" indexdirectory: "$emboss_qadata/qa/dbxtax-keep" directory: "$emboss_qadata/data/taxonomy" fields: "id acc nam rnk up gc mgc" comment: "NCBI taxonomy test data" ] DB bpsw [ type: "protein protfeatures" format: "swissprot" method: "obda" dbalias: "swissprot" indexdirectory: "$emboss_qadata/swiss/swissprot" directory: "$emboss_qadata/swiss" fields: "id acc" comment: "BioPerl OBDA index of test SwissProt" ] DB bpembl [ type: "nucleotide nucfeatures" format: "embl" method: "obda" dbalias: "embl" indexdirectory: "$emboss_qadata/embl/embl" directory: "$emboss_qadata/embl" fields: "id acc" comment: "BioPerl OBDA index of test EMBL" ] DB bpgb [ type: "nucleotide nucfeatures" format: "genbank" method: "obda" dbalias: "genbank" indexdirectory: "$emboss_qadata/genbank/genbank" directory: "$emboss_qadata/genbank" fields: "id acc" comment: "BioPerl OBDA index of test GenBank" ] DB bpworm [ type: "protein" format: "fasta" method: "obda" dbalias: "worm" indexdirectory: "$emboss_qadata/wormpep/worm" directory: "$emboss_qadata/wormpep" fields: "id" hasacc: "N" comment: "BioPerl OBDA index of test wormpep fasta file" ]