Which genome build again?
A species-agnostic tool to figure out the probable genome build of a file. Currently supports bigWig and bed files, and an easy method to add your own genome build.
Install with pip
pip install wgba
Usage:
Auto detect file extension
wgba your_file.bed
Use a specific file extension, if your extension is non-standard for example
wgba -f bed your_file.bed
wgba -f bigwig your_file.bigWig
You can use shell globs to match multiple files, all of which will be processed independently
wgba *.bed
You can mix and match supported files
wgba a_bed_file.bed and_a_bigwig.bw and_another.bigWig
Check if all of your files are on the same build with -c, --check
wgba -c *.bed *.bw
Summarise non-conforming chromosomes with -s, --summary
wgba -s bad_file.bed
Adjust the tolerance for build assignment with -t, --tol. This is useful if you know that one chromosome will never match.
wgba -t 2 one_bad_chromosome.bed
Add a genome build to the database
wgba -f add_build your_build.chrom.sizes
Issues
This was written in about an hour for my own use. If you find something not working, please raise an issue.
Metadata
Release files for wgba 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wgba-1.0.tar.gz | 9.6 kB | Without provenance | Details for wgba-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wgba-1.0-py3-none-any.whl | Python 3 | none | any | Details for wgba-1.0-py3-none-any.whl |
Total release size: 18.8 kB
Release files / wgba-1.0.tar.gz
| Download URL | wgba-1.0.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8e81ff885ec63dd7005943597858aac11183419778207a66fc939ca284abdc7
|
|
BLAKE2b-256 checksum How to use checksums |
6566eaac4b1c4a8933a9284c92af1a21d208ca3864056f6eeb9556f27a763e26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Release files / wgba-1.0-py3-none-any.whl
| Download URL | wgba-1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
484b36848b7e0ad1261e379f9cfaa6042c9033e0e02e58f24ceb60802a7e25df
|
|
BLAKE2b-256 checksum How to use checksums |
8978bb11fcc1dbb9088ae6588e67ccdba768b91aafc2dfb7bec32cafe3d901e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Security for wgba 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.