RiboKit : Primerize

PCR Assembly Primer Design

primerize.primerize_custom Module

class primerize.primerize_custom.Primerize_Custom(*args, **kwargs)

Bases: Singleton

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

Parameters:
  • offsetint: (Optional) Sequence numbering offset, which is one minus the final number of the first nucleotide.

  • COL_SIZEint: (Optional) Column width for assembly output. Positive number only.

  • prefixstr: (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_1dprimerize.Design_Single: Result of primerize.Primerize_1D.design(). Its sequence, primer_set, and prefix are used.

  • mut_listprimerize.Construct_List: List of constructs for design.

  • offsetint: (Optional) Sequence numbering offset.

Returns:

primerize.Design_Plate

get(key)

Get current worker parameters.

Parameters:

keystr: 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:
  • keystr: 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-2024 The Board of Trustees of the Leland Stanford Junior University. All Rights Reserved.

Last updated on Dec 13, 2024.