[Bioperl-l] BioGraphics

soumyadeep nandi soumyadeep nandi" <snandi@rediffmail.com
12 Dec 2002 09:41:26 -0000


I am working as a Project Trainee in BioInformatics Center, 
Jawaharlal
Nehru University, India. As part of our project we have downloaded 
the
the genebank and other related databases, and we are running Blast 
and
other programmes on these.
I am now working on bioperl-1.1.1 and trying to parse the output 
of
Blast through BioGraphics and GFF file formats.

While running my program I am getting an error message.
The program is as follows:
#! /usr/bin/perl
use strict;
use Bio::Graphics;
use Bio::SeqFeature::Generic;

my $panel = Bio::Graphics::Panel->new(-length => 1000, -width => 
800);
my $track = $panel->add_track(-glyph => 'generic',-label => 1);
open(FileHandle,'/home/soumya/bioperl/data1.txt') || die 
"error\n";
while(<FileHandle>){
chomp;
next if /^\#/;
my($name, $score, $start, $end) = split /\t+/;
my $feature =
Bio::SeqFeature::Generic->new(-seqname=>$name,-score=>$score,-start=>$start,-end=>$end);
$track->add_feature($feature);
print $name;
}
close(FileHandle);
print $panel->png;

And the error message is :
"MSG: SeqFeatureI::display_id() is deprecated. Please use
display_name() instead."

Soumyadeep