[Bioperl-l] Drawing dna sequence
Mikhail Pachkov
russman.dncl at gmail.com
Fri Nov 11 06:12:45 EST 2005
Hello All,
I have problem with drawing dna sequence using 'dna' glyph. I have a
few tracks with some features and I want to draw a sequence for every
track. Every track has its own sequence.
I have tried to make a new feature for dna sequence and add it to the
track, but it does not show anything.
# $panel, $track and $sequence are defined before
my $start = 0;
my $end = length($sequence->seq()) - 1;
my $feature = Bio::SeqFeature::Generic->new(-start=>$start,
-end=>$end
);
$feature->attach_seq($sequence);
$track->add_feature($feature);
Any suggestions appreciated.
Thank you.
Mikhail
More information about the Bioperl-l
mailing list