Earth Hologenome Initiative Toolkit
Project description
EHItk
The Earth Hologenome Initiative ToolKit (EHItk) is a Python package and command-line tool for finding, summarizing, exporting, and downloading EHI specimens, hologenomes, and metagenome-assembled genomes.
Installation
pip install ehitk
Example
ehitk specimens query --host-species "Podarcis muralis" --limit 5
ehitk hologenomes values --field country --limit 10
ehitk mags stats --quality high --species "Escherichia coli"
ehitk mags query --quality high --csv | head
ehitk specimens values --field sex --csv --output-file specimen-sex-values.csv
Python API:
import ehitk
with ehitk.Database() as ehidb:
mags = ehidb.mags.query(quality="high", host_taxid=562, limit=5)
for mag in mags:
print(mag.mag_id, mag.quality, mag.host_species)
Documentation
Full installation instructions, command reference, examples, output formats, and download guidance, and Python API examples are available at:
Use the built-in help for local command details:
ehitk --help
ehitk specimens --help
ehitk hologenomes fetch --help
ehitk mags query --help
Testing and continuous integration
EHItk includes a pytest-based unit test suite in the tests/ directory. The
repository also uses GitHub Actions continuous integration to run the test suite,
build source and wheel distributions, and perform CLI smoke tests across Python
3.10, 3.11, 3.12, 3.13, and 3.14.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ehitk-1.1.0.tar.gz.
File metadata
- Download URL: ehitk-1.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ec6ebc56d0c99e0199eeab21e1991bbb6ee02b9b794717cfafaa32ada02e5a8
|
|
| MD5 |
758bb56eb5aecbc0cd17dcb357ba3130
|
|
| BLAKE2b-256 |
f2cba7e106a43154f6db2e6cd1a5c36e6f7508467d922cb954ea1cc4fd909ba9
|
Provenance
The following attestation bundles were made for ehitk-1.1.0.tar.gz:
Publisher:
release.yml on earthhologenome/ehitk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ehitk-1.1.0.tar.gz -
Subject digest:
6ec6ebc56d0c99e0199eeab21e1991bbb6ee02b9b794717cfafaa32ada02e5a8 - Sigstore transparency entry: 1652549164
- Sigstore integration time:
-
Permalink:
earthhologenome/ehitk@26346f6eb2ff1fbcda557f7762921577e82172a4 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/earthhologenome
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26346f6eb2ff1fbcda557f7762921577e82172a4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ehitk-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ehitk-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d3c1f9c6842fcd4aeb21e50b26cec136ac4d0cfa6b6ca3723059b62c6cea3bb
|
|
| MD5 |
0252d4a36435bf9aea712f358e77fcf5
|
|
| BLAKE2b-256 |
5c7eb12b7f15c0ca8e028c1aa7e1e21a10ba82ec38a5be77dda54eca4eb1fc3a
|
Provenance
The following attestation bundles were made for ehitk-1.1.0-py3-none-any.whl:
Publisher:
release.yml on earthhologenome/ehitk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ehitk-1.1.0-py3-none-any.whl -
Subject digest:
2d3c1f9c6842fcd4aeb21e50b26cec136ac4d0cfa6b6ca3723059b62c6cea3bb - Sigstore transparency entry: 1652549236
- Sigstore integration time:
-
Permalink:
earthhologenome/ehitk@26346f6eb2ff1fbcda557f7762921577e82172a4 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/earthhologenome
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@26346f6eb2ff1fbcda557f7762921577e82172a4 -
Trigger Event:
push
-
Statement type: