[BioRuby-cvs] bioruby/lib/bio/data na.rb,0.17,0.18
Katayama Toshiaki
k at pub.open-bio.org
Fri Nov 25 10:59:31 EST 2005
Update of /home/repository/bioruby/bioruby/lib/bio/data
In directory pub.open-bio.org:/tmp/cvs-serv24413/lib/bio/data
Modified Files:
na.rb
Log Message:
* names other than atgc are added for bioruby shell
Index: na.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/data/na.rb,v
retrieving revision 0.17
retrieving revision 0.18
diff -C2 -d -r0.17 -r0.18
*** na.rb 15 Nov 2005 12:43:37 -0000 0.17
--- na.rb 25 Nov 2005 15:59:29 -0000 0.18
***************
*** 70,84 ****
NAMES = {
! 'y' => '[tc]', # pYrimidine
! 'r' => '[ag]', # puRine
! 'w' => '[at]', # Weak
! 's' => '[gc]', # Strong
! 'k' => '[tg]', # Keto
! 'm' => '[ac]', # aroMatic
! 'b' => '[tgc]', # not A
! 'd' => '[atg]', # not C
! 'h' => '[atc]', # not G
! 'v' => '[agc]', # not T
'n' => '[atgc]',
--- 70,84 ----
NAMES = {
! 'y' => '[tc]',
! 'r' => '[ag]',
! 'w' => '[at]',
! 's' => '[gc]',
! 'k' => '[tg]',
! 'm' => '[ac]',
! 'b' => '[tgc]',
! 'd' => '[atg]',
! 'h' => '[atc]',
! 'v' => '[agc]',
'n' => '[atgc]',
***************
*** 90,99 ****
'u' => 'u',
! 'A' => 'adenine',
! 'T' => 'thymine',
! 'G' => 'guanine',
! 'C' => 'cytosine',
! 'U' => 'uracil',
}
--- 90,110 ----
'u' => 'u',
! 'A' => 'Adenine',
! 'T' => 'Thymine',
! 'G' => 'Guanine',
! 'C' => 'Cytosine',
! 'U' => 'Uracil',
!
! 'Y' => 'pYrimidine',
! 'R' => 'puRine',
! 'W' => 'Weak',
! 'S' => 'Strong',
! 'K' => 'Keto',
! 'M' => 'aroMatic',
+ 'B' => 'not A',
+ 'D' => 'not C',
+ 'H' => 'not G',
+ 'V' => 'not T',
}
More information about the bioruby-cvs
mailing list