[Bioperl-l] Regarding Bioperl help for windows server 2003

Alden Huang alden.huang at gmail.com
Mon Mar 9 08:14:02 UTC 2009


did u try writing with
binmode STDOUT;

Just a guess tho, I don't really know.

On Mon, Mar 9, 2009 at 12:04 AM, Sanjay Harke <sanjay.harke at gmail.com>wrote:

> I am sanjay harke from India. I am working in MGM School of Health
> Sciences, India as associate Professor in department of Bioinformatics
> and Biotecnology. Presently i am working on database development of
> Plant proteins In that regard i am presuing Bioperl script. I know
> very well Perl, PHP, CGI... But i am not getting image with the help of
> Bio::Graphics for bioperl module execution on window 2003 server. Is
> it possible to you all  to help me out.following script is not working
> properly on window 2003 server.
>
> ----------------------------------------------------------------------------
> #!/usr/local/bin/perl
>
> # This is code example 1 in the Graphics-HOWTO
> # data1.txt file
>
> 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);
>
> while (<>) { # read blast file
>  chomp;
>  next if /^\#/;  # ignore comments
>  my($name,$score,$start,$end) = split /\t+/;
>  my $feature = Bio::SeqFeature::Generic->new(
>                                            -display_name => $name,
>                                            -score        => $score,
>                                            -start        => $start,
>                                            -end          => $end
>                                           );
>  $track->add_feature($feature);
> }
>
> print $panel->png;
> ------------------------------------------------------------
>
> So, kindly help me out for this problem.
>
> thanking you
>
> yours truly
>
> sanjay harke
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>



More information about the Bioperl-l mailing list