A simple pythonic interface to BioMart, providing easy querying of biological databases (e.g., Ensembl, HGNC) and retrieval of gene annotations, transcripts, etc. Current version 0.2.0 is stable but low activity; no breaking changes since release.
pip install pybiomartNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Query Ensembl for human gene IDs and gene names.
Use exact case as in BioMart: e.g., 'hsapiens_gene_ensembl' and host 'http://www.ensembl.org' (note: http, not https).
Explicitly set host='http://www.ensembl.org' to avoid connection issues.
Limit attributes to necessary ones and consider splitting large queries.
Use host='http://www.ensembl.org' (note: http, no 's').
Check exact dataset name from BioMart website (e.g., 'hsapiens_gene_ensembl') and host (e.g., 'http://www.ensembl.org').
Use from pybiomart import Dataset