From 322919432ead632012a94107db8117e0716be5da Mon Sep 17 00:00:00 2001
From: Graham McVicker <mcvicker@sanger.ac.uk>
Date: Wed, 18 Dec 2002 13:07:46 +0000
Subject: [PATCH] Transcript now sets alphabet and id of Bio::Seq returned from
 translate method

---
 modules/Bio/EnsEMBL/Transcript.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/Bio/EnsEMBL/Transcript.pm b/modules/Bio/EnsEMBL/Transcript.pm
index 2f1e3c57fb..647d18743f 100755
--- a/modules/Bio/EnsEMBL/Transcript.pm
+++ b/modules/Bio/EnsEMBL/Transcript.pm
@@ -1204,6 +1204,7 @@ sub translate {
   
   my $peptide = Bio::Seq->new( -seq => $mrna,
 			       -moltype => "dna",
+			       -alphabet => 'dna',
 			       -id => $display_id );
     
   return $peptide->translate;
-- 
GitLab