Subject: | processed_transcript glyph does not display utrs |
Date: | Wed, 26 Aug 2009 17:32:14 -0700 |
To: | bug-Bio-Graphics [...] rt.cpan.org |
From: | Yuri Titov BendaƱa <ybendana [...] gmail.com> |
Hello,
I believe I've run across a bug in the processed_transcript glyph.
I'm using Bio::Graphics 1.982. I'm trying to display an mRNA
containing only exons and CDS and it was not displaying the implied
UTRs. I then noticed that the type() method was returning
"type:source" so I made the following changes and it now works
correctly:
37,38c37,38
< my @exons = grep {$_->type =~ /^exon/} @features;
< my @cds = grep {$_->type =~ /^CDS/} @features;
---
Show quoted text
> my @exons = grep {$_->type eq 'exon'} @features;
> my @cds = grep {$_->type eq 'CDS'} @features;