Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example where we directly connect to the ensembl servers #71

Open
ivirshup opened this issue Apr 8, 2024 · 1 comment
Open

Example where we directly connect to the ensembl servers #71

ivirshup opened this issue Apr 8, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request P2🏝 Low priority

Comments

@ivirshup
Copy link
Member

ivirshup commented Apr 8, 2024

Description of feature

It would be nice to have an example where we directly connect to the ensembl mysql servers to run a query. Especially for the biomart version, much more information should be available.

It may also be important to note that users may need to interact with the servers through ibis to be able to make full use of the extra information.

@ivirshup ivirshup added enhancement New feature or request documentation Improvements or additions to documentation P2🏝 Low priority labels Apr 8, 2024
@ivirshup
Copy link
Member Author

ivirshup commented Apr 9, 2024

Actually these tables aren't quite the same, so maybe this just needs to go into a gist somewhere. The tables on the service use integers as ids instead of strings. One can connect with:

import ibis

conn = ibis.mysql.connect("ensembldb.ensembl.org", user="anonymous", database="homo_sapiens_core_108_38")

and docs can be found here: https://useast.ensembl.org/info/data/mysql.html

Though the service seems to be down at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request P2🏝 Low priority
Projects
None yet
Development

No branches or pull requests

1 participant