emboss on adcluster issue
Issue: When running showdb and preg (emboss program) on adcluster, run directly it runs fine, but when using qsub, it failed.
Reason: when running using qsub, it runs on another machine, which doesn't have databases directory linked to proper location on the file system on that machine.
/opt/Bio/EMBOSS/share/EMBOSS/data/databases link to /ifs/data/c2b2/af_lab/shares/emboss
Solution:
in users home directory, put a .embossrc file contains following information:
DB swissprot [
type: P
comment: "SWISSPROT protein sequences"
method: gcg
format: swiss
dbalias: sw
dir: /ifs/data/c2b2/af_lab/shares/emboss/gcgswissprot
file: swissprot*
]
This will point the swissprot database to proper location.
Thus showdb will show that database and preg will work on correct database.
Reason: when running using qsub, it runs on another machine, which doesn't have databases directory linked to proper location on the file system on that machine.
/opt/Bio/EMBOSS/share/EMBOSS/data/databases link to /ifs/data/c2b2/af_lab/shares/emboss
Solution:
in users home directory, put a .embossrc file contains following information:
DB swissprot [
type: P
comment: "SWISSPROT protein sequences"
method: gcg
format: swiss
dbalias: sw
dir: /ifs/data/c2b2/af_lab/shares/emboss/gcgswissprot
file: swissprot*
]
This will point the swissprot database to proper location.
Thus showdb will show that database and preg will work on correct database.