bio 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. data/bin/bioruby +107 -0
  2. data/bin/br_biofetch.rb +59 -0
  3. data/bin/br_bioflat.rb +294 -0
  4. data/bin/br_biogetseq.rb +57 -0
  5. data/bin/br_pmfetch.rb +431 -0
  6. data/doc/BioRuby.rd.ja +225 -0
  7. data/doc/Changes-0.7.rd +236 -0
  8. data/doc/Design.rd.ja +341 -0
  9. data/doc/KEGG_API.rd +1437 -0
  10. data/doc/KEGG_API.rd.ja +1399 -0
  11. data/doc/TODO.rd.ja +138 -0
  12. data/doc/Tutorial.rd +1138 -0
  13. data/doc/Tutorial.rd.ja +2110 -0
  14. data/etc/bioinformatics/seqdatabase.ini +210 -0
  15. data/lib/bio.rb +256 -0
  16. data/lib/bio/alignment.rb +1906 -0
  17. data/lib/bio/appl/bl2seq/report.rb +350 -0
  18. data/lib/bio/appl/blast.rb +269 -0
  19. data/lib/bio/appl/blast/format0.rb +1402 -0
  20. data/lib/bio/appl/blast/format8.rb +95 -0
  21. data/lib/bio/appl/blast/report.rb +652 -0
  22. data/lib/bio/appl/blast/rexml.rb +151 -0
  23. data/lib/bio/appl/blast/wublast.rb +553 -0
  24. data/lib/bio/appl/blast/xmlparser.rb +222 -0
  25. data/lib/bio/appl/blat/report.rb +392 -0
  26. data/lib/bio/appl/clustalw.rb +191 -0
  27. data/lib/bio/appl/clustalw/report.rb +154 -0
  28. data/lib/bio/appl/emboss.rb +68 -0
  29. data/lib/bio/appl/fasta.rb +262 -0
  30. data/lib/bio/appl/fasta/format10.rb +428 -0
  31. data/lib/bio/appl/fasta/format6.rb +37 -0
  32. data/lib/bio/appl/genscan/report.rb +570 -0
  33. data/lib/bio/appl/hmmer.rb +129 -0
  34. data/lib/bio/appl/hmmer/report.rb +556 -0
  35. data/lib/bio/appl/mafft.rb +222 -0
  36. data/lib/bio/appl/mafft/report.rb +119 -0
  37. data/lib/bio/appl/psort.rb +555 -0
  38. data/lib/bio/appl/psort/report.rb +473 -0
  39. data/lib/bio/appl/sim4.rb +134 -0
  40. data/lib/bio/appl/sim4/report.rb +501 -0
  41. data/lib/bio/appl/sosui/report.rb +166 -0
  42. data/lib/bio/appl/spidey/report.rb +604 -0
  43. data/lib/bio/appl/targetp/report.rb +283 -0
  44. data/lib/bio/appl/tmhmm/report.rb +238 -0
  45. data/lib/bio/command.rb +166 -0
  46. data/lib/bio/data/aa.rb +354 -0
  47. data/lib/bio/data/codontable.rb +740 -0
  48. data/lib/bio/data/na.rb +226 -0
  49. data/lib/bio/db.rb +340 -0
  50. data/lib/bio/db/aaindex.rb +280 -0
  51. data/lib/bio/db/embl/common.rb +332 -0
  52. data/lib/bio/db/embl/embl.rb +446 -0
  53. data/lib/bio/db/embl/sptr.rb +954 -0
  54. data/lib/bio/db/embl/swissprot.rb +32 -0
  55. data/lib/bio/db/embl/trembl.rb +31 -0
  56. data/lib/bio/db/embl/uniprot.rb +32 -0
  57. data/lib/bio/db/fantom.rb +604 -0
  58. data/lib/bio/db/fasta.rb +869 -0
  59. data/lib/bio/db/genbank/common.rb +299 -0
  60. data/lib/bio/db/genbank/ddbj.rb +34 -0
  61. data/lib/bio/db/genbank/genbank.rb +354 -0
  62. data/lib/bio/db/genbank/genpept.rb +73 -0
  63. data/lib/bio/db/genbank/refseq.rb +31 -0
  64. data/lib/bio/db/gff.rb +106 -0
  65. data/lib/bio/db/go.rb +497 -0
  66. data/lib/bio/db/kegg/brite.rb +51 -0
  67. data/lib/bio/db/kegg/cell.rb +88 -0
  68. data/lib/bio/db/kegg/compound.rb +130 -0
  69. data/lib/bio/db/kegg/enzyme.rb +125 -0
  70. data/lib/bio/db/kegg/expression.rb +173 -0
  71. data/lib/bio/db/kegg/genes.rb +293 -0
  72. data/lib/bio/db/kegg/genome.rb +362 -0
  73. data/lib/bio/db/kegg/glycan.rb +213 -0
  74. data/lib/bio/db/kegg/keggtab.rb +418 -0
  75. data/lib/bio/db/kegg/kgml.rb +299 -0
  76. data/lib/bio/db/kegg/ko.rb +178 -0
  77. data/lib/bio/db/kegg/reaction.rb +97 -0
  78. data/lib/bio/db/litdb.rb +131 -0
  79. data/lib/bio/db/medline.rb +317 -0
  80. data/lib/bio/db/nbrf.rb +199 -0
  81. data/lib/bio/db/pdb.rb +38 -0
  82. data/lib/bio/db/pdb/atom.rb +60 -0
  83. data/lib/bio/db/pdb/chain.rb +117 -0
  84. data/lib/bio/db/pdb/model.rb +106 -0
  85. data/lib/bio/db/pdb/pdb.rb +1682 -0
  86. data/lib/bio/db/pdb/residue.rb +122 -0
  87. data/lib/bio/db/pdb/utils.rb +234 -0
  88. data/lib/bio/db/prosite.rb +616 -0
  89. data/lib/bio/db/rebase.rb +417 -0
  90. data/lib/bio/db/transfac.rb +387 -0
  91. data/lib/bio/feature.rb +201 -0
  92. data/lib/bio/io/brdb.rb +103 -0
  93. data/lib/bio/io/das.rb +471 -0
  94. data/lib/bio/io/dbget.rb +212 -0
  95. data/lib/bio/io/ddbjxml.rb +614 -0
  96. data/lib/bio/io/fastacmd.rb +123 -0
  97. data/lib/bio/io/fetch.rb +114 -0
  98. data/lib/bio/io/flatfile.rb +496 -0
  99. data/lib/bio/io/flatfile/bdb.rb +266 -0
  100. data/lib/bio/io/flatfile/index.rb +1308 -0
  101. data/lib/bio/io/flatfile/indexer.rb +778 -0
  102. data/lib/bio/io/higet.rb +92 -0
  103. data/lib/bio/io/keggapi.rb +863 -0
  104. data/lib/bio/io/pubmed.rb +189 -0
  105. data/lib/bio/io/registry.rb +308 -0
  106. data/lib/bio/io/soapwsdl.rb +114 -0
  107. data/lib/bio/io/sql.rb +428 -0
  108. data/lib/bio/location.rb +650 -0
  109. data/lib/bio/pathway.rb +991 -0
  110. data/lib/bio/reference.rb +308 -0
  111. data/lib/bio/sequence.rb +593 -0
  112. data/lib/bio/shell.rb +51 -0
  113. data/lib/bio/shell/core.rb +512 -0
  114. data/lib/bio/shell/plugin/codon.rb +228 -0
  115. data/lib/bio/shell/plugin/entry.rb +85 -0
  116. data/lib/bio/shell/plugin/flatfile.rb +119 -0
  117. data/lib/bio/shell/plugin/keggapi.rb +187 -0
  118. data/lib/bio/shell/plugin/midi.rb +448 -0
  119. data/lib/bio/shell/plugin/obda.rb +63 -0
  120. data/lib/bio/shell/plugin/seq.rb +238 -0
  121. data/lib/bio/shell/session.rb +214 -0
  122. data/lib/bio/util/color_scheme.rb +214 -0
  123. data/lib/bio/util/color_scheme/buried.rb +78 -0
  124. data/lib/bio/util/color_scheme/helix.rb +78 -0
  125. data/lib/bio/util/color_scheme/hydropathy.rb +83 -0
  126. data/lib/bio/util/color_scheme/nucleotide.rb +50 -0
  127. data/lib/bio/util/color_scheme/strand.rb +78 -0
  128. data/lib/bio/util/color_scheme/taylor.rb +69 -0
  129. data/lib/bio/util/color_scheme/turn.rb +78 -0
  130. data/lib/bio/util/color_scheme/zappo.rb +69 -0
  131. data/lib/bio/util/contingency_table.rb +337 -0
  132. data/lib/bio/util/sirna.rb +306 -0
  133. data/lib/bioruby.rb +34 -0
  134. data/sample/biofetch.rb +475 -0
  135. data/sample/color_scheme_na.rb +99 -0
  136. data/sample/dbget +37 -0
  137. data/sample/fasta2tab.rb +99 -0
  138. data/sample/fsplit.rb +51 -0
  139. data/sample/gb2fasta.rb +31 -0
  140. data/sample/gb2tab.rb +325 -0
  141. data/sample/gbtab2mysql.rb +161 -0
  142. data/sample/genes2nuc.rb +33 -0
  143. data/sample/genes2pep.rb +33 -0
  144. data/sample/genes2tab.rb +81 -0
  145. data/sample/genome2rb.rb +29 -0
  146. data/sample/genome2tab.rb +76 -0
  147. data/sample/goslim.rb +311 -0
  148. data/sample/gt2fasta.rb +47 -0
  149. data/sample/pmfetch.rb +42 -0
  150. data/sample/pmsearch.rb +42 -0
  151. data/sample/psortplot_html.rb +222 -0
  152. data/sample/ssearch2tab.rb +96 -0
  153. data/sample/tdiary.rb +158 -0
  154. data/sample/tfastx2tab.rb +100 -0
  155. data/sample/vs-genes.rb +212 -0
  156. data/test/data/SOSUI/sample.report +11 -0
  157. data/test/data/TMHMM/sample.report +21 -0
  158. data/test/data/blast/eco:b0002.faa +15 -0
  159. data/test/data/blast/eco:b0002.faa.m0 +128 -0
  160. data/test/data/blast/eco:b0002.faa.m7 +65 -0
  161. data/test/data/blast/eco:b0002.faa.m8 +1 -0
  162. data/test/data/embl/AB090716.embl +65 -0
  163. data/test/data/genscan/sample.report +63 -0
  164. data/test/data/prosite/prosite.dat +2233 -0
  165. data/test/data/refseq/nm_126355.entret +64 -0
  166. data/test/data/uniprot/p53_human.uniprot +1456 -0
  167. data/test/runner.rb +10 -0
  168. data/test/unit/bio/appl/blast/test_report.rb +427 -0
  169. data/test/unit/bio/appl/blast/test_xmlparser.rb +400 -0
  170. data/test/unit/bio/appl/genscan/test_report.rb +195 -0
  171. data/test/unit/bio/appl/sosui/test_report.rb +94 -0
  172. data/test/unit/bio/appl/targetp/test_report.rb +159 -0
  173. data/test/unit/bio/appl/test_blast.rb +159 -0
  174. data/test/unit/bio/appl/test_fasta.rb +142 -0
  175. data/test/unit/bio/appl/tmhmm/test_report.rb +139 -0
  176. data/test/unit/bio/data/test_aa.rb +103 -0
  177. data/test/unit/bio/data/test_codontable.rb +120 -0
  178. data/test/unit/bio/data/test_na.rb +89 -0
  179. data/test/unit/bio/db/embl/test_common.rb +130 -0
  180. data/test/unit/bio/db/embl/test_embl.rb +227 -0
  181. data/test/unit/bio/db/embl/test_sptr.rb +268 -0
  182. data/test/unit/bio/db/embl/test_uniprot.rb +44 -0
  183. data/test/unit/bio/db/kegg/test_genes.rb +58 -0
  184. data/test/unit/bio/db/test_fasta.rb +263 -0
  185. data/test/unit/bio/db/test_gff.rb +140 -0
  186. data/test/unit/bio/db/test_prosite.rb +1450 -0
  187. data/test/unit/bio/io/test_ddbjxml.rb +87 -0
  188. data/test/unit/bio/io/test_soapwsdl.rb +45 -0
  189. data/test/unit/bio/shell/plugin/test_seq.rb +175 -0
  190. data/test/unit/bio/test_alignment.rb +1028 -0
  191. data/test/unit/bio/test_command.rb +71 -0
  192. data/test/unit/bio/test_db.rb +109 -0
  193. data/test/unit/bio/test_feature.rb +128 -0
  194. data/test/unit/bio/test_location.rb +51 -0
  195. data/test/unit/bio/test_pathway.rb +485 -0
  196. data/test/unit/bio/test_sequence.rb +386 -0
  197. data/test/unit/bio/test_shell.rb +31 -0
  198. data/test/unit/bio/util/test_color_scheme.rb +45 -0
  199. data/test/unit/bio/util/test_contingency_table.rb +106 -0
  200. data/test/unit/bio/util/test_sirna.rb +258 -0
  201. metadata +295 -0
data/doc/BioRuby.rd.ja ADDED
@@ -0,0 +1,225 @@
1
+ =begin
2
+
3
+ $Id: BioRuby.rd.ja,v 1.10 2004/08/23 23:41:29 k Exp $
4
+
5
+ Copyright (C) 2001, 2002 KATAYAMA Toshiaki <k@bioruby.org>
6
+
7
+ = BioRuby �ץ���������
8
+
9
+ BioRuby �ϡ�Bioinformatics ��ɬ�פȤ���롢�ǡ����١����θ������ǡ�����
10
+ �����ȥѡ�����������Ϥ���ѥ����������Ϥޤ��͡��ʷ׻����ʤɤ�ɬ�פȤʤ�
11
+ �͡��ʵ�ǽ�� Ruby ����Ǽ���������ñ�˰�����褦�ˤ���ץ��������ȤǤ���
12
+
13
+ ¾����ԥץ��������ȤȤ��Ƥ� BioPerl, BioPython, BioJava �ʤ��͡��ʤ��
14
+ ������ޤ��������٤Ǥ���ˤ�Ĺ�� BioPerl ���Ǥ⽼�¤��Ƥ���Ȼפ��ޤ�����
15
+ BioPerl ��������Τ�ʣ���ʹ�¤�ǡ��ǡ������󥿡��Ǥ����Ѥ�������ꤵ���
16
+ ����褦�˻פ��ޤ��������⤽�� Perl ��ʣ���ʥǡ�����¤�򰷤��ȥ���������
17
+ �ɤ��ɤߤŤ餯�ʤ�ޤ������η�̡����ƥʥ󥹤���ɤ��񤷤��ʤ�ޤ���¾
18
+ �Υץ��������Ȥˤ⤽�줾������������Ȼפ��ޤ�����������ˤ��Ƥ��ȯ�dz�
19
+ ȯ�������ʳ��ˤ��뤳�Ȥ�ͤ���С���ʬ�λȤ��䤹�������ɬ�פʵ�ǽ�����
20
+ ���ƹԤäƤ⽽ʬ���ɤ��դ���Ȼפ��ޤ���
21
+
22
+ BioRuby �Ǥϡ�����ץ�Ƕ��Ϥ� Ruby ����Υ��ɥХ�ơ�������������ʬ����
23
+ �䤹�������ɤǥ���ɥ桼����ɬ�פʵ�ǽ��������Ƥ��������Ȼפ��ޤ����ä�
24
+ Ruby �Τ����륪�֥������ȤȤ���ȯ�ۤϡ���Τ򰷤���ʪ�ؤˤ���ľ������
25
+ �Ϥ�䤹�����󥻥ץȤǤ������ȥ饤�����顼�Ǻ�Ȥ�ʤ������Ǥ��륤�󥿡�
26
+ �ץ꥿����� C �� Java ����٤ƥ����åȤʥ�ܤθ���Ԥˤ������ߤ䤹����
27
+ �פ��ޤ���
28
+
29
+ �ޤ���Ruby �Ǥ� Perl ����ζ��Ϥ�ʸ��������˲ä���Perl �θ�Ť��� OO ��
30
+ ��륪�ޥ��ʥ��䡢�ѽФ��� local, my �ʤɤ����פǡ�ʣ���ʥǡ�����¤�⥯
31
+ �饹�Ǥ��ä����ɽ���Ǥ��뤿�ᡢ�ܼ�Ū����ʬ����ǰ���ƥ����ǥ��󥰤��뤳
32
+ �Ȥ��Ǥ��ޤ�������ˤ�ꡢ��ȯ�θ�Ψ��⤯�ʤ뤿�ᡢ¾�Υץ��������Ȥ���
33
+ �ݤ��Ƥ��ʤ��ΰ�ˤ⤤���᤯����Ȥ�Ǥ�����Ȼפ��ޤ���
34
+
35
+ ����ˡ�Ruby ���Τ����ܤdz�ȯ���줿����Ǥ���Τ˲ä� BioRuby �����ܽ��
36
+ �����ץ�� Bio* �ץ��������ȤǤ������Τ��ᡢ�������ܸ������졢��ȯ��
37
+ ���ܸ�ǹԤʤ�������KEGG �ʤ������ȼ��Υ����ƥ�ؤ��б��ʤɤ�Ԥʤ��䤹
38
+ ������ BioRuby �Υ��åȤǤ��礦��
39
+
40
+ BioRuby �Υ����֥����� ((<URL:http://bioruby.org/>)) �ǡ��ǿ��Τ��Τ餻��
41
+ ��������������ˡ���᡼��󥰥ꥹ�Ȥʤɤξ���ȡ�¾�Υɥ�����Ȥ䥳���
42
+ �Ȥʤɤξ��������ޤ���
43
+
44
+ == �Ȥ���
45
+
46
+ BioRuby ��Ȥ�������ץȤ����
47
+
48
+ require 'bio'
49
+
50
+ �Ȥ��Ƥ���������
51
+
52
+ ���ƤΥ��饹�� module Bio �β����ɲä���ޤ�����ɬ�פ˱�����
53
+
54
+ include Bio
55
+
56
+ �Ȥ��뤳�Ȥǡ�Bio:: ��ʤ��Ƴƥ��饹��Ȥ������Ǥ��ޤ���
57
+
58
+ == BioRuby �γ�ά
59
+
60
+ bio.rb �� require ����ȡ��ʲ��Υ��饹������ʤɤ��Ȥ���褦�ˤʤ�ޤ���
61
+ ���߼�������Ƥ����ʵ�ǽ�ϡ�
62
+
63
+ * ���ߥλ�������������Ρ������䥦����ɥ��������ʤɤ�ޤ���
64
+ ���ץ饤���󥰤ʤɤ�ɽ�� GenBank ������ location �ե����ޥåȤν���
65
+ * BLAST/FASTA �ʤɤ��Ѥ�����Ʊ������
66
+ * ���Υ�ͥå� ((<URL:http://www.genome.jp>)) �θ����ȥǡ�������
67
+ * GenBank �� KEGG �ʤ��͡��ʥǡ����١����κ٤����ѡ���
68
+ * PubMed/MEDLINE �ʤɤΰ���ʸ���ǡ����μ���������
69
+ * �ѥ����������Ϥ�ɬ�פʥ���դȣ���ط������
70
+
71
+ �ʤɤǤ����ܤ���������ˡ�ˤĤ��Ƥϡ��ġ��Υ��饹�˴ؤ���ɥ�����Ȥ䡢
72
+ ���塼�ȥꥢ��򻲾Ȥ��Ʋ�������
73
+
74
+ ¾�ˡ��ޤ�̤����Ǥ��� C ����ˤ�롢���饹����󥰤� Smith-Waterman ��
75
+ �르�ꥺ��μ����ʤɤ�Ԥʤ��Ƥ��ޤ���
76
+
77
+ === ���饹����
78
+
79
+ class Object �ե����� ��٥�
80
+ |- class String
81
+ | `- class Bio::Sequence bio/sequence.rb stable
82
+ | |- class Bio::Sequence::AA bio/sequence.rb stable
83
+ | `- class Bio::Sequence::NA bio/sequence.rb stable
84
+ |- class Bio::Location bio/location.rb stable
85
+ |- class Bio::Locations bio/location.rb stable
86
+ |- class Bio::Feature bio/feature.rb stable
87
+ |- class Bio::Features bio/feature.rb stable
88
+ |- class Bio::Reference bio/reference.rb stable
89
+ |- class Bio::References bio/reference.rb stable
90
+ |- class Bio::Pathway bio/pathway.rb stable
91
+ |- class Bio::Relation bio/pathway.rb stable
92
+ |- class Bio::FlatFile bio/io/flatfile.rb stable
93
+ |- class Bio::Registry bio/io/registry.rb beta
94
+ |- class Bio::Fetch bio/io/fetch.rb stable
95
+ |- class Bio::SQL bio/io/sql.rb beta
96
+ |- class Bio::DBGET bio/io/dbget.rb stable
97
+ |- class Bio::PubMed bio/io/pubmed.rb stable
98
+ |- class Bio::BRDB bio/io/brdb.rb alpha
99
+ |- class Bio::Fasta bio/appl/fasta.rb stable
100
+ |- class Bio::Fasta::Report::* bio/appl/fasta/*.rb stable
101
+ |- class Bio::Blast bio/appl/blast.rb stable
102
+ |- class Bio::Blast::Report::* bio/appl/blast/*.rb stable
103
+ |- class Bio::DB bio/db.rb stable
104
+ | |- class Bio::FastaFormat bio/db/fasta.rb stable
105
+ | |- class Bio::NCBIDB bio/db.rb stable
106
+ | | |- class Bio::GenBank bio/db/genbank/genbank.rb stable
107
+ | | | |- class Bio::GenPept bio/db/genbank/genpept.rb stable
108
+ | | | |- class Bio::RefSeq bio/db/genbank/refseq.rb stable
109
+ | | | `- class Bio::DDBJ bio/db/genbank/ddbj.rb stable
110
+ | | |- class Bio::MEDLINE bio/db/medline.rb stable
111
+ | | |- class Bio::LITDB bio/db/litdb.rb stable
112
+ | | `- class Bio::KEGGDB bio/db.rb beta
113
+ | | |- class Bio::AAindex bio/db/aaindex.rb beta
114
+ | | | |- class Bio::AAindex1 bio/db/aaindex.rb beta
115
+ | | | `- class Bio::AAindex2 bio/db/aaindex.rb beta
116
+ | | |- class Bio::KEGG::GENES bio/db/kegg/genes.rb stable
117
+ | | |- class Bio::KEGG::GENOME bio/db/kegg/genome.rb stable
118
+ | | |- class Bio::KEGG::BRITE bio/db/kegg/brite.rb alpha
119
+ | | |- class Bio::KEGG::CELL bio/db/kegg/cell.rb beta
120
+ | | |- class Bio::KEGG::ENZYME bio/db/kegg/enzyme.rb alpha
121
+ | | `- class Bio::KEGG::COMPOUND bio/db/kegg/compound.rb alpha
122
+ | `- class Bio::EMBLDB bio/db.rb stable
123
+ | |- class Bio::EMBL bio/db/embl/embl.rb beta
124
+ | |- class Bio::SPTR bio/db/embl/sptr.rb beta
125
+ | | |- class Bio::SwissProt bio/db/embl/swissprot.rb beta
126
+ | | `- class Bio::TrEMBL bio/db/embl/swissprot.rb beta
127
+ | |- class Bio::PROSITE bio/db/prosite.rb beta
128
+ | `- class Bio::TRANSFAC bio/db/transfac.rb beta
129
+ | |- class Bio::TFMATRIX bio/db/transfac.rb beta
130
+ | |- class Bio::TFSITE bio/db/transfac.rb beta
131
+ | |- class Bio::TFFACTOR bio/db/transfac.rb beta
132
+ | |- class Bio::TFCELL bio/db/transfac.rb beta
133
+ | |- class Bio::TFCLASS bio/db/transfac.rb beta
134
+ | `- class Bio::TFGENE bio/db/transfac.rb beta
135
+ |- class Bio::KEGG::DBname bio/db/kegg/keggtab.rb beta
136
+ |- class Bio::KEGG::Keggtab bio/db/kegg/keggtab.rb beta
137
+ |- class Bio::KEGG::Microarray bio/db/kegg/microarray.rb alpha
138
+ `- class Bio::KEGG::Microarrays bio/db/kegg/microarray.rb alpha
139
+
140
+ === ɸ�९�饹�ؤΥ᥽�å��ɲ�
141
+
142
+ class Matrix bio/matrix.rb alpha
143
+ class Vector bio/matrix.rb alpha
144
+ class String bio/extend.rb beta
145
+ class Array bio/extend.rb beta
146
+
147
+ === �����̾�����֤γ���
148
+
149
+ module Bio �ե����� ������
150
+ |- AAindex bio/db/aaindex.rb class
151
+ |- AAindex1 bio/db/aaindex.rb class
152
+ |- AAindex2 bio/db/aaindex.rb class
153
+ |- AminoAcid bio/data/aa.rb constant
154
+ |- AminoAcid_weight bio/data/aa.rb constant
155
+ |- BIORUBY_VERSION bio.rb constant
156
+ |- Blast bio/appl/blast.rb class
157
+ | `- Report::* bio/appl/blast/*.rb class
158
+ |- BRDB bio/io/brdb.rb class
159
+ |- CodonTable bio/data/codontable.rb constant
160
+ |- DB bio/db.rb class
161
+ |- DBGET bio/io/dbget.rb class
162
+ |- DDBJ bio/db/genbank/ddbj.rb class
163
+ |- EMBL_COMMON bio/db/embl.rb module
164
+ |- EMBL bio/db/embl/embl.rb class
165
+ |- EMBLDB bio/db.rb class
166
+ |- Fasta bio/appl/fasta.rb class
167
+ | `- Report::* bio/appl/fasta/*.rb class
168
+ |- FastaFormat bio/db/fasta.rb class
169
+ |- FastaNumericFormat bio/db/fasta.rb class
170
+ |- Fetch bio/io/fetch.rb class
171
+ |- FlatFile bio/io/flatfile.rb class
172
+ |- GENBANK_COMMON bio/db/genbank.rb module
173
+ |- GenBank bio/db/genbank/genbank.rb class
174
+ |- GenPept bio/db/genbank/genpept.rb class
175
+ |- KEGG bio/db/kegg/ class
176
+ | |- BRITE bio/db/kegg/brite.rb class
177
+ | |- CELL bio/db/kegg/cell.rb class
178
+ | |- COMPOUND bio/db/kegg/compound.rb class
179
+ | |- ENZYME bio/db/kegg/enzyme.rb class
180
+ | |- GENES bio/db/kegg/genes.rb class
181
+ | |- GENOME bio/db/kegg/genome.rb class
182
+ | |- Keggtab bio/db/kegg/keggtab.rb class
183
+ | |- DBname bio/db/kegg/keggtab.rb class
184
+ | |- Microarray bio/db/kegg/microarray.rb class
185
+ | `- Microarrays bio/db/kegg/microarray.rb class
186
+ |- KEGGDB bio/db.rb class
187
+ |- KEGGORG bio/data/keggorg.rb constant
188
+ |- LITDB bio/db/litdb.rb class
189
+ |- Location bio/location.rb class
190
+ |- Locations bio/location.rb class
191
+ |- MEDLINE bio/db/medline.rb class
192
+ |- NCBIDB bio/db.rb class
193
+ |- NucleicAcid bio/data/na.rb constant
194
+ |- NucleicAcid_weight bio/data/na.rb constant
195
+ |- Pathway bio/pathway.rb class
196
+ |- PROSITE bio/db/prosite.rb class
197
+ |- PubMed bio/io/pubmed.rb class
198
+ |- Reference bio/reference.rb class
199
+ |- RefSeq bio/db/genbank/refseq.rb class
200
+ |- Registry bio/db/registry.rb class
201
+ |- Relation bio/pathway.rb class
202
+ |- Seq bio/sequence.rb class
203
+ | |- AA bio/sequence.rb class
204
+ | `- NA bio/sequence.rb class
205
+ |- Sequence bio/sequence.rb class
206
+ | |- AA bio/sequence.rb class
207
+ | `- NA bio/sequence.rb class
208
+ |- SwissProt bio/db/embl/swissprot.rb class
209
+ |- SPTR bio/db/embl/sptr.rb class
210
+ |- SQL bio/io/sql.rb class
211
+ |- TFCELL bio/db/transfac.rb class
212
+ |- TFCLASS bio/db/transfac.rb class
213
+ |- TFFACTOR bio/db/transfac.rb class
214
+ |- TFGENE bio/db/transfac.rb class
215
+ |- TFMATRIX bio/db/transfac.rb class
216
+ |- TFSITE bio/db/transfac.rb class
217
+ |- TRANSFAC bio/db/transfac.rb class
218
+ `- TrEMBL bio/db/embl/trembl.rb class
219
+
220
+ === �ե����볬��
221
+
222
+ BioRuby �Υե����빽���ˤĤ��Ƥ� Design.rd.ja �򻲾Ȥ��Ƥ���������
223
+
224
+ =end
225
+
@@ -0,0 +1,236 @@
1
+ = Incompatible and important changes since the BioRuby 0.6.4 release
2
+
3
+ A lot of changes have been made to the BioRuby after the version 0.6.4
4
+ is released.
5
+
6
+ --- Ruby 1.6 series are no longer supported.
7
+
8
+ We use autoload functionality and many other libraries bundled in
9
+ Ruby 1.8.2 (such as SOAP, open-uri, pp etc.) by default.
10
+
11
+ --- BioRuby will be loaded about 30 times faster than before.
12
+
13
+ As we changed to use autoload instead of require, time required
14
+ to start up the BioRuby library made surprisingly faster.
15
+
16
+ Other changes (including exciting BioRuby shell etc.) made in this release
17
+ is described in this file.
18
+
19
+ == New features
20
+
21
+ --- BioRuby shell
22
+
23
+ Command line user interface for the BioRuby is included.
24
+ You can invoke the shell by
25
+
26
+ % bioruby
27
+
28
+ --- UnitTest
29
+
30
+ Test::Unit now covers wide range of the BioRuby library.
31
+ You can run them by
32
+
33
+ % ruby test/runner.rb
34
+
35
+ or
36
+
37
+ % ruby install.rb config
38
+ % ruby install.rb setup
39
+ % ruby install.rb test
40
+
41
+ during the installation procedure.
42
+
43
+ --- Documents
44
+
45
+ README, README.DEV, doc/Tutorial.rd, doc/Tutorial.rd.ja etc. are updated
46
+ or newly added.
47
+
48
+ == Incompatible changes
49
+
50
+ --- Bio::Sequence
51
+
52
+ * Bio::Sequence::NA#gc_percent returns integer instead of float
53
+ * Bio::Sequence::NA#gc (was aliased to gc_percent) is removed
54
+
55
+ Previously, GC% is rounded to one decimal place. However, how many digits
56
+ should be left when rounding the value is not clear and as the GC% is an
57
+ rough measure by its nature, we have changed to return integer part only.
58
+ If you need a precise value, you can calculate it by values from the
59
+ 'composition' method by your own criteria.
60
+
61
+ Also, the 'gc' method is removed as the method name doesn't represent
62
+ its value is ambiguous.
63
+
64
+ * Bio::Sequence#blast
65
+ * Bio::Sequence#fasta
66
+
67
+ These two methods are removed. Use Bio::Blast and Bio::Fasta to execute
68
+ BLAST and FASTA search.
69
+
70
+ --- Bio::NucleicAcid
71
+
72
+ Bio::NucleicAcid::Names and Bio::NucleicAcid::Weight no longer exists.
73
+
74
+ Bio::NucleicAcid::Names is renamed to Bio::NucleicAcid::Data::NAMES and
75
+ can be accessed by Bio::NucleicAcid#names, Bio::NucleicAcid.names methods
76
+ and Bio::NucleicAcid::WEIGHT hash as the Data module is included.
77
+
78
+ Bio::NucleicAcid::Weight is renamed to Bio::NucleicAcid::Data::Weight and
79
+ can be accessed by Bio::NucleicAcid#weight, Bio::NucleicAcid.weight methods
80
+ and Bio::NucleicAcid::WEIGHT hash as the Data module is included.
81
+
82
+ --- Bio::AminoAcid
83
+
84
+ Bio::AminoAcid::Names and Bio::AminoAcid::Weight no longer exists.
85
+
86
+ Bio::AminoAcid::Names is renamed to Bio::AminoAcid::Data::NAMES and
87
+ can be accessed by Bio::AminoAcid#names, Bio::AminoAcid.names methods
88
+ and Bio::AminoAcid::WEIGHT hash as the Data module is included.
89
+
90
+ Bio::AminoAcid::Weight is renamed to Bio::AminoAcid::Data::Weight and
91
+ can be accessed by Bio::AminoAcid#weight, Bio::AminoAcid.weight methods
92
+ and Bio::AminoAcid::WEIGHT hash as the Data module is included.
93
+
94
+ --- Bio::CodonTable
95
+
96
+ Bio::CodonTable::Tables, Bio::CodonTable::Definitions,
97
+ Bio::CodonTable::Starts, and Bio::CodonTable::Stops
98
+ are renamed to
99
+ Bio::CodonTable::TABLES, Bio::CodonTable::DEFINITIONS,
100
+ Bio::CodonTable::STARTS, and Bio::CodonTable::STOPS
101
+ respectively.
102
+
103
+ --- Bio::KEGG::Microarrays, Bio::KEGG::Microarray
104
+
105
+ * lib/bio/db/kegg/microarray.rb is renamed to lib/bio/db/kegg/expression.rb
106
+ * Bio::KEGG::Microarray is renamed to Bio::KEGG::EXPRESSION
107
+ * Bio::KEGG::Microarrays is removed
108
+
109
+ Bio::KEGG::Microarrays was intended to store a series of microarray
110
+ expressions as a Hash of Array -like data structure,
111
+
112
+ gene1 => [exp1, exp2, exp3, ... ]
113
+ gene2 => [exp1, exp2, exp3, ... ]
114
+
115
+ however, it is not utilized well and more suitable container class
116
+ can be proposed. Until then, this class is removed.
117
+
118
+ #
119
+ # Following changes are suspended for a while (not yet introduced for now)
120
+ #
121
+ # --- Bio::Pathway
122
+ #
123
+ # * Bio::Pathway#nodes returns an Array of the node objects instead of
124
+ # the number of the node objects.
125
+ # * Bio::Pathway#edges returns an Array of the edge objects instead of
126
+ # the number of the edge objects.
127
+ #
128
+
129
+ --- Bio::GenBank
130
+
131
+ Bio::GenBank#gc is removed as the value can be calculated by the
132
+ Bio::Sequence::NA#gc method and the method is also changed to
133
+ return integer instead of float.
134
+
135
+ Bio::GenBank#varnacular_name is renamed to Bio::GenBank#vernacular_name
136
+ as it was a typo.
137
+
138
+ --- Bio::GenBank::Common
139
+
140
+ * lib/bio/db/genbank/common.rb is removed.
141
+
142
+ Renamed to Bio::NCBIDB::Common for the simple autoload dependency.
143
+
144
+ --- Bio::EMBL::Common
145
+
146
+ * lib/bio/db/embl/common.rb is removed.
147
+
148
+ Renamed to Bio::EMBLDB::Common for the simple autoload dependency.
149
+
150
+ --- Bio::KEGG::GENES
151
+
152
+ * lib/bio/db/kegg/genes.rb
153
+
154
+ linkdb method is changed to return a Hash of an Array of entry IDs
155
+ instead of a Hash of a entry ID string.
156
+
157
+ --- Bio::TRANSFAC
158
+
159
+ * Bio::TFMATRIX is renamed to Bio::TRANSFAC::MATRIX
160
+ * Bio::TFSITE is renamed to Bio::TRANSFAC::SITE
161
+ * Bio::TFFACTOR is renamed to Bio::TRANSFAC::FACTOR
162
+ * Bio::TFCELL is renamed to Bio::TRANSFAC::CELL
163
+ * Bio::TFCLASS is renamed to Bio::TRANSFAC::CLASS
164
+ * Bio::TFGENE is renamed to Bio::TRANSFAC::GENE
165
+
166
+ --- Bio::GFF
167
+
168
+ * Bio::GFF2 is renamed to Bio::GFF::GFF2
169
+ * Bio::GFF3 is renamed to Bio::GFF::GFF3
170
+
171
+ --- Bio::Alignment
172
+
173
+ * Old Bio::Alignment class is renamed to Bio::Alignment::OriginalAlignment.
174
+ Now, new Bio::Alignment is a module. However, you don't mind so much
175
+ because most of the class methods previously existed are defined
176
+ to delegate to the new Bio::Alignment::OriginalAlignment class,
177
+ for keeping backward compatibility.
178
+ * New classes and modules are introduced. Please refer RDoc.
179
+ * each_site and some methods changed to return Bio::Alignment::Site,
180
+ which inherits Array (previously returned Array).
181
+ * consensus_iupac now returns only standard bases
182
+ 'a', 'c', 'g', 't', 'm', 'r', 'w', 's', 'y', 'k', 'v',
183
+ 'h', 'd', 'b', 'n', or nil (in SiteMethods#consensus_iupac) or
184
+ '?' (or missing_char, in EnumerableExtension#consensus_iupac).
185
+ Note that consensus_iupac now does not return u and invalid letters
186
+ not defined in IUPAC standard even if all bases are equal.
187
+ * There are more and more changes to be written...
188
+
189
+ --- Bio::PDB
190
+
191
+ * Bio::PDB::Atom is removed. Instead, please use Bio::PDB::Record::ATOM and
192
+ Bio::PDB::Record::HETATM.
193
+ * Bio::PDB::FieldDef is removed and Bio::PDB::Record is completely
194
+ changed. Now, Record is changed from hash to Struct, and
195
+ method_missing is no longer used.
196
+ * In the "MODEL" record, model_serial is changed to serial.
197
+ * In records, record_type is changed to record_name.
198
+ * In any records, record_type is changed to record_name.
199
+ * In most records contains real numbers, changed to return
200
+ float values instead of strings.
201
+ * Pdb_AChar, Pdb_Atom, Pdb_Character, Pdb_Continuation,
202
+ Pdb_Date, Pdb_IDcode, Pdb_Integer, Pdb_LString, Pdb_List,
203
+ Pdb_Real, Pdb_Residue_name, Pdb_SList, Pdb_Specification_list,
204
+ Pdb_String, Pdb_StringRJ and Pdb_SymOP are moved under
205
+ Bio::PDB::DataType.
206
+ * There are more and more changes to be written...
207
+
208
+ === Deleted files
209
+
210
+ : lib/bio/db/genbank.rb
211
+ : lib/bio/db/embl.rb
212
+
213
+ These files are removed as we changed to use autoload. You can safely
214
+ replace
215
+
216
+ require 'bio/db/genbank'
217
+
218
+ or
219
+
220
+ require 'bio/db/embl'
221
+
222
+ in your code to
223
+
224
+ require 'bio'
225
+
226
+ and this change will also speeds up loading time if you only need
227
+ one of the sub classes under the genbank/ or embl/ directory.
228
+
229
+ : lib/bio/extend.rb
230
+
231
+ This file contained some additional methods to String and Array classes.
232
+ The methods added to Array are already included in Ruby itself since the
233
+ version 1.8, and the methods added to String are moved to the BioRuby shell
234
+ (lib/bio/shell/plugin/seq.rb).
235
+
236
+