[Bioperl-l] question

jdeuts01 at students.poly.edu jdeuts01 at students.poly.edu
Thu Dec 1 14:09:19 UTC 2011


Dear Bioperl,
       This is my first experience with bioperl and I need help please.
1. The version of bioperl is 1.6.1 and have also installed Bundle-BioPerl 2.1.8 and mGen 1.03.    I was unable to install Bribes and trouchelle DB.     Will this prevent the BioPerl package from functioning correctly?
2. The operating platform is windows 7 - 64 bit using ActiveState - Perl v5.12.2
3. The script is as follows:
#!/usr/bin/perl
# Write a script using OOP to write protein sequences to the file fasta.txt.use strict;use warnings;use Bio::SeqIO::fasta;
# Declare and initialize input and output files.my $protein_fasta = "protein.fa";my $protein_out = ">fasta.txt";
# Setup objects for input and output.my $seq_in = Bio::SeqIO->new(-file => "$protein_fasta", -format => 'Fasta');my $seq_out = Bio::SeqIO->new(-file => "$protein_out", -format => 'fasta');
# Establish while loop using "next_seq" method # to read in multiple sequences from "protein.fa" file# one by one until none were remaining.while(my $seq = $seq_in -> next_seq){		$seq_out->write_seq($seq);}
The information is successfully written to the file: fasta.txt. 
4. Receiving the following error messages: 
Replacement list is longer than search list at C:/Perl64/site/lib/Bio/Range.pm line 251.Subroutine _initialize redefined at C:/Perl64/site/lib/Bio\SeqIO\fasta.pm line 92.Subroutine next_seq redefined at C:/Perl64/site/lib/Bio\SeqIO\fasta.pm line 112.Subroutine write_seq redefined at C:/Perl64/site/lib/Bio\SeqIO\fasta.pm line 193.Subroutine width redefined at C:/Perl64/site/lib/Bio\SeqIO\fasta.pm line 272.Subroutine preferred_id_type redefined at C:/Perl64/site/lib/Bio\SeqIO\fasta.pm line 295.
Thanks in advance for your help.John Deutsch
 		 	   		  



More information about the Bioperl-l mailing list