Menu

open access dbs (Ensembl)

Help
kthomps7
2007-05-09
2012-09-19
  • kthomps7

    kthomps7 - 2007-05-09

    hi,

    i'm trying to connect to an open access db (Ensembl) through the module. the anonymous account has no passwd, however it appears 'YES' is passed by defualt. passing an empty string appears to be working, error: incorrect database. has anyone else connected to Ensembl and can they give me any advice?

    db=_mysql.connect(host="ensembldb.ensembl.org", user="anonymous",
    passwd="",db="ensembldb.ensembl.Registry")

    os = suse 10.0, python 2.4, module version 1.2.0-3

    thanks,
    kt

     
    • Jim Winstead

      Jim Winstead - 2007-05-09

      "ensembldb.ensembl.Registry" isn't the right database name (MySQL doesn't support such database names). Looking at the ensemble.org website, it appears there is a registry service that needs to be used to find out the correct database name for the particular data you want to look at.

      Take a look at http://www.ensembl.org/info/software/registry/index.html, it has the command-line commands to figure out what databases are available.

      Jim

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.