[Bioperl-l] Problems with my first Bioperl Script
    Brian Carlson 
    bcarlson at genetics.emory.edu
       
    Wed Feb 26 13:00:28 EST 2003
    
    
  
Here's my script
#!/usr/bin/perl
use Bio::SearchIO;
my $searchio = new Bio::SearchIO ( -format => 'fasta',
                                   -file   => 't.fasta');
$i=1;
while ($result = $searchio->next_result)
{
  print "$i\n";
  $i++;
}
When I run this, I get:  unreognized FASTA Family report file
What could cause this?
FYI:
I'm trying to get fimilar with BioPerl.  What I'm moving towards
is the ability to enter a base-pair range, and get the sequence
from the fasta.  Simple stuff hopefully.
Thanks,
Brian
    
    
More information about the Bioperl-l
mailing list