lib/bio-ucsc/equcab2.rb in bio-ucsc-api-0.3.1 vs lib/bio-ucsc/equcab2.rb in bio-ucsc-api-0.4.0

- old
+ new

@@ -1,26 +1,29 @@ # # = AUTOMATIC Table Definition of the Dog May 2005 (Broad/canFam2) assembly -# Copyright:: Copyright (C) 2011 +# Copyright:: Copyright (C) 2011, 2012 # MISHIMA, Hiroyuki # <missy at be.to / hmishima at nagasaki-u.ac.jp> # License:: The Ruby licence (Ryby's / GPLv2 dual) # -require "#{File.dirname(__FILE__)}/equcab2/db_connection" -require "#{File.dirname(__FILE__)}/table_class_detector" +require "#{::File.dirname(__FILE__)}/db_connector" +require "#{::File.dirname(__FILE__)}/table_class_detector" module Bio module Ucsc module EquCab2 CHROMS = %w(ChrM Chr1 Chr2 Chr3 Chr4 Chr5 Chr6 Chr7 Chr8 Chr9 Chr10 Chr11 Chr12 Chr13 Chr14 Chr15 Chr16 Chr17 Chr18 Chr19 Chr20 Chr21 Chr22 Chr23 Chr24 Chr25 Chr26 Chr27 Chr28 Chr29 Chr30 Chr31 ChrX) + extend TableClassDetector + include DBConnector + DBConnection.database "equCab2" - base = "#{File.dirname(__FILE__)}/equcab2" + base = "#{::File.dirname(__FILE__)}/equcab2" autoload :Est, "#{base}/est" autoload :Gap, "#{base}/gap" autoload :Gold, "#{base}/gold" autoload :IntronEst, "#{base}/intronest" autoload :Mrna, "#{base}/mrna"