Async pythonic interface to Biomart.
Project description
apybiomart
Async pythonic interface to BioMart.
Free software: MIT license
Documentation: https://apybiomart.readthedocs.io.
GitHub repo: https://github.com/robertopreste/apybiomart
Features
apybiomart is a Python module which provides a simple asynchronous interface to Ensembl BioMart. Users can exploit the async interface to schedule multiple queries using all the commodities offered by Python’s asyncio library.
Depending on specific needs, apybiomart offers different entry points:
an asynchronous aquery() function, to schedule multiple queries in the same event loop;
a synchronous query() function, which can be used for exploratory queries, executed in real time;
a set of synchronous list_*() functions, which can be used to retrieve the list of available marts, datasets for a specific mart, attributes and filters for a specific dataset.
Please refer to the Usage section of the documentation for further information.
Background
apybiomart was originally born as a fork of the great pybiomart package.
I was working on a project that employed a series of async calls to several online resources, but I couldn’t manage to perform asynchronous calls to BioMart using that package, so I decided to modify it to better suit my needs. However, it gradually evolved into a very different thing: the original implementation was rewritten and the structure of the package changed a bit, in a way that I found most useful for my purpose.
This said, all the credits go to jrderuiter, which created the original pybiomart package.
Installation
``apybiomart`` only supports Python 3, and can be installed using pip:
pip install apybiomart
Please refer to the Installation section of the documentation for further information.
Credits
This package was created with Cookiecutter and the cc-pypackage project template.
History
0.1.0 (2019-03-26)
First development release.
0.1.1 (2019-03-27)
Requests are converted to async calls;
Code style is clean and Python 3 compatible.
0.1.2 (2019-03-27)
Add basic tests.
0.2.0 (2019-03-31)
New version with different organisation of classes and functions;
Sync query and async aquery functions to query Biomart;
Sync list_* functions to retrieve available marts, datasets, filters and attributes.
0.2.1 (2019-04-01)
Add tests.
0.2.2 (2019-04-01)
Basic functions working and tested;
Fix documentation;
Update requirements.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for apybiomart-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3080fae9649c63b86b782fdaff3ca07590cbe2887a4deb33c20a50f6792d85 |
|
MD5 | 509221e22070118fd1c55da37e7c6ac4 |
|
BLAKE2b-256 | 9899ccec205785012ff3b6737e4ba1398787d9b67abd3e080ec8cec31e8aeee2 |