[Bioperl-l] naive question about Bio::Tools::Primer3
Ned Young
Ned.Young at tufts.edu
Thu Mar 10 16:22:54 EST 2005
Dear All,
I was wondering if you could help me. I'm not very experienced using
bioperl objects and therefore have a question.
How do I best get the individual result lines from the primer3 output
file, using Bio::Tools::Primer3?
I'll include the script I tried and the file it parsed.
When I run it, I get "HASH(0xccfc)".
#!/usr/bin/perl -w
use lib "/Users/Ned/Documents/Perl/bioperl_source/bioperl-1.4";
use Bio::AlignIO;
use Bio::Tools::Primer3;# read a primer3 output file
my $primer3=Bio::Tools::Primer3->new(-file=>"p3test1.out");
#put the left- and right-primer stuff into hashes.
my $primer=$primer3->next_primer;
print "The right primer in the stream is ",
$primer->get_primer('-right_primer')->seq->seq, "\n";
# to return results
print $primer3->primer_results(0,'PRIMER_LEFT_INPUT');
primer3_core output file:
PRIMER_SEQUENCE_ID=test01
SEQUENCE=ACTTGATATAGCGTAAATCGATTTGCAGAGATCAACTTGCTATAACGTAACTCGATTGCAATG
ATGCTTAGCCATGCGTAGTCTGATCCTGATGCCGTGATGGCACTCATGGCGTACTCTATGAGAGTC
PRIMER_LEFT_INPUT=ACTTGATATAGCGTAAATCG
PRIMER_RIGHT_INPUT=GACTCTCATAGAGTACGCCA
TARGET=21,1
PRIMER_PAIR_MAX_MISPRIMING=12
PRIMER_PAIR_MAX_TEMPLATE_MISPRIMING=24
PRIMER_PRODUCT_SIZE_RANGE=70-129
PRIMER_OPT_SIZE=20
PRIMER_MIN_SIZE=15
PRIMER_MAX_SIZE=36
PRIMER_PICK_ANYWAY=1
PRIMER_FILE_FLAG=1
PRIMER_EXPLAIN_FLAG=1
PRIMER_ERROR=1
PRIMER_WARNING=Left primer is unacceptable: Tm too low/High end self
complementarity; Right primer is unacceptable: Tm too low/High end self
complementarity
PRIMER_PAIR_EXPLAIN=considered 1, ok 1
PRIMER_PAIR_PENALTY=17.0819
PRIMER_LEFT_PENALTY=10.012436
PRIMER_RIGHT_PENALTY=7.069468
PRIMER_LEFT_SEQUENCE=ACTTGATATAGCGTAAATCG
PRIMER_RIGHT_SEQUENCE=GACTCTCATAGAGTACGCCA
PRIMER_LEFT=0,20
PRIMER_RIGHT=128,20
PRIMER_LEFT_TM=49.988
PRIMER_RIGHT_TM=52.931
PRIMER_LEFT_GC_PERCENT=35.000
PRIMER_RIGHT_GC_PERCENT=50.000
PRIMER_LEFT_SELF_ANY=6.00
PRIMER_RIGHT_SELF_ANY=8.00
PRIMER_LEFT_SELF_END=4.00
PRIMER_RIGHT_SELF_END=4.00
PRIMER_LEFT_END_STABILITY=8.6000
PRIMER_RIGHT_END_STABILITY=11.7000
PRIMER_LEFT_TEMPLATE_MISPRIMING=14.0000
PRIMER_RIGHT_TEMPLATE_MISPRIMING=8.0000
PRIMER_PAIR_COMPL_ANY=5.00
PRIMER_PAIR_COMPL_END=3.00
PRIMER_PRODUCT_SIZE=129
PRIMER_PAIR_TEMPLATE_MISPRIMING=22.00
=
Yours truly,
Ned Young
Department of Biomedical Sciences
Division of Infectious Diseases
Tufts University School of Veterinary Medicine
200 Westboro Rd.
N. Grafton, MA 01536
508-887-4540
More information about the Bioperl-l
mailing list