[BioRuby-cvs] bioruby/doc Tutorial.rd,1.8,1.9
Mitsuteru C. Nakao
nakao at pub.open-bio.org
Mon Oct 31 23:31:50 EST 2005
Update of /home/repository/bioruby/bioruby/doc
In directory pub.open-bio.org:/tmp/cvs-serv6369/doc
Modified Files:
Tutorial.rd
Log Message:
* Fixed rd format.
Index: Tutorial.rd
===================================================================
RCS file: /home/repository/bioruby/bioruby/doc/Tutorial.rd,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Tutorial.rd 27 Oct 2005 11:55:58 -0000 1.8
--- Tutorial.rd 1 Nov 2005 04:31:48 -0000 1.9
***************
*** 232,236 ****
require 'bio'
! # Read all lines from STDIN split by the GenBank delimiter
while entry = gets(Bio::GenBank::DELIMITER)
gb = Bio::GenBank.new(entry) # creates GenBank object
--- 232,236 ----
require 'bio'
! # Read all lines from STDIN split by the GenBank delimiter
while entry = gets(Bio::GenBank::DELIMITER)
gb = Bio::GenBank.new(entry) # creates GenBank object
***************
*** 246,252 ****
#!/usr/bin/env ruby
!
require 'bio'
!
ff = Bio::FlatFile.new(Bio::GenBank, ARGF)
ff.each_entry do |gb|
--- 246,252 ----
#!/usr/bin/env ruby
!
require 'bio'
!
ff = Bio::FlatFile.new(Bio::GenBank, ARGF)
ff.each_entry do |gb|
***************
*** 301,305 ****
puts "# #{gb.accession} - #{gb.organism}"
! # iterates over each element in 'features'
gb.features.each do |feature|
position = feature.position
--- 301,305 ----
puts "# #{gb.accession} - #{gb.organism}"
! # iterates over each element in 'features'
gb.features.each do |feature|
position = feature.position
***************
*** 477,481 ****
# Creates FASTA factory object ("ssearch" instead of "fasta34" can also work)
factory = Bio::Fasta.local('fasta34', ARGV.pop)
! (EDITOR's NOTE: not consistent pop command)
# Reads FASTA-formatted files (TRANSLATOR'S NOTE: something wrong in Japanese text)
--- 477,481 ----
# Creates FASTA factory object ("ssearch" instead of "fasta34" can also work)
factory = Bio::Fasta.local('fasta34', ARGV.pop)
! (EDITOR's NOTE: not consistent pop command)
# Reads FASTA-formatted files (TRANSLATOR'S NOTE: something wrong in Japanese text)
***************
*** 806,809 ****
--- 806,810 ----
E-Utils|URL:http://eutils.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html>))
for more details.
+
More information about the bioruby-cvs
mailing list