471,862 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,862 software developers and data experts.

Bioperl Restriction enzyme help please


I am trying to run this perl script


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

Jul 19 '05 #1
2 2529
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 YellowAndGreen | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.