Skip to main content

A client for the Flow API.

Project description

flowbio

A client for the Flow API.

    
import flowbio

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},
)

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

flowbio-0.3.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

flowbio-0.3.5-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file flowbio-0.3.5.tar.gz.

File metadata

  • Download URL: flowbio-0.3.5.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for flowbio-0.3.5.tar.gz
Algorithm Hash digest
SHA256 1511c92a7cd7eb6268a3bdb2352e7e3370f5ee03760d6c1a4e44e03e6ebc2d3f
MD5 8a252882f20b682c71d200c1f089b56c
BLAKE2b-256 67f12c8f7ed08cfe103c4a5be26ed40708e0047fdc6a41386f517302742fe72e

See more details on using hashes here.

File details

Details for the file flowbio-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: flowbio-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for flowbio-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8d08aedfcf96659566dad81e10e2fa610293ea3754dc59ea61061d489c0e7bd9
MD5 1004df95aab55703980daaa7f2b6f42a
BLAKE2b-256 4146ac980b08a540b264e82e68a679f773d3c005c5c2356b5d91769ed396ebee

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