469,366 Members | 2,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,366 developers. It's quick & easy.

Bioperl Restriction enzyme help please

Hi

I am trying to run this perl script

#!/usr/bin/perl

use Bio::Restriction::EnzymeCollection;
my $all_collection = Bio::Restriction::EnzymeCollection;

my $six_cutter_collection = $all_collection->cutters(6);
foreach my $enz ($six_cutter_collection){
print $enz->name,"\t",$enz->site,"\t",$enz->overhang_seq,"\n";
# prints name, recognition site, overhang
}

but i keep getting the error message "can't use string
"Bio::Restriction::EnzymeCollection;" while strict refs are in use at
.../././../EnzymeCollection.pm line 238.

I have no access to change the modules,

please can you help

simon
Jul 19 '05 #1
2 2498
rhahn
1
This is exactly the question I was searching an answer too.

Have you found out something in the meantime?
Would be nice if you post the solution if you have one.

Cheers Raphael
Sep 22 '05 #2
Can you do:
my $new_collection = Bio::Restriction::EnzymeCollection();
?
Oct 5 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ed Slen | last post: by
3 posts views Thread by Brett Gerhardi | last post: by
3 posts views Thread by Wells Caughey | last post: by
1 post views Thread by mahanatti_net | last post: by
5 posts views Thread by bclark76 | last post: by
3 posts views Thread by freshpetals | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.