[BioRuby-cvs] bioruby/doc Tutorial.rd,1.7,1.8

Pjotr Prins pjotr at pub.open-bio.org
Thu Oct 27 07:56:00 EDT 2005


Update of /home/repository/bioruby/bioruby/doc
In directory pub.open-bio.org:/tmp/cvs-serv4489/doc

Modified Files:
	Tutorial.rd 
Log Message:
Documenting bioruby shell


Index: Tutorial.rd
===================================================================
RCS file: /home/repository/bioruby/bioruby/doc/Tutorial.rd,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Tutorial.rd	24 Sep 2005 14:58:21 -0000	1.7
--- Tutorial.rd	27 Oct 2005 11:55:58 -0000	1.8
***************
*** 39,42 ****
--- 39,61 ----
  
  
+ == Trying Bioruby
+ 
+ Bioruby comes with its own shell. After unpacking the sources run the
+ following command
+ 
+   $BIORUBY/bin/bioruby
+ 
+ and you should see a prompt
+ 
+   bioruby>
+ 
+ Now test the following:
+ 
+   bioruby> seq = Bio::Sequence::NA.new("atgcatgcaaaa")
+   bioruby> puts seq
+   atgcatgcaaaa
+   bioruby> puts seq.complement 
+   ttttgcatgcat
+ 
  == Working with nucleic / amino acid sequences (Bio::Sequence class)
  
***************
*** 80,84 ****
--- 99,105 ----
  Windows). For example
  
+   % ri puts
    % ri p
+   % ri File.open
  
  Nucleic acid sequence is an object of +Bio::Sequence::NA+ class, and



More information about the bioruby-cvs mailing list