Skip to main content

Add your description here

Project description

WeigelWorld Opentron2 duct-tape

These duct-tape scripts go between tecanalyze and the opentron protocol language itself.

Installation

tl;dr:

python3 -m pip install weigel-ot2tools

To use these tools (CLI only for now), first install with python3 -m pip install weigel-ot2tools. If you know what pipx is, use that. If pip install fails on your laptop, you can do this on a linux server as these tools need no GUI. If that fails, email me.

Then, use either ot2ools variable_stock or ot2ools constant_stock to generate the ot2 scripts.

Manual

There are two main ways of doing dilutions: constant-stock and variable-stock.

Constant stock only pipettes water into plates with the opentron, after which we use the viaflow to transfer across a constant volume of stock DNA/RNA. This is faster, easier, and better if you have labile stocks like RNA you don't want hanging around in the opentron for hours. However, it has limited dynamic range (i.e. can only do up to 20-fold dilutions), and produces highly varying amounts of diluted DNA/RNA.

Variable stock has the opposite properties: by pipetting variable amounts of both stock and diluent, we can have much greater dilution ratios (up to 200x), and we can (but don't have to) produce a constant volume of diluted DNA/RNA. However, it's slower (max 3 plates at a time), and you need to have your stock open to the world and at room temp for much longer, so can cause problems with particularly sensitive things like dirty RNA extractions.

ot2ools constant_stock

This is the "normal" Pathocom way to do dilutions. We use the opentron only to pipette a varying amount of water, then use the viaflow 96 head to transfer a constant amount of stock across. This can be used with the files directly out of tecanalyze. You need only columns plate_name, well, conc (these can be called something else and there can be extra columns in the file, see the CLI --help output).

ot2tools constant_stock \
	--protocol-script-dir protocols/ \
	--conc 5 \
	--volume 10 \
	--pc plate_name --wc well \
	--cc conc \
	quantifications.csv

ot2ools variable_stock

First, prepare a csv or tsv with at least the following columns: plate, well, stock_volume, water_volume. The column names can vary, you just need to give the actual names with --plate-column etc. You'll get an error if there's a mismatch.

ot2tools variable_stock \
	--protocol-script-dir protocols/ \
	--pc Plate_name --wc Well \
	--hc Water --sc DNA quantification.csv

Full help follows

$ ot2ools variable-stock --help
usage: ot2ools [-h] [-o PROTOCOL_SCRIPT_DIR] [-p {p10,p50}] [-m MIN_VOLUME] [-M MAX_VOLUME] [--pc PLATE_COLUMN] [--wc WELL_COLUMN] [--hc WATER_COLUMN] [--sc STOCK_COLUMN] instructions

positional arguments:
  instructions          Instructions file csv

options:
  -h, --help            show this help message and exit
  -o PROTOCOL_SCRIPT_DIR, --protocol-script-dir PROTOCOL_SCRIPT_DIR
                        Output dir
  -p {p10,p50}, --stock-pipette {p10,p50}
                        Which pipette to use for stock pipetting
  -m MIN_VOLUME, --min-volume MIN_VOLUME
                        Minimum volume to transfer
  -M MAX_VOLUME, --max-volume MAX_VOLUME
                        Maximum volume of destination well (combination of water+stock)
  --pc PLATE_COLUMN, --plate-column PLATE_COLUMN
                        Column name for plate
  --wc WELL_COLUMN, --well-column WELL_COLUMN
                        Column name for well
  --hc WATER_COLUMN, --water-column WATER_COLUMN
                        Column name for water volume
  --sc STOCK_COLUMN, --stock-column STOCK_COLUMN
                        Column name for stock volume

ot2ools pool_by_volume

This script is for pooling a plate of libraries according to their concentrations. This needs a csv with the following columns: plate, well, volume, pool. Like above, these names can be changed with CLI arguments. This requires that you've already calculated how much volume you need from each sample. The labware layout is a 24-well rack of eppies, with up to 5 plates of source libraries and 5 boxes of tips to be pooled into up to 24 pools.

PLEASE NOTE: your quantifications need to be reasonably accurate, and need to be taken after individual SPRI cleanup for this to be accurate. If you just do picogreen on the post-PCR libraries, the amount of library is often much less than the amount of dimer, defeating the entire purpose of this pooling. If need be, use a larger volume of DNA (e.g. 3uL) for quantification of low-concentration libraries.

$ ot2ools pool-to-eppies --help
usage: ot2ools [-h] [-o PROTOCOL_SCRIPT_DIR] [-p {p10,p50}] [-m MIN_VOLUME] [-M MAX_VOLUME] [--pc PLATE_COLUMN] [--wc WELL_COLUMN] [--vc VOLUME_COLUMN] [--lc POOL_COLUMN] instructions

positional arguments:
  instructions          Instructions file csv

options:
  -h, --help            show this help message and exit
  -o PROTOCOL_SCRIPT_DIR, --protocol-script-dir PROTOCOL_SCRIPT_DIR
                        Output dir
  -p {p10,p50}, --stock-pipette {p10,p50}
                        Which pipette to use for stock pipetting
  -m MIN_VOLUME, --min-volume MIN_VOLUME
                        Minimum volume to transfer
  -M MAX_VOLUME, --max-volume MAX_VOLUME
                        Maximum volume of destination well (combination of water+stock)
  --pc PLATE_COLUMN, --plate-column PLATE_COLUMN
                        Column name for plate
  --wc WELL_COLUMN, --well-column WELL_COLUMN
                        Column name for well
  --vc VOLUME_COLUMN, --volume-column VOLUME_COLUMN
                        Column name for water volume
  --lc POOL_COLUMN, --pool-column POOL_COLUMN
                        Column name for stock volume

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

weigel_ot2ools-0.1.6.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

weigel_ot2ools-0.1.6-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file weigel_ot2ools-0.1.6.tar.gz.

File metadata

  • Download URL: weigel_ot2ools-0.1.6.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for weigel_ot2ools-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d977fef0e3cbdb2aa5a136873a8e6e9dfd67ac100cba533440b46cce49db9936
MD5 ea38ce91eb7a3c6e370de8b7b998dab0
BLAKE2b-256 1551e55e2dfb7ffbf1cb5e4dccb8bd24006e0f89af0debcd5da0ef9876e07346

See more details on using hashes here.

File details

Details for the file weigel_ot2ools-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: weigel_ot2ools-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for weigel_ot2ools-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1fba9c465a5a61f0b45339e6e52105f32dc77fdea942811161d9b3e9d84d9e
MD5 f9cf210ac67aa944b35d7d34c5d4ddc4
BLAKE2b-256 502bf916a58e9c5f55b1edddaac3a8d99cec70c09664cc17728a2469b1c91c18

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