Mixes#

Introductory notes#

  • A Component is something that goes into a mix, and has a source concentration. It may be a generic component, a strand with a sequence, or a mix. It must implement the AbstractComponent class.

  • An Action describes how a component or set of components is to be added to a mix. It may specify that each component be added to get a target concentration in the mix, for example, or that a fixed volume of each component be added.

  • A Mix is a collection of Actions, each covering some Components. It may have a fixed volume, or that may be determined by the components. It may also have a fixed effective concentration (for use as a component), or that may be determined by a particular component.

  • A reference DataFrame can be used to add and check information about components.

Component classes#

Component(name[, concentration, plate, well])

A single named component, potentially with a concentration and location.

Strand(name[, concentration, sequence, ...])

A single named strand, potentially with a concentration, location and sequence.

Mix(actions, name, buffer_name, reference, ...)

Class denoting a Mix, a collection of source components mixed to some volume or concentration.

Action classes#

FixedConcentration(components, ...)

An action adding one or multiple components, with a set destination concentration per component (adjusting volumes).

FixedVolume(*args, **kwargs)

An action adding one or multiple components, with a set transfer volume.

MultiFixedConcentration

alias of FixedConcentration

MultiFixedVolume

alias of FixedVolume

Mixes#

Mix(actions, name, buffer_name, reference, ...)

Class denoting a Mix, a collection of source components mixed to some volume or concentration.

Mix.table([tablefmt, ...])

Generate a table describing the mix.

Mix.all_components()

Return a Series of all component names, and their concentrations (as pint nM).

Functions for references#

load_reference(filename_or_file)

Abstract class details#

To extend

AbstractComponent()

Abstract class for a component in a mix.

AbstractAction()

Abstract class defining an action in a mix recipe.

Implementation details#

WellPos()

A Well reference, allowing movement in various directions and bounds checking.

MixLine(names, source_conc, dest_conc, ...)

Class for handling a line of a (processed) mix recipe.