Skip to main content

sourmash plugin to do tables.

Project description

tables

Tables! We all love them and couldn't function without them in our daily lives. Now sourmash has tables too!

Installation

For regular install:

pip install sourmash_plugin_tables

For conda environment:

conda activate <env-name>

python -m pip install sourmash_plugin_tables

Or, use a conda environment yaml file:

name: stable
channels:
channels:
    - conda-forge
    - bioconda
    - defaults
dependencies:
    - python>=3.10,<3.12
    - sourmash>=4.8.11,<5
    - polars
    - pip
    - pip:
        - sourmash_plugin_tables

Sanity check

sourmash info -v

Expected output:

== This is sourmash version 4.9.4. ==
== Please cite Irber et. al (2024), doi:10.21105/joss.06830. ==

sourmash version 4.9.4
- loaded from path: /home/colton/miniconda3/envs/smash/lib/python3.14/site-packages/sourmash/cli

khmer version: None (internal Nodegraph)

screed version 1.1.3
- loaded from path: /home/colton/miniconda3/envs/smash/lib/python3.14/site-packages/screed

the following plugins are installed:

plugin type          from python module             v     entry point name    
-------------------- ------------------------------ ----- --------------------
sourmash.cli_script  sourmash_plugin_tables         0.7   compare_rows        
sourmash.cli_script  sourmash_plugin_tables         0.7   gather_tables       
sourmash.cli_script  sourmash_plugin_tables         0.7   hash_tables         
sourmash.cli_script  sourmash_plugin_tables         0.7   prefetch_tables     

Usage

Support

We suggest filing issues in the main sourmash issue tracker as that receives more attention!

Dev docs

tables was developed from https://github.com/sourmash-bio/sourmash_plugin_template.

Testing

Run:

pytest tests

Example/test data located in tests/test-data (shocking, I know)

Generating a release

Bump version number in pyproject.toml and push.

Make a new release on github.

Then pull, and:

make dist

followed by twine upload dist/....

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sourmash_plugin_tables-1.0.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sourmash_plugin_tables-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file sourmash_plugin_tables-1.0.0.tar.gz.

File metadata

  • Download URL: sourmash_plugin_tables-1.0.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for sourmash_plugin_tables-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5c8b5429e6edc8ef838ac2b7b4261012b5b6f7466986a7730fe1760db364b524
MD5 6d2c70631763e314ecd8e6362c361148
BLAKE2b-256 72db176f065003b381d5a74bea948d32f1e52e5b24c735f9e1f9e7b90979f70f

See more details on using hashes here.

File details

Details for the file sourmash_plugin_tables-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sourmash_plugin_tables-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1852cef7ed61e117282d54b474103705ef44da927107cd78a4f852dee80b2b
MD5 5310a3a5cbef7d3f6e39a7cb5c3ee9b8
BLAKE2b-256 d356633e8e167d180839c54689607a220544e2b9aa0165902b6e53bbe481be72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page