[BioRuby-cvs] bioruby/lib/bio/shell/plugin seq.rb,1.19,1.20

Katayama Toshiaki k at dev.open-bio.org
Sun Dec 24 09:30:24 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory dev.open-bio.org:/tmp/cvs-serv609/lib/bio/shell/plugin

Modified Files:
	seq.rb 
Log Message:
* seq command is changed to getseq, and the returned object is changed from
  Bio::Sequence::NA to Bio::Sequence with @moltype = Bio::Sequence::NA


Index: seq.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/seq.rb,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** seq.rb	24 Dec 2006 08:50:18 -0000	1.19
--- seq.rb	24 Dec 2006 09:30:22 -0000	1.20
***************
*** 56,60 ****
      seq = getseq(str)
      rep = "\n* * * Sequence statistics * * *\n\n"
!     if seq.respond_to?(:complement)
        fwd = seq
        rev = seq.complement
--- 56,60 ----
      seq = getseq(str)
      rep = "\n* * * Sequence statistics * * *\n\n"
!     if seq.moltype == Bio::Sequence::NA
        fwd = seq
        rev = seq.complement




More information about the bioruby-cvs mailing list