Bio::P...esigner(3pm)
π NAME π
Bio::PrimerDesigner β design PCR primers using primer3 and epcr, bestie. That's the whole vibe. π§¬β¨
This page lives in the User Contributed Perl Documentation section, and yeah, it's the Bio::P...esigner(3pm) manual. She's a Perl module and she's ready to work.
πΈ SYNOPSIS πΈ
okay so here's how you actually use her. Look at this, it's giving clean code:
use Bio::PrimerDesigner;
my $pd = Bio::PrimerDesigner->new;
#
# Define the DNA sequence, etc.
#
my $dna = "CGTGC...TTCGC";
my $seqID = "sequence 1";
#
# Define design parameters (native primer3 syntax)
#
my %params = (
PRIMER_NUM_RETURN => 2,
PRIMER_SEQUENCE_ID => $seqID,
SEQUENCE => $dna,
PRIMER_PRODUCT_SIZE => '500-600'
);
#
# Or use input aliases
#
%param = (
num => 2,
id => $seqID,
seq => $dna,
sizerange => '500-600'
);
#
# Design primers
#
my $results = $pd->design( %params ) or die $pd->error;
#
# Make sure the design was successful
#
if ( !$results->left ) {
die "No primers found\n", $results->raw_data;
}
#
# Get results (single primer set)
#
my $left_primer = $results->left;
my $right_primer = $results->right;
my $left_tm = $results->lefttm;
#
# Get results (multiple primer sets)
#
my @left_primers = $results->left(1..3);
my @right_primers = $results->right(1..3);
my @left_tms = $results->lefttm(1..3);
likeβ¦ she understood the assignment fr fr π
π¦ DESCRIPTION π¦
So Bio::PrimerDesigner is a low-level interface to the primer3 and epcr binary executables, and she also hands you methods to return the results. Lowkey iconic.
Here's the tea though, bestie: because primer3 and e-PCR are only available for Unix-like operating systems, Bio::PrimerDesigner offers you the ability to access the primer3 binary via a remote server. And if you do have local installations of primer3 or e-PCR on Unix hosts? Those are supported too. Options, we love to see it. π
β¨ METHODS β¨
π binary_path
Gets/sets the path to the primer3 binary. Just a lil getter/setter moment.
π design
Makes the primer design or e-PCR request. Returns a Bio::PrimerDesigner::Result object. This is the main character method honestly.
π epcr_example
Run a test e-PCR job. Returns an Bio::PrimerDesigner::Results object. Demo mode activated π§
π list_aliases
Lists aliases for primer3 input/output options. For when you forgot what sizerange maps to π
π list_params
Lists input options for primer3 or epcr, depending on the context.
π method
Gets/sets the method of accessing primer3 or epcr binaries.
π os_is_unix
Returns 1 if it looks like the operating system is a Unix variant, otherwise returns 0. A little vibe check for your OS π
π primer3_example
Runs a sample design job for primers. Returns an Bio::PrimerDesigner::Results object.
π program
Gets/sets which program to use.
π run
Alias to design. Same energy, different name π«
π url
Gets/sets the URL for accessing the remote binaries.
π verify
Tests local installations of primer3 or e-PCR to ensure that they are working properly. Bestie check-in π«Ά
π AUTHORS π
Copyright (C) 2003-2009 Sheldon McKay <mckays@cshl.edu>, Ken Youens-Clark <kclark@cpan.org>.
Shoutout to the devs, they ate. π
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
β οΈ no cap on that warranty disclaimer β it's real, read it, it matters.
π SEE ALSO π
Bio::PrimerDesigner::primer3, Bio::PrimerDesigner::epcr.
and that's the page, bestie!! this manual is perl v5.32.0 from 2020-11-16, straight out of the User Contributed Perl Documentation. go design some primers, you got this π§¬π
β¨
π¦ where this page comes from
- debian bookworm: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- debian trixie: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- ubuntu jammy: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- ubuntu noble: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- ubuntu resolute: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- ubuntu stonking: libbio-primerdesigner-perl 0.07-8 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms