Sha256: 52bc6ee01104e8a5785ce9ebe94ccee7d341fa7f79b90bcde433a82cc27e4665

Contents?: true

Size: 832 Bytes

Versions: 15

Compression:

Stored size: 832 Bytes

Contents

#
# = sample/demo_litdb.rb - demonstration of Bio::LITDB
#
# Copyright::  Copyright (C) 2001 Toshiaki Katayama <k@bioruby.org>
# License::    The Ruby License
#
#
# == Description
#
# Demonstration of Bio::LITDB, LITDB literature database parser class.
#
# == Requirements
#
# Internet connection and/or OBDA (Open Bio Database Access) configuration.
#
# == Usage
#
# Simply run this script.
#
#  $ ruby demo_litdb.rb
#
# == Development information
#
# The code was moved from lib/bio/db/litdb.rb.
#

require 'bio'

#if __FILE__ == $0

  entry = Bio::Fetch.query('litdb', '0308004') 
  puts entry
  p Bio::LITDB.new(entry).reference

  entry = Bio::Fetch.query('litdb', '0309094')
  puts entry
  p Bio::LITDB.new(entry).reference

  entry = Bio::Fetch.query('litdb', '0309093')
  puts entry
  p Bio::LITDB.new(entry).reference
#end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bio-2.0.5 sample/demo_litdb.rb
bio-2.0.4 sample/demo_litdb.rb
bio-2.0.3 sample/demo_litdb.rb
bio-2.0.2 sample/demo_litdb.rb
bio-2.0.1 sample/demo_litdb.rb
bio-2.0.0 sample/demo_litdb.rb
bio-1.6.0.pre.20181210 sample/demo_litdb.rb
bio-1.5.2 sample/demo_litdb.rb
bio-1.5.1 sample/demo_litdb.rb
bio-1.5.0 sample/demo_litdb.rb
bio-1.4.3.0001 sample/demo_litdb.rb
bio-1.4.3 sample/demo_litdb.rb
bio-1.4.2 sample/demo_litdb.rb
bio-1.4.1 sample/demo_litdb.rb
bio-1.4.0 sample/demo_litdb.rb