flowbio
A client for the Flow API. Full documentation is available at https://goodwright.github.io/flowbio/.
import flowbio
# NB: this client is being deprecated. Please use the v2 client instead. See the [v2 documentation](https://goodwright.github.io/flowbio/v2/) for details.
client = flowbio.Client()
client.login("your_username", "your_password")
# Upload standard data
data = client.upload_data("/path/to/file.fa", progress=True, retries=5)
print(data)
# Upload sample
sample = client.upload_sample(
"My Sample Name",
"/path/to/reads1.fastq.gz",
"/path/to/reads2.fastq.gz", # optional
progress=True,
retries=5,
metadata={
"sample_type": "RNA-Seq",
"scientist": "Charles Darwin",
"type_specific_metadata": '{"strandedness": "reverse"}',
}
)
print(sample)
# Upload multiplexed
multiplexed = client.upload_multiplexed(
"/path/to/reads.fastq.gz",
progress=True,
retries=5,
)
print(multiplexed)
# Upload annotation
annotation = client.upload_annotation(
"/path/to/annotation.csv",
progress=True,
retries=5,
)
print(annotation)
# Run pipeline
execution = client.run_pipeline(
"RNA-Seq",
"3.8.1",
"23.04.3",
params={"param1": "param2"},
data_params={"fasta": 123456789},
)
Metadata
Release files for flowbio 0.12.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 | |
|---|---|---|---|
| flowbio-0.12.0.tar.gz | 44.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flowbio-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 99.5 kB
Release files / flowbio-0.12.0.tar.gz
| Download URL | flowbio-0.12.0.tar.gz |
|---|---|
| Size | 44.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46bcb2f962676c6647dd5b5c256d1b9db7c61e9fafc8b2f9299e7c15e8ea5580
|
|
BLAKE2b-256 checksum How to use checksums |
72b673fd493460d3baa3a9ef59f5c0e19bae6b993e685afac2f6d6d2c47ddf96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / flowbio-0.12.0-py3-none-any.whl
| Download URL | flowbio-0.12.0-py3-none-any.whl |
|---|---|
| Size | 55.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2356e940272e74520e4301d7ee9dcfe484e426649f47e4475f066d77e1e33cd6
|
|
BLAKE2b-256 checksum How to use checksums |
24cad091d2b2664ebc45b10e020104342cbc6d2701902bd9d1c442dcaa71ce82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|