From 5debe59e82a20bb3119fb95480447730e41168f9 Mon Sep 17 00:00:00 2001
From: Arne Stabenau <stabenau@sanger.ac.uk>
Date: Thu, 11 Oct 2001 15:12:18 +0000
Subject: [PATCH] contig_landmarkMarker table renamed and columns renamed in
 it. Code changed accordingly.

---
 modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
index 3e41ceded4..178ae173b8 100644
--- a/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
@@ -118,6 +118,7 @@ sub get_landmark_MarkerFeatures_old{
    my ($self,$chr_name) = @_;
 
    my $glob = 1000;
+   $self->throw( "Method deprecated. " );
 
    my $statement= "   SELECT 
                        IF     (sgp.raw_ori=1,(f.seq_start+sgp.chr_start-sgp.raw_start-1),
@@ -188,11 +189,11 @@ sub get_landmark_MarkerFeatures{
        $glob = 500000;
    }
 
-   my $statement= " SELECT  start,
-			    end,
-			    strand,
+   my $statement= " SELECT  chr_start,
+			    chr_end,
+			    chr_strand,
 			    name 
-		    FROM    contig_landmarkMarker 
+		    FROM    landmarkMarker 
 		    WHERE   chr_name = '$chr_name'
 		    ORDER BY start
 		";
-- 
GitLab