CompressBinaryTable
Basic Usage:
cbt -i input_file -o output_file -c
Options:
-i = input, required
-o = output, required
-c = compression
-d = decompression
-t = output type, either csv or tsv
--override = to override output file if it exist
Available Python functions:
# Returns numpy array of file as uncompressed, useful for ML (same as load as pandas df, and to_numpy())
cbt_to_array(compressed_file)
# Returns numpy array of name of the mutations as uncompressed, useful for ML, (same as load pandas df and use df.colums)
cbt_columns(compressed_file)
Required file example:
CSV:
strain_name,mut1,mut2,mut3,mut4,outcome
strain1,0,1,1,1,1,1
strain2,0,0,1,1,1,0
strain3,0,1,0,1,1,0
strain4,1,1,1,1,1,1
TSV:
strain_name mut1 mut2 mut3 mut4 outcome
strain1 0 1 1 1 1 1
strain2 0 0 1 1 1 0
strain3 0 1 0 1 1 0
strain4 1 1 1 1 1 1
CBT:
1;mut1;mut2;mut3;mut4;outcome
strain1;6;43;87;102
strain2;16;43;87;102
strain3;6;53;78;112
strain4;61;413;824;942
Metadata
Release files for compressbinarytable 0.2.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 |
|---|---|---|---|---|
| compressbinarytable-0.2.0.tar.gz | 3.6 kB | Without provenance | Details for compressbinarytable-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| compressbinarytable-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for compressbinarytable-0.2.0-py3-none-any.whl |
Total release size: 8.0 kB
Release files / compressbinarytable-0.2.0.tar.gz
| Download URL | compressbinarytable-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fceb1bdf86ac5f2cf13906a90194ce0401489195c258bf95b3ad0cf92a9cf52
|
|
BLAKE2b-256 checksum How to use checksums |
de2d833741a05dd0dffb637c8475ac0e7e958a0911d60b4a680485be752d867b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.3 Windows/10
|
Release files / compressbinarytable-0.2.0-py3-none-any.whl
| Download URL | compressbinarytable-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f6a345d82e69ff398dd85dadb0cb08d3139804a263469c7b6e4cd56f40ba967
|
|
BLAKE2b-256 checksum How to use checksums |
b6fc43cba1ab984a4d2a72ad6d5124895ebf2c0b6598097335a6e3153aa97dba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.11.3 Windows/10
|
Security for compressbinarytable 0.2.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.