Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mikrokondo_tools

PyPI - Version PyPI - Python Version


Note

This repo is underdevelopment and not ready for routine usage

Table of Contents

Installation

Current Run Method

No package has been created yet, however the software can be run and developed using hatch. To run the tests in all supported python versions using hatch simply enter:

hatch run test:test

To run tests using a specific python version use:

# Example running using python 3.10
hatch run +py=3.10 test:test

To run the command-line options use:

hatch run +py=3.10 test:mikrokondo-tools

The above command will display command groups with help messages, and each sub command has additional help options.

pip install mikrokondo-tools

Usage

Running mikrokondo-tools generates the following help message with available options for usage:

Usage: mikrokondo-tools [OPTIONS] COMMAND [ARGS]...

Options:
  --version   Show the version and exit.
  -h, --help  Show this message and exit.

Commands:
  download     Download a database for mikrokondo
  samplesheet  Generate a sample sheet for mikrokondo.

The download option generates the following output:

Usage: mikrokondo-tools download [OPTIONS]

  Download a external file for use in mikrokondo. This script only downloads
  the file and will not untar or unzip them.

Options:
  -f, --file [gtdb-sketch|gtdb-shigella|dehost|kraken-std|bakta-light|bakta-full]
                                  Pick an option from the list to download
                                  [required]
  -o, --output PATH               An existing directory to download files to.
                                  [default: your/current/directory]
  -h, --help                      Show this message and exit.

The samplesheet option produces the following output:

Usage: mikrokondo-tools samplesheet [OPTIONS] SAMPLE_DIRECTORY

Options:
  -o, --output-sheet PATH   The file to write your created output sheet to,
                            this directory must already exist.  [required]
  -1, --read-1-suffix TEXT  A suffix to identify read 1  [default: _R1_]
  -2, --read-2-suffix TEXT  A suffix to identify read 2  [default: _R2_]
  -s, --schema-input PATH   An optional schema_input.json file pre-downloaded
                            for mikrokondo.
  -h, --help                Show this message and exit.

License

Copyright Government of Canada 2023

Written by: National Microbiology Laboratory, Public Health Agency of Canada

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for mikrokondo-tools 0.0.1rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mikrokondo-tools 0.0.1rc0
File Size Uploaded
mikrokondo_tools-0.0.1rc0.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mikrokondo-tools 0.0.1rc0
File Interpreter ABI Platform
mikrokondo_tools-0.0.1rc0-py3-none-any.whl Python 3 none any Details

Total release size: 41.0 kB

Release files / mikrokondo_tools-0.0.1rc0.tar.gz

Download URL mikrokondo_tools-0.0.1rc0.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
97a6805c4de8acf568ea1be22a91b442a7c780f66d54520e1c9c8af9ef08d7ef
BLAKE2b-256 checksum
How to use checksums
91da30a277c9a6929b820bc3490467fa94629b6433cefab9745f28a5613016c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / mikrokondo_tools-0.0.1rc0-py3-none-any.whl

Download URL mikrokondo_tools-0.0.1rc0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f00a3adb9e3663300c57eb8278d540141975ff966b9c9726affd6dce20e5f420
BLAKE2b-256 checksum
How to use checksums
4705e5ee7b7f25357d541e1ff89f14d5f2019dacfdfc68829a25740e35ea192b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release history Release notifications | RSS feed

This release

0.0.1rc0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page