Bio.Emboss.PrimerSearch module

Code to interact with the primersearch program from EMBOSS.

class Bio.Emboss.PrimerSearch.InputRecord

Bases: object

Represent the input file into the primersearch program.

This makes it easy to add primer information and write it out to the simple primer file format.

__init__()

Initialize the class.

__str__()

Summarize the primersearch input record as a string.

add_primer_set(primer_name, first_primer_seq, second_primer_seq)

Add primer information to the record.

class Bio.Emboss.PrimerSearch.OutputRecord

Bases: object

Represent the information from a primersearch job.

amplifiers is a dictionary where the keys are the primer names and the values are a list of PrimerSearchAmplifier objects.

__init__()

Initialize the class.

class Bio.Emboss.PrimerSearch.Amplifier

Bases: object

Represent a single amplification from a primer.

__init__()

Initialize the class.

Bio.Emboss.PrimerSearch.read(handle)

Get output from primersearch into a PrimerSearchOutputRecord.