jandot-bio 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. data/bin/bioruby +44 -0
  2. data/bin/br_biofetch.rb +47 -0
  3. data/bin/br_bioflat.rb +282 -0
  4. data/bin/br_biogetseq.rb +45 -0
  5. data/bin/br_pmfetch.rb +421 -0
  6. data/doc/Changes-0.7.rd +369 -0
  7. data/doc/KEGG_API.rd +1843 -0
  8. data/doc/KEGG_API.rd.ja +1834 -0
  9. data/doc/Tutorial.rd +1296 -0
  10. data/doc/Tutorial.rd.ja +2640 -0
  11. data/etc/bioinformatics/seqdatabase.ini +210 -0
  12. data/lib/bio.rb +279 -0
  13. data/lib/bio/alignment.rb +2518 -0
  14. data/lib/bio/appl/bl2seq/report.rb +334 -0
  15. data/lib/bio/appl/blast.rb +351 -0
  16. data/lib/bio/appl/blast/format0.rb +1438 -0
  17. data/lib/bio/appl/blast/format8.rb +83 -0
  18. data/lib/bio/appl/blast/report.rb +516 -0
  19. data/lib/bio/appl/blast/rexml.rb +135 -0
  20. data/lib/bio/appl/blast/rpsblast.rb +176 -0
  21. data/lib/bio/appl/blast/wublast.rb +550 -0
  22. data/lib/bio/appl/blast/xmlparser.rb +228 -0
  23. data/lib/bio/appl/blat/report.rb +489 -0
  24. data/lib/bio/appl/clustalw.rb +219 -0
  25. data/lib/bio/appl/clustalw/report.rb +152 -0
  26. data/lib/bio/appl/emboss.rb +203 -0
  27. data/lib/bio/appl/fasta.rb +237 -0
  28. data/lib/bio/appl/fasta/format10.rb +325 -0
  29. data/lib/bio/appl/gcg/msf.rb +212 -0
  30. data/lib/bio/appl/gcg/seq.rb +195 -0
  31. data/lib/bio/appl/genscan/report.rb +552 -0
  32. data/lib/bio/appl/hmmer.rb +126 -0
  33. data/lib/bio/appl/hmmer/report.rb +683 -0
  34. data/lib/bio/appl/iprscan/report.rb +374 -0
  35. data/lib/bio/appl/mafft.rb +259 -0
  36. data/lib/bio/appl/mafft/report.rb +226 -0
  37. data/lib/bio/appl/muscle.rb +52 -0
  38. data/lib/bio/appl/phylip/alignment.rb +129 -0
  39. data/lib/bio/appl/phylip/distance_matrix.rb +96 -0
  40. data/lib/bio/appl/probcons.rb +41 -0
  41. data/lib/bio/appl/psort.rb +548 -0
  42. data/lib/bio/appl/psort/report.rb +457 -0
  43. data/lib/bio/appl/pts1.rb +263 -0
  44. data/lib/bio/appl/sim4.rb +124 -0
  45. data/lib/bio/appl/sim4/report.rb +485 -0
  46. data/lib/bio/appl/sosui/report.rb +151 -0
  47. data/lib/bio/appl/spidey/report.rb +593 -0
  48. data/lib/bio/appl/targetp/report.rb +267 -0
  49. data/lib/bio/appl/tcoffee.rb +55 -0
  50. data/lib/bio/appl/tmhmm/report.rb +222 -0
  51. data/lib/bio/command.rb +337 -0
  52. data/lib/bio/data/aa.rb +349 -0
  53. data/lib/bio/data/codontable.rb +722 -0
  54. data/lib/bio/data/na.rb +223 -0
  55. data/lib/bio/db.rb +329 -0
  56. data/lib/bio/db/aaindex.rb +357 -0
  57. data/lib/bio/db/embl/common.rb +336 -0
  58. data/lib/bio/db/embl/embl.rb +402 -0
  59. data/lib/bio/db/embl/sptr.rb +1283 -0
  60. data/lib/bio/db/embl/swissprot.rb +42 -0
  61. data/lib/bio/db/embl/trembl.rb +41 -0
  62. data/lib/bio/db/embl/uniprot.rb +42 -0
  63. data/lib/bio/db/fantom.rb +599 -0
  64. data/lib/bio/db/fasta.rb +907 -0
  65. data/lib/bio/db/genbank/common.rb +290 -0
  66. data/lib/bio/db/genbank/ddbj.rb +22 -0
  67. data/lib/bio/db/genbank/genbank.rb +215 -0
  68. data/lib/bio/db/genbank/genpept.rb +60 -0
  69. data/lib/bio/db/genbank/refseq.rb +18 -0
  70. data/lib/bio/db/gff.rb +174 -0
  71. data/lib/bio/db/go.rb +481 -0
  72. data/lib/bio/db/kegg/brite.rb +41 -0
  73. data/lib/bio/db/kegg/compound.rb +131 -0
  74. data/lib/bio/db/kegg/drug.rb +98 -0
  75. data/lib/bio/db/kegg/enzyme.rb +148 -0
  76. data/lib/bio/db/kegg/expression.rb +155 -0
  77. data/lib/bio/db/kegg/genes.rb +263 -0
  78. data/lib/bio/db/kegg/genome.rb +241 -0
  79. data/lib/bio/db/kegg/glycan.rb +170 -0
  80. data/lib/bio/db/kegg/keggtab.rb +357 -0
  81. data/lib/bio/db/kegg/kgml.rb +256 -0
  82. data/lib/bio/db/kegg/orthology.rb +136 -0
  83. data/lib/bio/db/kegg/reaction.rb +82 -0
  84. data/lib/bio/db/kegg/taxonomy.rb +331 -0
  85. data/lib/bio/db/lasergene.rb +209 -0
  86. data/lib/bio/db/litdb.rb +107 -0
  87. data/lib/bio/db/medline.rb +323 -0
  88. data/lib/bio/db/nbrf.rb +191 -0
  89. data/lib/bio/db/newick.rb +658 -0
  90. data/lib/bio/db/nexus.rb +1854 -0
  91. data/lib/bio/db/pdb.rb +29 -0
  92. data/lib/bio/db/pdb/atom.rb +77 -0
  93. data/lib/bio/db/pdb/chain.rb +210 -0
  94. data/lib/bio/db/pdb/chemicalcomponent.rb +224 -0
  95. data/lib/bio/db/pdb/model.rb +148 -0
  96. data/lib/bio/db/pdb/pdb.rb +1911 -0
  97. data/lib/bio/db/pdb/residue.rb +176 -0
  98. data/lib/bio/db/pdb/utils.rb +399 -0
  99. data/lib/bio/db/prosite.rb +597 -0
  100. data/lib/bio/db/rebase.rb +457 -0
  101. data/lib/bio/db/soft.rb +404 -0
  102. data/lib/bio/db/transfac.rb +375 -0
  103. data/lib/bio/feature.rb +226 -0
  104. data/lib/bio/io/das.rb +461 -0
  105. data/lib/bio/io/dbget.rb +194 -0
  106. data/lib/bio/io/ddbjxml.rb +581 -0
  107. data/lib/bio/io/ebisoap.rb +158 -0
  108. data/lib/bio/io/ensembl.rb +229 -0
  109. data/lib/bio/io/fastacmd.rb +163 -0
  110. data/lib/bio/io/fetch.rb +181 -0
  111. data/lib/bio/io/flatfile.rb +1309 -0
  112. data/lib/bio/io/flatfile/bdb.rb +253 -0
  113. data/lib/bio/io/flatfile/index.rb +1371 -0
  114. data/lib/bio/io/flatfile/indexer.rb +787 -0
  115. data/lib/bio/io/higet.rb +73 -0
  116. data/lib/bio/io/hinv.rb +442 -0
  117. data/lib/bio/io/keggapi.rb +805 -0
  118. data/lib/bio/io/ncbirest.rb +256 -0
  119. data/lib/bio/io/ncbisoap.rb +155 -0
  120. data/lib/bio/io/pubmed.rb +307 -0
  121. data/lib/bio/io/registry.rb +292 -0
  122. data/lib/bio/io/soapwsdl.rb +119 -0
  123. data/lib/bio/io/sql.rb +365 -0
  124. data/lib/bio/location.rb +772 -0
  125. data/lib/bio/map.rb +410 -0
  126. data/lib/bio/pathway.rb +854 -0
  127. data/lib/bio/reference.rb +623 -0
  128. data/lib/bio/sequence.rb +475 -0
  129. data/lib/bio/sequence/aa.rb +125 -0
  130. data/lib/bio/sequence/common.rb +333 -0
  131. data/lib/bio/sequence/compat.rb +123 -0
  132. data/lib/bio/sequence/format.rb +181 -0
  133. data/lib/bio/sequence/generic.rb +24 -0
  134. data/lib/bio/sequence/na.rb +491 -0
  135. data/lib/bio/shell.rb +44 -0
  136. data/lib/bio/shell/core.rb +578 -0
  137. data/lib/bio/shell/demo.rb +146 -0
  138. data/lib/bio/shell/interface.rb +218 -0
  139. data/lib/bio/shell/irb.rb +95 -0
  140. data/lib/bio/shell/object.rb +71 -0
  141. data/lib/bio/shell/plugin/blast.rb +42 -0
  142. data/lib/bio/shell/plugin/codon.rb +218 -0
  143. data/lib/bio/shell/plugin/das.rb +58 -0
  144. data/lib/bio/shell/plugin/emboss.rb +23 -0
  145. data/lib/bio/shell/plugin/entry.rb +105 -0
  146. data/lib/bio/shell/plugin/flatfile.rb +101 -0
  147. data/lib/bio/shell/plugin/keggapi.rb +181 -0
  148. data/lib/bio/shell/plugin/midi.rb +430 -0
  149. data/lib/bio/shell/plugin/obda.rb +45 -0
  150. data/lib/bio/shell/plugin/psort.rb +56 -0
  151. data/lib/bio/shell/plugin/seq.rb +247 -0
  152. data/lib/bio/shell/plugin/soap.rb +87 -0
  153. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/bioruby_generator.rb +29 -0
  154. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml +4 -0
  155. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml +27 -0
  156. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml +11 -0
  157. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml +4 -0
  158. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_variables.rhtml +7 -0
  159. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-bg.gif +0 -0
  160. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-gem.png +0 -0
  161. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-link.gif +0 -0
  162. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.css +368 -0
  163. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml +47 -0
  164. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_controller.rb +144 -0
  165. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_helper.rb +47 -0
  166. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml +8 -0
  167. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/history.rhtml +10 -0
  168. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/index.rhtml +26 -0
  169. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/spinner.gif +0 -0
  170. data/lib/bio/shell/script.rb +25 -0
  171. data/lib/bio/shell/setup.rb +109 -0
  172. data/lib/bio/shell/web.rb +102 -0
  173. data/lib/bio/tree.rb +850 -0
  174. data/lib/bio/util/color_scheme.rb +191 -0
  175. data/lib/bio/util/color_scheme/buried.rb +59 -0
  176. data/lib/bio/util/color_scheme/helix.rb +59 -0
  177. data/lib/bio/util/color_scheme/hydropathy.rb +64 -0
  178. data/lib/bio/util/color_scheme/nucleotide.rb +31 -0
  179. data/lib/bio/util/color_scheme/strand.rb +59 -0
  180. data/lib/bio/util/color_scheme/taylor.rb +50 -0
  181. data/lib/bio/util/color_scheme/turn.rb +59 -0
  182. data/lib/bio/util/color_scheme/zappo.rb +50 -0
  183. data/lib/bio/util/contingency_table.rb +370 -0
  184. data/lib/bio/util/restriction_enzyme.rb +228 -0
  185. data/lib/bio/util/restriction_enzyme/analysis.rb +249 -0
  186. data/lib/bio/util/restriction_enzyme/analysis_basic.rb +217 -0
  187. data/lib/bio/util/restriction_enzyme/cut_symbol.rb +107 -0
  188. data/lib/bio/util/restriction_enzyme/double_stranded.rb +321 -0
  189. data/lib/bio/util/restriction_enzyme/double_stranded/aligned_strands.rb +130 -0
  190. data/lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb +103 -0
  191. data/lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair_in_enzyme_notation.rb +38 -0
  192. data/lib/bio/util/restriction_enzyme/double_stranded/cut_locations.rb +76 -0
  193. data/lib/bio/util/restriction_enzyme/double_stranded/cut_locations_in_enzyme_notation.rb +107 -0
  194. data/lib/bio/util/restriction_enzyme/enzymes.yaml +7061 -0
  195. data/lib/bio/util/restriction_enzyme/range/cut_range.rb +24 -0
  196. data/lib/bio/util/restriction_enzyme/range/cut_ranges.rb +47 -0
  197. data/lib/bio/util/restriction_enzyme/range/horizontal_cut_range.rb +67 -0
  198. data/lib/bio/util/restriction_enzyme/range/sequence_range.rb +257 -0
  199. data/lib/bio/util/restriction_enzyme/range/sequence_range/calculated_cuts.rb +242 -0
  200. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb +51 -0
  201. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragments.rb +41 -0
  202. data/lib/bio/util/restriction_enzyme/range/vertical_cut_range.rb +77 -0
  203. data/lib/bio/util/restriction_enzyme/single_strand.rb +199 -0
  204. data/lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb +135 -0
  205. data/lib/bio/util/restriction_enzyme/single_strand_complement.rb +23 -0
  206. data/lib/bio/util/restriction_enzyme/string_formatting.rb +111 -0
  207. data/lib/bio/util/sirna.rb +288 -0
  208. data/sample/any2fasta.rb +59 -0
  209. data/sample/biofetch.rb +475 -0
  210. data/sample/color_scheme_na.rb +91 -0
  211. data/sample/dbget +37 -0
  212. data/sample/enzymes.rb +78 -0
  213. data/sample/fasta2tab.rb +99 -0
  214. data/sample/fastagrep.rb +72 -0
  215. data/sample/fastasort.rb +54 -0
  216. data/sample/fsplit.rb +51 -0
  217. data/sample/gb2fasta.rb +30 -0
  218. data/sample/gb2tab.rb +325 -0
  219. data/sample/gbtab2mysql.rb +161 -0
  220. data/sample/genes2nuc.rb +33 -0
  221. data/sample/genes2pep.rb +33 -0
  222. data/sample/genes2tab.rb +81 -0
  223. data/sample/genome2rb.rb +29 -0
  224. data/sample/genome2tab.rb +76 -0
  225. data/sample/goslim.rb +303 -0
  226. data/sample/gt2fasta.rb +47 -0
  227. data/sample/na2aa.rb +34 -0
  228. data/sample/pmfetch.rb +42 -0
  229. data/sample/pmsearch.rb +42 -0
  230. data/sample/psortplot_html.rb +214 -0
  231. data/sample/ssearch2tab.rb +96 -0
  232. data/sample/tdiary.rb +158 -0
  233. data/sample/tfastx2tab.rb +100 -0
  234. data/sample/vs-genes.rb +212 -0
  235. data/test/data/HMMER/hmmpfam.out +64 -0
  236. data/test/data/HMMER/hmmsearch.out +88 -0
  237. data/test/data/SOSUI/sample.report +11 -0
  238. data/test/data/TMHMM/sample.report +21 -0
  239. data/test/data/aaindex/DAYM780301 +30 -0
  240. data/test/data/aaindex/PRAM900102 +20 -0
  241. data/test/data/bl2seq/cd8a_cd8b_blastp.bl2seq +53 -0
  242. data/test/data/bl2seq/cd8a_p53_e-5blastp.bl2seq +37 -0
  243. data/test/data/blast/2.2.15.blastp.m7 +876 -0
  244. data/test/data/blast/b0002.faa +15 -0
  245. data/test/data/blast/b0002.faa.m0 +128 -0
  246. data/test/data/blast/b0002.faa.m7 +65 -0
  247. data/test/data/blast/b0002.faa.m8 +1 -0
  248. data/test/data/embl/AB090716.embl +65 -0
  249. data/test/data/embl/AB090716.embl.rel89 +63 -0
  250. data/test/data/fasta/example1.txt +75 -0
  251. data/test/data/fasta/example2.txt +21 -0
  252. data/test/data/genscan/sample.report +63 -0
  253. data/test/data/iprscan/merged.raw +32 -0
  254. data/test/data/iprscan/merged.txt +74 -0
  255. data/test/data/prosite/prosite.dat +2233 -0
  256. data/test/data/refseq/nm_126355.entret +64 -0
  257. data/test/data/soft/GDS100_partial.soft +92 -0
  258. data/test/data/soft/GSE3457_family_partial.soft +874 -0
  259. data/test/data/uniprot/p53_human.uniprot +1456 -0
  260. data/test/functional/bio/io/test_ensembl.rb +186 -0
  261. data/test/functional/bio/io/test_soapwsdl.rb +52 -0
  262. data/test/runner.rb +14 -0
  263. data/test/unit/bio/appl/bl2seq/test_report.rb +134 -0
  264. data/test/unit/bio/appl/blast/test_report.rb +417 -0
  265. data/test/unit/bio/appl/blast/test_xmlparser.rb +388 -0
  266. data/test/unit/bio/appl/genscan/test_report.rb +182 -0
  267. data/test/unit/bio/appl/hmmer/test_report.rb +342 -0
  268. data/test/unit/bio/appl/iprscan/test_report.rb +338 -0
  269. data/test/unit/bio/appl/mafft/test_report.rb +63 -0
  270. data/test/unit/bio/appl/sosui/test_report.rb +81 -0
  271. data/test/unit/bio/appl/targetp/test_report.rb +146 -0
  272. data/test/unit/bio/appl/test_blast.rb +163 -0
  273. data/test/unit/bio/appl/test_fasta.rb +130 -0
  274. data/test/unit/bio/appl/test_pts1.rb +140 -0
  275. data/test/unit/bio/appl/tmhmm/test_report.rb +126 -0
  276. data/test/unit/bio/data/test_aa.rb +90 -0
  277. data/test/unit/bio/data/test_codontable.rb +107 -0
  278. data/test/unit/bio/data/test_na.rb +80 -0
  279. data/test/unit/bio/db/embl/test_common.rb +117 -0
  280. data/test/unit/bio/db/embl/test_embl.rb +214 -0
  281. data/test/unit/bio/db/embl/test_embl_rel89.rb +219 -0
  282. data/test/unit/bio/db/embl/test_sptr.rb +1775 -0
  283. data/test/unit/bio/db/embl/test_uniprot.rb +31 -0
  284. data/test/unit/bio/db/kegg/test_genes.rb +45 -0
  285. data/test/unit/bio/db/pdb/test_pdb.rb +152 -0
  286. data/test/unit/bio/db/test_aaindex.rb +197 -0
  287. data/test/unit/bio/db/test_fasta.rb +250 -0
  288. data/test/unit/bio/db/test_gff.rb +127 -0
  289. data/test/unit/bio/db/test_lasergene.rb +95 -0
  290. data/test/unit/bio/db/test_newick.rb +293 -0
  291. data/test/unit/bio/db/test_nexus.rb +360 -0
  292. data/test/unit/bio/db/test_prosite.rb +1437 -0
  293. data/test/unit/bio/db/test_rebase.rb +101 -0
  294. data/test/unit/bio/db/test_soft.rb +138 -0
  295. data/test/unit/bio/io/test_ddbjxml.rb +75 -0
  296. data/test/unit/bio/io/test_ensembl.rb +109 -0
  297. data/test/unit/bio/io/test_fastacmd.rb +42 -0
  298. data/test/unit/bio/io/test_flatfile.rb +237 -0
  299. data/test/unit/bio/io/test_soapwsdl.rb +32 -0
  300. data/test/unit/bio/sequence/test_aa.rb +103 -0
  301. data/test/unit/bio/sequence/test_common.rb +174 -0
  302. data/test/unit/bio/sequence/test_compat.rb +69 -0
  303. data/test/unit/bio/sequence/test_na.rb +330 -0
  304. data/test/unit/bio/shell/plugin/test_seq.rb +185 -0
  305. data/test/unit/bio/test_alignment.rb +1025 -0
  306. data/test/unit/bio/test_command.rb +288 -0
  307. data/test/unit/bio/test_db.rb +96 -0
  308. data/test/unit/bio/test_feature.rb +116 -0
  309. data/test/unit/bio/test_location.rb +39 -0
  310. data/test/unit/bio/test_map.rb +230 -0
  311. data/test/unit/bio/test_pathway.rb +473 -0
  312. data/test/unit/bio/test_reference.rb +224 -0
  313. data/test/unit/bio/test_sequence.rb +329 -0
  314. data/test/unit/bio/test_shell.rb +18 -0
  315. data/test/unit/bio/test_tree.rb +593 -0
  316. data/test/unit/bio/util/restriction_enzyme/analysis/test_calculated_cuts.rb +299 -0
  317. data/test/unit/bio/util/restriction_enzyme/analysis/test_cut_ranges.rb +103 -0
  318. data/test/unit/bio/util/restriction_enzyme/analysis/test_sequence_range.rb +240 -0
  319. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_aligned_strands.rb +101 -0
  320. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair.rb +75 -0
  321. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair_in_enzyme_notation.rb +73 -0
  322. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations.rb +53 -0
  323. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations_in_enzyme_notation.rb +104 -0
  324. data/test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb +83 -0
  325. data/test/unit/bio/util/restriction_enzyme/test_analysis.rb +246 -0
  326. data/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb +44 -0
  327. data/test/unit/bio/util/restriction_enzyme/test_double_stranded.rb +115 -0
  328. data/test/unit/bio/util/restriction_enzyme/test_single_strand.rb +147 -0
  329. data/test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb +147 -0
  330. data/test/unit/bio/util/restriction_enzyme/test_string_formatting.rb +60 -0
  331. data/test/unit/bio/util/test_color_scheme.rb +33 -0
  332. data/test/unit/bio/util/test_contingency_table.rb +94 -0
  333. data/test/unit/bio/util/test_restriction_enzyme.rb +42 -0
  334. data/test/unit/bio/util/test_sirna.rb +245 -0
  335. metadata +479 -0
@@ -0,0 +1,42 @@
1
+ #
2
+ # = bio/db/embl/swissprot.rb - SwissProt database class
3
+ #
4
+ # Copyright:: Copyright (C) 2001, 2002 Toshiaki Katayama <k@bioruby.org>
5
+ # License:: The Ruby License
6
+ #
7
+ # $Id: swissprot.rb,v 1.7 2007/04/05 23:35:40 trevor Exp $
8
+ #
9
+
10
+ require 'bio/db/embl/sptr'
11
+
12
+ module Bio
13
+
14
+ # == Description
15
+ #
16
+ # Parser class for SwissProt database entry. See also Bio::SPTR class.
17
+ # This class holds name space for SwissProt specific methods.
18
+ #
19
+ # SwissProt (before UniProtKB/SwissProt) specific methods are defined in
20
+ # this class. Shared methods for UniProtKB/SwissProt and TrEMBL classes
21
+ # are defined in Bio::SPTR class.
22
+ #
23
+ # == Examples
24
+ #
25
+ # str = File.read("p53_human.swiss")
26
+ # obj = Bio::SwissProt.new(str)
27
+ # obj.entry_id #=> "P53_HUMAN"
28
+ #
29
+ # == Referencees
30
+ #
31
+ # * Swiss-Prot Protein knowledgebase
32
+ # http://au.expasy.org/sprot/
33
+ #
34
+ # * Swiss-Prot Protein Knowledgebase User Manual
35
+ # http://au.expasy.org/sprot/userman.html
36
+ #
37
+ class SwissProt < SPTR
38
+ # Nothing to do (SwissProt format is abstracted in SPTR)
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,41 @@
1
+ #
2
+ # = bio/db/embl/trembl.rb - TrEMBL database class
3
+ #
4
+ # Copyright:: Copyright (C) 2001, 2002 Toshiaki Katayama <k@bioruby.org>
5
+ # License:: The Ruby License
6
+ #
7
+ # $Id: trembl.rb,v 1.7 2007/04/05 23:35:40 trevor Exp $
8
+ #
9
+
10
+ require 'bio/db/embl/sptr'
11
+
12
+ module Bio
13
+
14
+ # == Description
15
+ #
16
+ # Parser class for TrEMBL database entry. See also Bio::SPTR class.
17
+ # This class holds name space for TrEMBL specific methods.
18
+ #
19
+ # UniProtKB/SwissProt specific methods are defined in this class.
20
+ # Shared methods for UniProtKB/SwissProt and TrEMBL classes are
21
+ # defined in Bio::SPTR class.
22
+ #
23
+ # == Examples
24
+ #
25
+ # str = File.read("Q2UNG2_ASPOR.trembl")
26
+ # obj = Bio::TrEMBL.new(str)
27
+ # obj.entry_id #=> "Q2UNG2_ASPOR"
28
+ #
29
+ # == Referencees
30
+ #
31
+ # * TrEMBL Computer-annotated supplement to Swiss-Prot
32
+ # http://au.expasy.org/sprot/
33
+ #
34
+ # * TrEMBL Computer-annotated supplement to Swiss-Prot User Manual
35
+ # http://au.expasy.org/sprot/userman.html
36
+ #
37
+ class TrEMBL < SPTR
38
+ # Nothing to do (TrEMBL format is abstracted in SPTR)
39
+ end
40
+
41
+ end
@@ -0,0 +1,42 @@
1
+ #
2
+ # = bio/db/embl/uniprot.rb - UniProt database class
3
+ #
4
+ # Copyright:: Copyright (C) 2005 Toshiaki Katayama <k@bioruby.org>
5
+ # License:: The Ruby License
6
+ #
7
+ # $Id: uniprot.rb,v 1.5 2007/04/05 23:35:40 trevor Exp $
8
+ #
9
+
10
+ require 'bio/db/embl/sptr'
11
+
12
+ module Bio
13
+
14
+ # == Description
15
+ #
16
+ # Parser class for SwissProt database entry.# See also Bio::SPTR class.
17
+ # This class holds name space for UniProtKB/SwissProt specific methods.
18
+ #
19
+ # UniProtKB/SwissProt specific methods are defined in this class.
20
+ # Shared methods for UniProtKB/SwissProt and TrEMBL classes are
21
+ # defined in Bio::SPTR class.
22
+ #
23
+ # == Examples
24
+ #
25
+ # str = File.read("p53_human.swiss")
26
+ # obj = Bio::UniProt.new(str)
27
+ # obj.entry_id #=> "P53_HUMAN"
28
+ #
29
+ # == Referencees
30
+ #
31
+ # * UniProt
32
+ # http://uniprot.org/
33
+ #
34
+ # * The UniProtKB/SwissProt/TrEMBL User Manual
35
+ # http://www.expasy.org/sprot/userman.html
36
+ #
37
+ class UniProt < SPTR
38
+ # Nothing to do (UniProt format is abstracted in SPTR)
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,599 @@
1
+ #
2
+ # bio/db/fantom.rb - RIKEN FANTOM2 database classes
3
+ #
4
+ # Copyright:: Copyright (C) 2003 GOTO Naohisa <ng@bioruby.org>
5
+ # License:: The Ruby License
6
+ #
7
+ # $Id: fantom.rb,v 1.14 2007/04/05 23:35:40 trevor Exp $
8
+ #
9
+
10
+ begin
11
+ require 'rexml/document'
12
+ rescue LoadError
13
+ end
14
+ require 'uri'
15
+ require 'net/http'
16
+
17
+ require 'bio/db'
18
+ require 'bio/command'
19
+ #require 'bio/sequence'
20
+
21
+ module Bio
22
+
23
+ module FANTOM
24
+
25
+ def query(idstr, http_proxy = nil)
26
+ xml = get_by_id(idstr, http_proxy)
27
+ seqs = MaXML::Sequences.new(xml.to_s)
28
+ seqs[0]
29
+ end
30
+ module_function :query
31
+
32
+ def get_by_id(idstr, http_proxy = nil)
33
+ addr = 'fantom.gsc.riken.go.jp'
34
+ port = 80
35
+ path = "/db/maxml/maxmlseq.cgi?masterid=#{URI.escape(idstr.to_s)}&style=xml"
36
+ xml = ''
37
+ if http_proxy then
38
+ proxy = URI.parse(http_proxy.to_s)
39
+ Net::HTTP.start(addr, port, proxy.host, proxy.port) do |http|
40
+ response, = http.get(path)
41
+ xml = response.body
42
+ end
43
+ else
44
+ Bio::Command.start_http(addr, port) do |http|
45
+ response, = http.get(path)
46
+ xml = response.body
47
+ end
48
+ end
49
+ xml
50
+ end
51
+ module_function :get_by_id
52
+
53
+
54
+ class MaXML < DB
55
+ # DTD of MaXML(Mouse annotation XML)
56
+ # http://fantom.gsc.riken.go.jp/maxml/maxml.dtd
57
+
58
+ DELIMITER = RS = "\n--EOF--\n"
59
+ # This class is for {allseq|repseq|allclust}.sep.xml,
60
+ # not for {allseq|repseq|allclust}.xml.
61
+
62
+ Data_XPath = ''
63
+
64
+ def initialize(x)
65
+ if x.is_a?(REXML::Element) then
66
+ @elem = x
67
+ else
68
+ if x.is_a?(String) then
69
+ x = x.sub(/#{Regexp.escape(DELIMITER)}\z/om, "\n")
70
+ end
71
+ doc = REXML::Document.new(x)
72
+ @elem = doc.elements[self.class::Data_XPath]
73
+ #raise 'element is null' unless @elem
74
+ @elem = REXML::Document.new('') unless @elem
75
+ end
76
+ end
77
+ attr_reader :elem
78
+
79
+ def to_s
80
+ @elem.to_s
81
+ end
82
+
83
+ def gsub_entities(str)
84
+ # workaround for bug?
85
+ if str then
86
+ str.gsub(/\&\#(\d{1,3})\;/) { sprintf("%c", $1.to_i) }
87
+ else
88
+ str
89
+ end
90
+ end
91
+
92
+ def entry_id
93
+ unless defined?(@entry_id)
94
+ @entry_id = @elem.attributes['id']
95
+ end
96
+ @entry_id
97
+ end
98
+ def self.define_element_text_method(array)
99
+ array.each do |tagstr|
100
+ module_eval("
101
+ def #{tagstr}
102
+ unless defined?(@#{tagstr})
103
+ @#{tagstr} = gsub_entities(@elem.text('#{tagstr}'))
104
+ end
105
+ @#{tagstr}
106
+ end
107
+ ")
108
+ end
109
+ end
110
+ private_class_method :define_element_text_method
111
+
112
+ class Cluster < MaXML
113
+ # (MaXML cluster)
114
+ # ftp://fantom2.gsc.riken.go.jp/fantom/2.1/allclust.sep.xml.gz
115
+
116
+ Data_XPath = 'maxml-clusters/cluster'
117
+
118
+ def representative_seqid
119
+ unless defined?(@representative_seqid)
120
+ @representative_seqid =
121
+ gsub_entities(@elem.text('representative-seqid'))
122
+ end
123
+ @representative_seqid
124
+ end
125
+
126
+ def sequences
127
+ unless defined?(@sequences)
128
+ @sequences = MaXML::Sequences.new(@elem)
129
+ end
130
+ @sequences
131
+ end
132
+
133
+ def sequence(idstr = nil)
134
+ idstr ? sequences[idstr] : representative_sequence
135
+ end
136
+
137
+ def representative_sequence
138
+ unless defined?(@representative_sequence)
139
+ rid = representative_seqid
140
+ @representative_sequence =
141
+ rid ? sequences[representative_seqid] : nil
142
+ end
143
+ @representative_sequence
144
+ end
145
+ alias representative_clone representative_sequence
146
+
147
+ def representative_annotations
148
+ e = representative_sequence
149
+ e ? e.annotations : nil
150
+ end
151
+
152
+ def representative_cloneid
153
+ e = representative_sequence
154
+ e ? e.cloneid : nil
155
+ end
156
+
157
+ define_element_text_method(%w(fantomid))
158
+ end #class MaXML::Cluster
159
+
160
+ class Sequences < MaXML
161
+ Data_XPath = 'maxml-sequences'
162
+
163
+ include Enumerable
164
+ def each
165
+ to_a.each { |x| yield x }
166
+ end
167
+
168
+ def to_a
169
+ unless defined?(@sequences)
170
+ @sequences = @elem.get_elements('sequence')
171
+ @sequences.collect! { |e| MaXML::Sequence.new(e) }
172
+ end
173
+ @sequences
174
+ end
175
+
176
+ def get(idstr)
177
+ unless defined?(@hash)
178
+ @hash = {}
179
+ end
180
+ unless @hash.member?(idstr) then
181
+ @hash[idstr] = self.find do |x|
182
+ x.altid.values.index(idstr)
183
+ end
184
+ end
185
+ @hash[idstr]
186
+ end
187
+
188
+ def [](*arg)
189
+ if arg[0].is_a?(String) and arg.size == 1 then
190
+ get(arg[0])
191
+ else
192
+ to_a[*arg]
193
+ end
194
+ end
195
+
196
+ def cloneids
197
+ unless defined?(@cloneids)
198
+ @cloneids = to_a.collect { |x| x.cloneid }
199
+ end
200
+ @cloneids
201
+ end
202
+
203
+ def id_strings
204
+ unless defined?(@id_strings)
205
+ @id_strings = to_a.collect { |x| x.id_strings }
206
+ @id_strings.flatten!
207
+ @id_strings.sort!
208
+ @id_strings.uniq!
209
+ end
210
+ @id_strings
211
+ end
212
+ end #class MaXML::Sequences
213
+
214
+ class Sequence < MaXML
215
+ # (MaXML sequence)
216
+ # ftp://fantom2.gsc.riken.go.jp/fantom/2.1/allseq.sep.xml.gz
217
+ # ftp://fantom2.gsc.riken.go.jp/fantom/2.1/repseq.sep.xml.gz
218
+
219
+ Data_XPath = 'maxml-sequences/sequence'
220
+
221
+ def altid(t = nil)
222
+ unless defined?(@altid)
223
+ @altid = {}
224
+ @elem.each_element('altid') do |e|
225
+ @altid[e.attributes['type']] = gsub_entities(e.text)
226
+ end
227
+ end
228
+ if t then
229
+ @altid[t]
230
+ else
231
+ @altid
232
+ end
233
+ end
234
+
235
+ def id_strings
236
+ altid.values.sort.uniq
237
+ end
238
+
239
+ def library_id
240
+ entry_id[0,2]
241
+ end
242
+
243
+ def annotations
244
+ unless defined?(@annotations)
245
+ @annotations =
246
+ MaXML::Annotations.new(@elem.elements['annotations'])
247
+ end
248
+ @annotations
249
+ end
250
+
251
+ define_element_text_method(%w(annotator version modified_time comment))
252
+
253
+ def self.define_id_method(array)
254
+ array.each do |tagstr|
255
+ module_eval("
256
+ def #{tagstr}
257
+ unless defined?(@#{tagstr})
258
+ @#{tagstr} = gsub_entities(@elem.text('#{tagstr}'))
259
+ @#{tagstr} = altid('#{tagstr}') unless @#{tagstr}
260
+ end
261
+ @#{tagstr}
262
+ end
263
+ ")
264
+ end
265
+ end
266
+ private_class_method :define_id_method
267
+
268
+ define_id_method(%w(seqid fantomid cloneid rearrayid accession))
269
+ end #class MaXML::Sequence
270
+
271
+ class Annotations < MaXML
272
+ Data_XPath = nil
273
+
274
+ include Enumerable
275
+ def each
276
+ to_a.each { |x| yield x }
277
+ end
278
+
279
+ def to_a
280
+ unless defined?(@a)
281
+ @a = @elem.get_elements('annotation')
282
+ @a.collect! { |e| MaXML::Annotation.new(e) }
283
+ end
284
+ @a
285
+ end
286
+
287
+ def get_all_by_qualifier(qstr)
288
+ unless defined?(@hash)
289
+ @hash = {}
290
+ end
291
+ unless @hash.member?(qstr) then
292
+ @hash[qstr] = self.find_all do |x|
293
+ x.qualifier == qstr
294
+ end
295
+ end
296
+ @hash[qstr]
297
+ end
298
+
299
+ def get_by_qualifier(qstr)
300
+ a = get_all_by_qualifier(qstr)
301
+ a ? a[0] : nil
302
+ end
303
+
304
+ def [](*arg)
305
+ if arg[0].is_a?(String) and arg.size == 1 then
306
+ get_by_qualifier(arg[0])
307
+ else
308
+ to_a[*arg]
309
+ end
310
+ end
311
+
312
+ def cds_start
313
+ unless defined?(@cds_start)
314
+ e = get_by_qualifier('cds_start')
315
+ @cds_start = e ? e.anntext.to_i : nil
316
+ end
317
+ @cds_start
318
+ end
319
+
320
+ def cds_stop
321
+ unless defined?(@cds_stop)
322
+ e = get_by_qualifier('cds_stop')
323
+ @cds_stop = e ? e.anntext.to_i : nil
324
+ end
325
+ @cds_stop
326
+ end
327
+
328
+ def gene_name
329
+ unless defined?(@gene_name)
330
+ e = get_by_qualifier('gene_name')
331
+ @gene_name = e ? e.anntext : nil
332
+ end
333
+ @gene_name
334
+ end
335
+
336
+ def data_source
337
+ unless defined?(@data_source)
338
+ e = get_by_qualifier('gene_name')
339
+ @data_source = e ? e.datasrc[0] : nil
340
+ end
341
+ @data_source
342
+ end
343
+
344
+ def evidence
345
+ unless defined?(@evidence)
346
+ e = get_by_qualifier('gene_name')
347
+ @evidence = e ? e.evidence : nil
348
+ end
349
+ @evidence
350
+ end
351
+ end #class MaXML::Annotations
352
+
353
+ class Annotation < MaXML
354
+ def entry_id
355
+ nil
356
+ end
357
+
358
+ class DataSrc < String
359
+ def initialize(text, href)
360
+ super(text)
361
+ @href = href
362
+ end
363
+ attr_reader :href
364
+ end
365
+
366
+ def datasrc
367
+ unless defined?(@datasrc)
368
+ @datasrc = []
369
+ @elem.each_element('datasrc') do |e|
370
+ text = e.text
371
+ href = e.attributes['href']
372
+ @datasrc << DataSrc.new(gsub_entities(text), gsub_entities(href))
373
+ end
374
+ end
375
+ @datasrc
376
+ end
377
+
378
+ define_element_text_method(%w(qualifier srckey anntext evidence))
379
+ end #class MaXML::Annotation
380
+
381
+ end #class MaXML
382
+
383
+ end #module FANTOM
384
+
385
+ end #module Bio
386
+
387
+ =begin
388
+
389
+ Bio::FANTOM are database classes (and modules) treating RIKEN FANTOM2 data.
390
+ FANTOM2 is available at ((<URL:http://fantom2.gsc.riken.go.jp/>)).
391
+
392
+ = Bio::FANTOM
393
+
394
+ This module contains useful methods to access databases.
395
+
396
+ --- Bio::FANTOM.query(idstr, http_proxy=nil)
397
+
398
+ Get MaXML sequence data corresponding to given ID through the internet
399
+ from ((<URL:http://fantom.gsc.riken.go.jp/db/maxml/)).
400
+ Returns Bio::FANTOM::MaXML::Sequence object.
401
+
402
+ --- Bio::FANTOM.get_by_id(idstr, http_proxy=nil)
403
+
404
+ Same as FANTOM.query, but returns XML document as a string.
405
+ (Reference: bio/io/registry.rb)
406
+
407
+
408
+ = Bio::FANTOM::MaXML::Cluster
409
+
410
+ This class is for 'allclust.sep.xml' found at
411
+ ((<URL:ftp://fantom2.gsc.riken.go.jp/fantom/2.1/allclust.sep.xml.gz>)).
412
+ Not that this class is not suitable for 'allclust.xml'.
413
+
414
+ --- Bio::FANTOM::MaXML::Cluster.new(str)
415
+
416
+ --- Bio::FANTOM::MaXML::Cluster#entry_id
417
+
418
+ --- Bio::FANTOM::MaXML::Cluster#fantomid
419
+
420
+ --- Bio::FANTOM::MaXML::Cluster#representative_seqid
421
+
422
+ --- Bio::FANTOM::MaXML::Cluster#sequences
423
+
424
+ Lists sequences in this cluster.
425
+ Returns Bio::FANTOM::MaXML::Sequences object.
426
+
427
+ --- Bio::FANTOM::MaXML::Cluster#sequence(id_str)
428
+
429
+ Shows a sequence information of given id.
430
+ Returns Bio::FANTOM::MaXML::Sequence object or nil.
431
+
432
+ --- Bio::FANTOM::MaXML::Cluster#representataive_sequence
433
+ --- Bio::FANTOM::MaXML::Cluster#representataive_clone
434
+
435
+ Shows a sequence of repesentative_seqid.
436
+ Returns Bio::FANTOM::MaXML::Sequence object (or nil).
437
+
438
+ -- Bio::FANTOM::MaXML::Cluster#representative_annotations
439
+
440
+ Shows annotations of repesentative sequence.
441
+ Returns Bio::FANTOM::MaXML::Annotations object (or nil).
442
+
443
+ -- Bio::FANTOM::MaXML::Cluster#representative_cloneid
444
+
445
+ Shows cloneid of repesentative sequence.
446
+ Returns String (or nil).
447
+
448
+
449
+ = Bio::FANTOM::MaXML::Sequences
450
+
451
+ The instances of this class are automatically created
452
+ by Bio::FANTOM::MaXML::Cluster class.
453
+
454
+ This class can also be used for 'allseq.sep.xml' and 'repseq.sep.xml',
455
+ but you'd better using Bio::FANTOM::MaXML::Sequence class.
456
+
457
+ In addition, this class can be used for 'allseq.xml' and 'repseq.xml',
458
+ but you'd better not to use them, becase of the speed is very slow.
459
+
460
+ --- Bio::FANTOM::MaXML::Sequences#to_a
461
+
462
+ Returns an Array of Bio::FANTOM::MaXML::Sequence objects.
463
+
464
+ --- Bio::FANTOM::MaXML::Sequences#each
465
+
466
+ --- Bio::FANTOM::MaXML::Sequences#[](x)
467
+
468
+ Same as to_a[x] when x is a integer.
469
+ Same as get[x] when x is a string.
470
+
471
+ --- Bio::FANTOM::MaXML::Sequences#get(id_str)
472
+
473
+ Shows a sequence information of given id.
474
+ Returns Bio::FANTOM::MaXML::Sequence object or nil.
475
+
476
+ --- Bio::FANTOM::MaXML::Sequences#cloneids
477
+
478
+ Shows clone ID list.
479
+ Returns an array of strings.
480
+
481
+ --- Bio::FANTOM::MaXML::Sequences#id_strings
482
+
483
+ Shows ID list.
484
+ Returns an array of strings.
485
+
486
+
487
+ = Bio::FANTOM::MaXML::Sequence
488
+
489
+ This class is for 'allseq.sep.xml' and 'repseq.sep.xml' found at
490
+ ((<URL:ftp://fantom2.gsc.riken.go.jp/fantom/2.1/allseq.sep.xml.gz>)) and
491
+ ((<URL:ftp://fantom2.gsc.riken.go.jp/fantom/2.1/repseq.sep.xml.gz>)).
492
+ Not that this class is not suitable for 'allseq.xml' and 'repseq.xml'.
493
+
494
+ In addition, the instances of this class are automatically created
495
+ by Bio::FANTOM::MaXML::Sequences class.
496
+
497
+ --- Bio::FANTOM::MaXML::Sequence.new(str)
498
+
499
+ --- Bio::FANTOM::MaXML::Sequence#entry_id
500
+
501
+ --- Bio::FANTOM::MaXML::Sequence#altid(type_str = nil)
502
+
503
+ Returns hash of altid if no arguments are given.
504
+ Returns ID as a string if a type of ID (string) is given.
505
+
506
+ --- Bio::FANTOM::MaXML::Sequence#annotations
507
+
508
+ Gets lists of annotation data.
509
+ Returns a Bio::FANTOM::MaXML::Annotations object.
510
+
511
+ --- Bio::FANTOM::MaXML::Sequence#id_strings
512
+
513
+ Gets lists of ID. (same as altid.values)
514
+ Returns an array of strings.
515
+
516
+ --- Bio::FANTOM::MaXML::Sequence#library_id
517
+
518
+ Shows library ID. (same as cloneid[0,2])
519
+ Library IDs are listed at:
520
+ ((<URL:http://fantom2.gsc.riken.go.jp/fantom2/SI/sup01_est_3r_libraryinfo.pdf))
521
+ ((<URL:http://fantom2.gsc.riken.go.jp/fantom2/SI/sup01_est_5f_libraryinfo.pdf))
522
+
523
+ --- Bio::FANTOM::MaXML::Sequence#seqid
524
+
525
+ --- Bio::FANTOM::MaXML::Sequence#fantomid
526
+
527
+ --- Bio::FANTOM::MaXML::Sequence#cloneid
528
+
529
+ --- Bio::FANTOM::MaXML::Sequence#rearrayid
530
+
531
+ --- Bio::FANTOM::MaXML::Sequence#accession
532
+
533
+ --- Bio::FANTOM::MaXML::Sequence#annotator
534
+
535
+ --- Bio::FANTOM::MaXML::Sequence#version
536
+
537
+ --- Bio::FANTOM::MaXML::Sequence#modified_time
538
+
539
+ --- Bio::FANTOM::MaXML::Sequence#comment
540
+
541
+
542
+ = Bio::FANTOM::MaXML::Annotations
543
+
544
+ The instances of this class are automatically created
545
+ by Bio::FANTOM::MaXML::Sequence class.
546
+
547
+ --- Bio::FANTOM::MaXML::Annotations#to_a
548
+
549
+ Returns an Array of Bio::FANTOM::MaXML::Annotations objects.
550
+
551
+ --- Bio::FANTOM::MaXML::Annotations#each
552
+
553
+ --- Bio::FANTOM::MaXML::Annotations#get_all_by_qualifier(qstr)
554
+
555
+ --- Bio::FANTOM::MaXML::Annotations#get_by_qualifier(qstr)
556
+
557
+ --- Bio::FANTOM::MaXML::Annotations#[](x)
558
+
559
+ Same as to_a[x] when x is a integer.
560
+ Same as get_by_qualifier[x] when x is a string.
561
+
562
+ --- Bio::FANTOM::MaXML::Annotations#cds_start
563
+ --- Bio::FANTOM::MaXML::Annotations#cds_stop
564
+ --- Bio::FANTOM::MaXML::Annotations#gene_name
565
+ --- Bio::FANTOM::MaXML::Annotations#data_source
566
+ --- Bio::FANTOM::MaXML::Annotations#evidence
567
+
568
+
569
+ = Bio::FANTOM::MaXML::Annotation
570
+
571
+ The instances of this class are automatically created
572
+ by Bio::FANTOM::MaXML::Annotations class.
573
+
574
+ --- Bio::FANTOM::MaXML::Annotation#datasrc
575
+
576
+ Returns an Array of Bio::FANTOM::MaXML::Annotation::DataSrc objects.
577
+
578
+ --- Bio::FANTOM::MaXML::Annotation#qualifier
579
+
580
+ --- Bio::FANTOM::MaXML::Annotation#srckey
581
+
582
+ --- Bio::FANTOM::MaXML::Annotation#anntext
583
+
584
+ --- Bio::FANTOM::MaXML::Annotation#evidence
585
+
586
+ = Bio::FANTOM::MaXML::Annotation::DataSrc < String
587
+
588
+ The instances of this class are automatically created
589
+ by Bio::FANTOM::MaXML::Annotation class.
590
+
591
+ ---- Bio::FANTOM::MaXML::Annotation::DataSrc#href
592
+
593
+ Shows a link URL to database web page as an String.
594
+
595
+ = References
596
+
597
+ * ((<URL:http://fantom2.gsc.riken.go.jp/>))
598
+
599
+ =end