Python client for Toolchest
Project description
Toolchest Python Client
Toolchest provides APIs for scientific and bioinformatic data analysis. It allows you to abstract away the costliness of running tools on your own resources by running the same jobs on secure, powerful remote servers.
This package contains the Python client for using Toolchest. For the R client, see here.
Installation
The Toolchest client is available on PyPI:
pip install toolchest-client
Usage
Using a tool in Toolchest is as simple as:
import toolchest_client as toolchest
toolchest.set_key("YOUR_TOOLCHEST_KEY")
toolchest.kraken2(
tool_args="",
inputs="path/to/input.fastq",
output_path="path/to/output.fastq",
)
For a list of available tools, see the documentation.
Configuration
To use Toolchest, you must have an authentication key stored
in the TOOLCHEST_KEY
environment variable.
import toolchest_client as toolchest
toolchest.set_key("YOUR_TOOLCHEST_KEY") # or a file path containing the key
Contact Toolchest if:
- you need a key
- you’ve forgotten your key
- the key is producing authentication errors.
Documentation & User Guide available at Read the Docs
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
toolchest-client-0.8.9.tar.gz
(43.8 kB
view hashes)
Built Distribution
Close
Hashes for toolchest_client-0.8.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da5c0d77df0bad4382cbec3ca4626a16440b0755175d389632d8a2bf4d03f3d0 |
|
MD5 | a5792f3b0e1c12653043ce4c41228071 |
|
BLAKE2b-256 | c1a7f09475cc7d391397e74665cb5a2bbc6775d2e5aa99b5ae0558976ef6844b |