kisterae

My Photo
Name:
Location: New York, New York, United States

我叫江奕賢啦

Thursday, July 23, 2009

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.

Labels: , ,