RiboKit : Primerize

PCR Assembly Primer Design

primerize.primerize_custom Module

class primerize.primerize_custom.Primerize_Custom(offset=0, COL_SIZE=142, prefix='lib')

Bases: primerize.thermo.Singleton

Construct a worker for Custom Primer Design (Custom Plates).

Parameters:
  • offset -- int: (Optional) Sequence numbering offset, which is one minus the final number of the first nucleotide.
  • COL_SIZE -- int: (Optional) Column width for assembly output. Positive number only.
  • prefix -- str: (Optional) Construct prefix/name.
Returns:

primerize.Primerize_Custom

Note

This class follows the singleton pattern so that only one instance is created. An instance is already initialized as primerize.Primerize_Custom.

design(sequence, primer_set=[], mut_list=[], offset=None, prefix=None, is_force=False)

Run design code to get customized plates for input sequence and specified list of constructs. Current worker parameters are used for nonspecified optional arguments.

Parameters:
  • job_1d -- primerize.Design_Single: Result of primerize.Primerize_1D.design(). Its sequence, primer_set, and prefix are used.
  • mut_list -- primerize.Construct_List: List of constructs for design.
  • offset -- int: (Optional) Sequence numbering offset.
Returns:

primerize.Design_Plate

get(key)

Get current worker parameters.

Parameters:key -- str: Keyword of parameter. Valid keywords are 'offset', 'COL_SIZE', 'prefix'; case insensitive.
Returns:value of specified key.
Raises:AttributeError -- For illegal key.
reset()

Reset current worker parameters to default.

set(key, value)

Set current worker parameters.

Parameters:
  • key -- str: Keyword of parameter. Valid keywords are the same as get().
  • value -- (auto): New value for specified keyword. Type of value must match key.
Raises:
  • AttributeError -- For illegal key.
  • ValueError -- For illegal value.

Built with Sphinx using a RiboKit Theme . Hosted on GitHub Pages.

© Copyright 2008-2017 The Board of Trustees of the Leland Stanford Junior University. All Rights Reserved.

Last updated on Jun 22, 2017.