ngoto-bio 1.2.9.9001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (424) hide show
  1. data/ChangeLog +2046 -0
  2. data/README.rdoc +223 -0
  3. data/README_DEV.rdoc +285 -0
  4. data/Rakefile +70 -0
  5. data/bin/bioruby +44 -0
  6. data/bin/br_biofetch.rb +47 -0
  7. data/bin/br_bioflat.rb +293 -0
  8. data/bin/br_biogetseq.rb +45 -0
  9. data/bin/br_pmfetch.rb +421 -0
  10. data/bioruby.gemspec +463 -0
  11. data/bioruby.gemspec.erb +79 -0
  12. data/doc/Changes-0.7.rd +369 -0
  13. data/doc/Changes-1.3.rdoc +195 -0
  14. data/doc/KEGG_API.rd +1843 -0
  15. data/doc/KEGG_API.rd.ja +1834 -0
  16. data/doc/Tutorial.rd +1296 -0
  17. data/doc/Tutorial.rd.ja +2640 -0
  18. data/etc/bioinformatics/seqdatabase.ini +210 -0
  19. data/extconf.rb +2 -0
  20. data/lib/bio/alignment.rb +2518 -0
  21. data/lib/bio/appl/bl2seq/report.rb +334 -0
  22. data/lib/bio/appl/blast/ddbj.rb +142 -0
  23. data/lib/bio/appl/blast/format0.rb +1438 -0
  24. data/lib/bio/appl/blast/format8.rb +83 -0
  25. data/lib/bio/appl/blast/genomenet.rb +263 -0
  26. data/lib/bio/appl/blast/ncbioptions.rb +220 -0
  27. data/lib/bio/appl/blast/remote.rb +105 -0
  28. data/lib/bio/appl/blast/report.rb +767 -0
  29. data/lib/bio/appl/blast/rexml.rb +144 -0
  30. data/lib/bio/appl/blast/rpsblast.rb +277 -0
  31. data/lib/bio/appl/blast/wublast.rb +671 -0
  32. data/lib/bio/appl/blast/xmlparser.rb +236 -0
  33. data/lib/bio/appl/blast.rb +505 -0
  34. data/lib/bio/appl/blat/report.rb +530 -0
  35. data/lib/bio/appl/clustalw/report.rb +152 -0
  36. data/lib/bio/appl/clustalw.rb +219 -0
  37. data/lib/bio/appl/emboss.rb +203 -0
  38. data/lib/bio/appl/fasta/format10.rb +325 -0
  39. data/lib/bio/appl/fasta.rb +235 -0
  40. data/lib/bio/appl/gcg/msf.rb +212 -0
  41. data/lib/bio/appl/gcg/seq.rb +195 -0
  42. data/lib/bio/appl/genscan/report.rb +552 -0
  43. data/lib/bio/appl/hmmer/report.rb +683 -0
  44. data/lib/bio/appl/hmmer.rb +126 -0
  45. data/lib/bio/appl/iprscan/report.rb +374 -0
  46. data/lib/bio/appl/mafft/report.rb +226 -0
  47. data/lib/bio/appl/mafft.rb +259 -0
  48. data/lib/bio/appl/muscle.rb +52 -0
  49. data/lib/bio/appl/paml/baseml/report.rb +32 -0
  50. data/lib/bio/appl/paml/baseml.rb +95 -0
  51. data/lib/bio/appl/paml/codeml/rates.rb +67 -0
  52. data/lib/bio/appl/paml/codeml/report.rb +67 -0
  53. data/lib/bio/appl/paml/codeml.rb +242 -0
  54. data/lib/bio/appl/paml/common.rb +348 -0
  55. data/lib/bio/appl/paml/common_report.rb +38 -0
  56. data/lib/bio/appl/paml/yn00/report.rb +32 -0
  57. data/lib/bio/appl/paml/yn00.rb +103 -0
  58. data/lib/bio/appl/phylip/alignment.rb +129 -0
  59. data/lib/bio/appl/phylip/distance_matrix.rb +96 -0
  60. data/lib/bio/appl/probcons.rb +41 -0
  61. data/lib/bio/appl/psort/report.rb +457 -0
  62. data/lib/bio/appl/psort.rb +548 -0
  63. data/lib/bio/appl/pts1.rb +263 -0
  64. data/lib/bio/appl/sim4/report.rb +485 -0
  65. data/lib/bio/appl/sim4.rb +124 -0
  66. data/lib/bio/appl/sosui/report.rb +151 -0
  67. data/lib/bio/appl/spidey/report.rb +593 -0
  68. data/lib/bio/appl/targetp/report.rb +267 -0
  69. data/lib/bio/appl/tcoffee.rb +55 -0
  70. data/lib/bio/appl/tmhmm/report.rb +231 -0
  71. data/lib/bio/command.rb +593 -0
  72. data/lib/bio/compat/features.rb +157 -0
  73. data/lib/bio/compat/references.rb +128 -0
  74. data/lib/bio/data/aa.rb +349 -0
  75. data/lib/bio/data/codontable.rb +722 -0
  76. data/lib/bio/data/na.rb +223 -0
  77. data/lib/bio/db/aaindex.rb +357 -0
  78. data/lib/bio/db/biosql/biosql_to_biosequence.rb +67 -0
  79. data/lib/bio/db/biosql/sequence.rb +508 -0
  80. data/lib/bio/db/embl/common.rb +352 -0
  81. data/lib/bio/db/embl/embl.rb +500 -0
  82. data/lib/bio/db/embl/embl_to_biosequence.rb +85 -0
  83. data/lib/bio/db/embl/format_embl.rb +190 -0
  84. data/lib/bio/db/embl/sptr.rb +1283 -0
  85. data/lib/bio/db/embl/swissprot.rb +42 -0
  86. data/lib/bio/db/embl/trembl.rb +41 -0
  87. data/lib/bio/db/embl/uniprot.rb +42 -0
  88. data/lib/bio/db/fantom.rb +597 -0
  89. data/lib/bio/db/fasta/defline.rb +532 -0
  90. data/lib/bio/db/fasta/fasta_to_biosequence.rb +63 -0
  91. data/lib/bio/db/fasta/format_fasta.rb +97 -0
  92. data/lib/bio/db/fasta.rb +410 -0
  93. data/lib/bio/db/genbank/common.rb +307 -0
  94. data/lib/bio/db/genbank/ddbj.rb +22 -0
  95. data/lib/bio/db/genbank/format_genbank.rb +187 -0
  96. data/lib/bio/db/genbank/genbank.rb +250 -0
  97. data/lib/bio/db/genbank/genbank_to_biosequence.rb +86 -0
  98. data/lib/bio/db/genbank/genpept.rb +60 -0
  99. data/lib/bio/db/genbank/refseq.rb +18 -0
  100. data/lib/bio/db/gff.rb +1846 -0
  101. data/lib/bio/db/go.rb +481 -0
  102. data/lib/bio/db/kegg/brite.rb +41 -0
  103. data/lib/bio/db/kegg/compound.rb +131 -0
  104. data/lib/bio/db/kegg/drug.rb +98 -0
  105. data/lib/bio/db/kegg/enzyme.rb +148 -0
  106. data/lib/bio/db/kegg/expression.rb +155 -0
  107. data/lib/bio/db/kegg/genes.rb +263 -0
  108. data/lib/bio/db/kegg/genome.rb +241 -0
  109. data/lib/bio/db/kegg/glycan.rb +166 -0
  110. data/lib/bio/db/kegg/keggtab.rb +357 -0
  111. data/lib/bio/db/kegg/kgml.rb +256 -0
  112. data/lib/bio/db/kegg/orthology.rb +136 -0
  113. data/lib/bio/db/kegg/reaction.rb +82 -0
  114. data/lib/bio/db/kegg/taxonomy.rb +331 -0
  115. data/lib/bio/db/lasergene.rb +209 -0
  116. data/lib/bio/db/litdb.rb +107 -0
  117. data/lib/bio/db/medline.rb +326 -0
  118. data/lib/bio/db/nbrf.rb +191 -0
  119. data/lib/bio/db/newick.rb +658 -0
  120. data/lib/bio/db/nexus.rb +1854 -0
  121. data/lib/bio/db/pdb/atom.rb +77 -0
  122. data/lib/bio/db/pdb/chain.rb +210 -0
  123. data/lib/bio/db/pdb/chemicalcomponent.rb +224 -0
  124. data/lib/bio/db/pdb/model.rb +148 -0
  125. data/lib/bio/db/pdb/pdb.rb +1911 -0
  126. data/lib/bio/db/pdb/residue.rb +176 -0
  127. data/lib/bio/db/pdb/utils.rb +399 -0
  128. data/lib/bio/db/pdb.rb +29 -0
  129. data/lib/bio/db/prosite.rb +597 -0
  130. data/lib/bio/db/rebase.rb +456 -0
  131. data/lib/bio/db/soft.rb +404 -0
  132. data/lib/bio/db/transfac.rb +375 -0
  133. data/lib/bio/db.rb +329 -0
  134. data/lib/bio/feature.rb +139 -0
  135. data/lib/bio/io/biosql/biodatabase.rb +64 -0
  136. data/lib/bio/io/biosql/bioentry.rb +29 -0
  137. data/lib/bio/io/biosql/bioentry_dbxref.rb +11 -0
  138. data/lib/bio/io/biosql/bioentry_path.rb +12 -0
  139. data/lib/bio/io/biosql/bioentry_qualifier_value.rb +10 -0
  140. data/lib/bio/io/biosql/bioentry_reference.rb +10 -0
  141. data/lib/bio/io/biosql/bioentry_relationship.rb +10 -0
  142. data/lib/bio/io/biosql/biosequence.rb +11 -0
  143. data/lib/bio/io/biosql/comment.rb +7 -0
  144. data/lib/bio/io/biosql/config/database.yml +20 -0
  145. data/lib/bio/io/biosql/dbxref.rb +13 -0
  146. data/lib/bio/io/biosql/dbxref_qualifier_value.rb +12 -0
  147. data/lib/bio/io/biosql/location.rb +32 -0
  148. data/lib/bio/io/biosql/location_qualifier_value.rb +11 -0
  149. data/lib/bio/io/biosql/ontology.rb +10 -0
  150. data/lib/bio/io/biosql/reference.rb +9 -0
  151. data/lib/bio/io/biosql/seqfeature.rb +32 -0
  152. data/lib/bio/io/biosql/seqfeature_dbxref.rb +11 -0
  153. data/lib/bio/io/biosql/seqfeature_path.rb +11 -0
  154. data/lib/bio/io/biosql/seqfeature_qualifier_value.rb +20 -0
  155. data/lib/bio/io/biosql/seqfeature_relationship.rb +11 -0
  156. data/lib/bio/io/biosql/taxon.rb +12 -0
  157. data/lib/bio/io/biosql/taxon_name.rb +9 -0
  158. data/lib/bio/io/biosql/term.rb +27 -0
  159. data/lib/bio/io/biosql/term_dbxref.rb +11 -0
  160. data/lib/bio/io/biosql/term_path.rb +12 -0
  161. data/lib/bio/io/biosql/term_relationship.rb +13 -0
  162. data/lib/bio/io/biosql/term_relationship_term.rb +11 -0
  163. data/lib/bio/io/biosql/term_synonym.rb +10 -0
  164. data/lib/bio/io/das.rb +461 -0
  165. data/lib/bio/io/dbget.rb +194 -0
  166. data/lib/bio/io/ddbjxml.rb +638 -0
  167. data/lib/bio/io/ebisoap.rb +158 -0
  168. data/lib/bio/io/ensembl.rb +229 -0
  169. data/lib/bio/io/fastacmd.rb +163 -0
  170. data/lib/bio/io/fetch.rb +195 -0
  171. data/lib/bio/io/flatfile/autodetection.rb +545 -0
  172. data/lib/bio/io/flatfile/bdb.rb +253 -0
  173. data/lib/bio/io/flatfile/buffer.rb +237 -0
  174. data/lib/bio/io/flatfile/index.rb +1381 -0
  175. data/lib/bio/io/flatfile/indexer.rb +805 -0
  176. data/lib/bio/io/flatfile/splitter.rb +297 -0
  177. data/lib/bio/io/flatfile.rb +473 -0
  178. data/lib/bio/io/higet.rb +73 -0
  179. data/lib/bio/io/hinv.rb +442 -0
  180. data/lib/bio/io/keggapi.rb +805 -0
  181. data/lib/bio/io/ncbirest.rb +733 -0
  182. data/lib/bio/io/ncbisoap.rb +155 -0
  183. data/lib/bio/io/pubmed.rb +307 -0
  184. data/lib/bio/io/registry.rb +292 -0
  185. data/lib/bio/io/soapwsdl.rb +119 -0
  186. data/lib/bio/io/sql.rb +186 -0
  187. data/lib/bio/location.rb +867 -0
  188. data/lib/bio/map.rb +410 -0
  189. data/lib/bio/pathway.rb +960 -0
  190. data/lib/bio/reference.rb +602 -0
  191. data/lib/bio/sequence/aa.rb +125 -0
  192. data/lib/bio/sequence/adapter.rb +108 -0
  193. data/lib/bio/sequence/common.rb +310 -0
  194. data/lib/bio/sequence/compat.rb +123 -0
  195. data/lib/bio/sequence/dblink.rb +54 -0
  196. data/lib/bio/sequence/format.rb +358 -0
  197. data/lib/bio/sequence/format_raw.rb +23 -0
  198. data/lib/bio/sequence/generic.rb +24 -0
  199. data/lib/bio/sequence/na.rb +491 -0
  200. data/lib/bio/sequence.rb +456 -0
  201. data/lib/bio/shell/core.rb +578 -0
  202. data/lib/bio/shell/demo.rb +146 -0
  203. data/lib/bio/shell/interface.rb +218 -0
  204. data/lib/bio/shell/irb.rb +95 -0
  205. data/lib/bio/shell/object.rb +71 -0
  206. data/lib/bio/shell/plugin/blast.rb +42 -0
  207. data/lib/bio/shell/plugin/codon.rb +218 -0
  208. data/lib/bio/shell/plugin/das.rb +58 -0
  209. data/lib/bio/shell/plugin/emboss.rb +23 -0
  210. data/lib/bio/shell/plugin/entry.rb +105 -0
  211. data/lib/bio/shell/plugin/flatfile.rb +101 -0
  212. data/lib/bio/shell/plugin/keggapi.rb +181 -0
  213. data/lib/bio/shell/plugin/midi.rb +430 -0
  214. data/lib/bio/shell/plugin/obda.rb +45 -0
  215. data/lib/bio/shell/plugin/psort.rb +56 -0
  216. data/lib/bio/shell/plugin/seq.rb +247 -0
  217. data/lib/bio/shell/plugin/soap.rb +87 -0
  218. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/bioruby_generator.rb +29 -0
  219. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml +4 -0
  220. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml +27 -0
  221. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml +11 -0
  222. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml +4 -0
  223. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_variables.rhtml +7 -0
  224. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-bg.gif +0 -0
  225. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-gem.png +0 -0
  226. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-link.gif +0 -0
  227. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.css +368 -0
  228. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml +47 -0
  229. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_controller.rb +144 -0
  230. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_helper.rb +47 -0
  231. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml +8 -0
  232. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/history.rhtml +10 -0
  233. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/index.rhtml +26 -0
  234. data/lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/spinner.gif +0 -0
  235. data/lib/bio/shell/script.rb +25 -0
  236. data/lib/bio/shell/setup.rb +109 -0
  237. data/lib/bio/shell/web.rb +102 -0
  238. data/lib/bio/shell.rb +44 -0
  239. data/lib/bio/tree.rb +852 -0
  240. data/lib/bio/util/color_scheme/buried.rb +59 -0
  241. data/lib/bio/util/color_scheme/helix.rb +59 -0
  242. data/lib/bio/util/color_scheme/hydropathy.rb +64 -0
  243. data/lib/bio/util/color_scheme/nucleotide.rb +31 -0
  244. data/lib/bio/util/color_scheme/strand.rb +59 -0
  245. data/lib/bio/util/color_scheme/taylor.rb +50 -0
  246. data/lib/bio/util/color_scheme/turn.rb +59 -0
  247. data/lib/bio/util/color_scheme/zappo.rb +50 -0
  248. data/lib/bio/util/color_scheme.rb +191 -0
  249. data/lib/bio/util/contingency_table.rb +370 -0
  250. data/lib/bio/util/restriction_enzyme/analysis.rb +249 -0
  251. data/lib/bio/util/restriction_enzyme/analysis_basic.rb +217 -0
  252. data/lib/bio/util/restriction_enzyme/cut_symbol.rb +107 -0
  253. data/lib/bio/util/restriction_enzyme/double_stranded/aligned_strands.rb +130 -0
  254. data/lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb +103 -0
  255. data/lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair_in_enzyme_notation.rb +38 -0
  256. data/lib/bio/util/restriction_enzyme/double_stranded/cut_locations.rb +76 -0
  257. data/lib/bio/util/restriction_enzyme/double_stranded/cut_locations_in_enzyme_notation.rb +107 -0
  258. data/lib/bio/util/restriction_enzyme/double_stranded.rb +321 -0
  259. data/lib/bio/util/restriction_enzyme/enzymes.yaml +7061 -0
  260. data/lib/bio/util/restriction_enzyme/range/cut_range.rb +24 -0
  261. data/lib/bio/util/restriction_enzyme/range/cut_ranges.rb +47 -0
  262. data/lib/bio/util/restriction_enzyme/range/horizontal_cut_range.rb +67 -0
  263. data/lib/bio/util/restriction_enzyme/range/sequence_range/calculated_cuts.rb +242 -0
  264. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb +51 -0
  265. data/lib/bio/util/restriction_enzyme/range/sequence_range/fragments.rb +41 -0
  266. data/lib/bio/util/restriction_enzyme/range/sequence_range.rb +257 -0
  267. data/lib/bio/util/restriction_enzyme/range/vertical_cut_range.rb +77 -0
  268. data/lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb +135 -0
  269. data/lib/bio/util/restriction_enzyme/single_strand.rb +200 -0
  270. data/lib/bio/util/restriction_enzyme/single_strand_complement.rb +23 -0
  271. data/lib/bio/util/restriction_enzyme/string_formatting.rb +111 -0
  272. data/lib/bio/util/restriction_enzyme.rb +228 -0
  273. data/lib/bio/util/sirna.rb +288 -0
  274. data/lib/bio.rb +300 -0
  275. data/rdoc.zsh +8 -0
  276. data/sample/any2fasta.rb +59 -0
  277. data/sample/biofetch.rb +475 -0
  278. data/sample/color_scheme_na.rb +91 -0
  279. data/sample/dbget +37 -0
  280. data/sample/demo_sequence.rb +158 -0
  281. data/sample/enzymes.rb +78 -0
  282. data/sample/fasta2tab.rb +99 -0
  283. data/sample/fastagrep.rb +72 -0
  284. data/sample/fastasort.rb +54 -0
  285. data/sample/fsplit.rb +51 -0
  286. data/sample/gb2fasta.rb +30 -0
  287. data/sample/gb2tab.rb +325 -0
  288. data/sample/gbtab2mysql.rb +161 -0
  289. data/sample/genes2nuc.rb +33 -0
  290. data/sample/genes2pep.rb +33 -0
  291. data/sample/genes2tab.rb +81 -0
  292. data/sample/genome2rb.rb +29 -0
  293. data/sample/genome2tab.rb +76 -0
  294. data/sample/goslim.rb +303 -0
  295. data/sample/gt2fasta.rb +47 -0
  296. data/sample/na2aa.rb +34 -0
  297. data/sample/pmfetch.rb +42 -0
  298. data/sample/pmsearch.rb +42 -0
  299. data/sample/psortplot_html.rb +214 -0
  300. data/sample/ssearch2tab.rb +96 -0
  301. data/sample/tdiary.rb +158 -0
  302. data/sample/tfastx2tab.rb +100 -0
  303. data/sample/vs-genes.rb +212 -0
  304. data/setup.rb +1596 -0
  305. data/test/data/HMMER/hmmpfam.out +64 -0
  306. data/test/data/HMMER/hmmsearch.out +88 -0
  307. data/test/data/SOSUI/sample.report +11 -0
  308. data/test/data/TMHMM/sample.report +21 -0
  309. data/test/data/aaindex/DAYM780301 +30 -0
  310. data/test/data/aaindex/PRAM900102 +20 -0
  311. data/test/data/bl2seq/cd8a_cd8b_blastp.bl2seq +53 -0
  312. data/test/data/bl2seq/cd8a_p53_e-5blastp.bl2seq +37 -0
  313. data/test/data/blast/2.2.15.blastp.m7 +876 -0
  314. data/test/data/blast/b0002.faa +15 -0
  315. data/test/data/blast/b0002.faa.m0 +128 -0
  316. data/test/data/blast/b0002.faa.m7 +65 -0
  317. data/test/data/blast/b0002.faa.m8 +1 -0
  318. data/test/data/blast/blastp-multi.m7 +188 -0
  319. data/test/data/command/echoarg2.bat +1 -0
  320. data/test/data/embl/AB090716.embl +65 -0
  321. data/test/data/embl/AB090716.embl.rel89 +63 -0
  322. data/test/data/fasta/example1.txt +75 -0
  323. data/test/data/fasta/example2.txt +21 -0
  324. data/test/data/genscan/sample.report +63 -0
  325. data/test/data/iprscan/merged.raw +32 -0
  326. data/test/data/iprscan/merged.txt +74 -0
  327. data/test/data/paml/codeml/control_file.txt +30 -0
  328. data/test/data/paml/codeml/output.txt +78 -0
  329. data/test/data/paml/codeml/rates +217 -0
  330. data/test/data/prosite/prosite.dat +2233 -0
  331. data/test/data/refseq/nm_126355.entret +64 -0
  332. data/test/data/rpsblast/misc.rpsblast +193 -0
  333. data/test/data/soft/GDS100_partial.soft +92 -0
  334. data/test/data/soft/GSE3457_family_partial.soft +874 -0
  335. data/test/data/uniprot/p53_human.uniprot +1456 -0
  336. data/test/functional/bio/appl/test_pts1.rb +115 -0
  337. data/test/functional/bio/io/test_ensembl.rb +229 -0
  338. data/test/functional/bio/io/test_soapwsdl.rb +52 -0
  339. data/test/functional/bio/sequence/test_output_embl.rb +51 -0
  340. data/test/functional/bio/test_command.rb +301 -0
  341. data/test/runner.rb +23 -0
  342. data/test/unit/bio/appl/bl2seq/test_report.rb +134 -0
  343. data/test/unit/bio/appl/blast/test_ncbioptions.rb +112 -0
  344. data/test/unit/bio/appl/blast/test_report.rb +1135 -0
  345. data/test/unit/bio/appl/blast/test_rpsblast.rb +398 -0
  346. data/test/unit/bio/appl/genscan/test_report.rb +182 -0
  347. data/test/unit/bio/appl/hmmer/test_report.rb +342 -0
  348. data/test/unit/bio/appl/iprscan/test_report.rb +338 -0
  349. data/test/unit/bio/appl/mafft/test_report.rb +63 -0
  350. data/test/unit/bio/appl/paml/codeml/test_rates.rb +45 -0
  351. data/test/unit/bio/appl/paml/codeml/test_report.rb +45 -0
  352. data/test/unit/bio/appl/paml/test_codeml.rb +174 -0
  353. data/test/unit/bio/appl/sosui/test_report.rb +81 -0
  354. data/test/unit/bio/appl/targetp/test_report.rb +146 -0
  355. data/test/unit/bio/appl/test_blast.rb +277 -0
  356. data/test/unit/bio/appl/test_fasta.rb +130 -0
  357. data/test/unit/bio/appl/test_pts1.rb +77 -0
  358. data/test/unit/bio/appl/tmhmm/test_report.rb +126 -0
  359. data/test/unit/bio/data/test_aa.rb +90 -0
  360. data/test/unit/bio/data/test_codontable.rb +107 -0
  361. data/test/unit/bio/data/test_na.rb +80 -0
  362. data/test/unit/bio/db/embl/test_common.rb +117 -0
  363. data/test/unit/bio/db/embl/test_embl.rb +214 -0
  364. data/test/unit/bio/db/embl/test_embl_rel89.rb +219 -0
  365. data/test/unit/bio/db/embl/test_embl_to_bioseq.rb +203 -0
  366. data/test/unit/bio/db/embl/test_sptr.rb +1812 -0
  367. data/test/unit/bio/db/embl/test_uniprot.rb +31 -0
  368. data/test/unit/bio/db/kegg/test_genes.rb +45 -0
  369. data/test/unit/bio/db/pdb/test_pdb.rb +152 -0
  370. data/test/unit/bio/db/test_aaindex.rb +197 -0
  371. data/test/unit/bio/db/test_fasta.rb +250 -0
  372. data/test/unit/bio/db/test_gff.rb +1190 -0
  373. data/test/unit/bio/db/test_lasergene.rb +95 -0
  374. data/test/unit/bio/db/test_medline.rb +127 -0
  375. data/test/unit/bio/db/test_newick.rb +293 -0
  376. data/test/unit/bio/db/test_nexus.rb +364 -0
  377. data/test/unit/bio/db/test_prosite.rb +1437 -0
  378. data/test/unit/bio/db/test_rebase.rb +101 -0
  379. data/test/unit/bio/db/test_soft.rb +138 -0
  380. data/test/unit/bio/io/flatfile/test_autodetection.rb +375 -0
  381. data/test/unit/bio/io/flatfile/test_buffer.rb +251 -0
  382. data/test/unit/bio/io/flatfile/test_splitter.rb +369 -0
  383. data/test/unit/bio/io/test_ddbjxml.rb +80 -0
  384. data/test/unit/bio/io/test_ensembl.rb +109 -0
  385. data/test/unit/bio/io/test_fastacmd.rb +42 -0
  386. data/test/unit/bio/io/test_flatfile.rb +488 -0
  387. data/test/unit/bio/io/test_soapwsdl.rb +32 -0
  388. data/test/unit/bio/sequence/test_aa.rb +103 -0
  389. data/test/unit/bio/sequence/test_common.rb +373 -0
  390. data/test/unit/bio/sequence/test_compat.rb +69 -0
  391. data/test/unit/bio/sequence/test_dblink.rb +58 -0
  392. data/test/unit/bio/sequence/test_na.rb +330 -0
  393. data/test/unit/bio/shell/plugin/test_seq.rb +185 -0
  394. data/test/unit/bio/test_alignment.rb +1025 -0
  395. data/test/unit/bio/test_command.rb +349 -0
  396. data/test/unit/bio/test_db.rb +96 -0
  397. data/test/unit/bio/test_feature.rb +144 -0
  398. data/test/unit/bio/test_location.rb +599 -0
  399. data/test/unit/bio/test_map.rb +230 -0
  400. data/test/unit/bio/test_pathway.rb +499 -0
  401. data/test/unit/bio/test_reference.rb +252 -0
  402. data/test/unit/bio/test_sequence.rb +329 -0
  403. data/test/unit/bio/test_shell.rb +18 -0
  404. data/test/unit/bio/test_tree.rb +593 -0
  405. data/test/unit/bio/util/restriction_enzyme/analysis/test_calculated_cuts.rb +299 -0
  406. data/test/unit/bio/util/restriction_enzyme/analysis/test_cut_ranges.rb +103 -0
  407. data/test/unit/bio/util/restriction_enzyme/analysis/test_sequence_range.rb +240 -0
  408. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_aligned_strands.rb +101 -0
  409. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair.rb +75 -0
  410. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair_in_enzyme_notation.rb +73 -0
  411. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations.rb +53 -0
  412. data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations_in_enzyme_notation.rb +104 -0
  413. data/test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb +83 -0
  414. data/test/unit/bio/util/restriction_enzyme/test_analysis.rb +246 -0
  415. data/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb +44 -0
  416. data/test/unit/bio/util/restriction_enzyme/test_double_stranded.rb +115 -0
  417. data/test/unit/bio/util/restriction_enzyme/test_single_strand.rb +147 -0
  418. data/test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb +147 -0
  419. data/test/unit/bio/util/restriction_enzyme/test_string_formatting.rb +60 -0
  420. data/test/unit/bio/util/test_color_scheme.rb +33 -0
  421. data/test/unit/bio/util/test_contingency_table.rb +94 -0
  422. data/test/unit/bio/util/test_restriction_enzyme.rb +42 -0
  423. data/test/unit/bio/util/test_sirna.rb +245 -0
  424. metadata +484 -0
data/bioruby.gemspec ADDED
@@ -0,0 +1,463 @@
1
+ # This file is automatically generated from bioruby.gemspec.erb and
2
+ # should NOT be edited by hand.
3
+ #
4
+ Gem::Specification.new do |s|
5
+ s.name = 'bio'
6
+ s.version = "1.2.9.9001"
7
+
8
+ s.author = "BioRuby project"
9
+ s.email = "staff@bioruby.org"
10
+ s.homepage = "http://bioruby.org/"
11
+ s.rubyforge_project = "bioruby"
12
+ s.summary = "Bioinformatics library"
13
+ s.description = "BioRuby is a library for bioinformatics (biology + information science)."
14
+
15
+ s.platform = Gem::Platform::RUBY
16
+ s.files = [
17
+ "ChangeLog",
18
+ "README.rdoc",
19
+ "README_DEV.rdoc",
20
+ "Rakefile",
21
+ "bin/bioruby",
22
+ "bin/br_biofetch.rb",
23
+ "bin/br_bioflat.rb",
24
+ "bin/br_biogetseq.rb",
25
+ "bin/br_pmfetch.rb",
26
+ "bioruby.gemspec",
27
+ "bioruby.gemspec.erb",
28
+ "doc/Changes-0.7.rd",
29
+ "doc/Changes-1.3.rdoc",
30
+ "doc/KEGG_API.rd",
31
+ "doc/KEGG_API.rd.ja",
32
+ "doc/Tutorial.rd",
33
+ "doc/Tutorial.rd.ja",
34
+ "etc/bioinformatics/seqdatabase.ini",
35
+ "extconf.rb",
36
+ "lib/bio.rb",
37
+ "lib/bio/alignment.rb",
38
+ "lib/bio/appl/bl2seq/report.rb",
39
+ "lib/bio/appl/blast.rb",
40
+ "lib/bio/appl/blast/ddbj.rb",
41
+ "lib/bio/appl/blast/format0.rb",
42
+ "lib/bio/appl/blast/format8.rb",
43
+ "lib/bio/appl/blast/genomenet.rb",
44
+ "lib/bio/appl/blast/ncbioptions.rb",
45
+ "lib/bio/appl/blast/remote.rb",
46
+ "lib/bio/appl/blast/report.rb",
47
+ "lib/bio/appl/blast/rexml.rb",
48
+ "lib/bio/appl/blast/rpsblast.rb",
49
+ "lib/bio/appl/blast/wublast.rb",
50
+ "lib/bio/appl/blast/xmlparser.rb",
51
+ "lib/bio/appl/blat/report.rb",
52
+ "lib/bio/appl/clustalw.rb",
53
+ "lib/bio/appl/clustalw/report.rb",
54
+ "lib/bio/appl/emboss.rb",
55
+ "lib/bio/appl/fasta.rb",
56
+ "lib/bio/appl/fasta/format10.rb",
57
+ "lib/bio/appl/gcg/msf.rb",
58
+ "lib/bio/appl/gcg/seq.rb",
59
+ "lib/bio/appl/genscan/report.rb",
60
+ "lib/bio/appl/hmmer.rb",
61
+ "lib/bio/appl/hmmer/report.rb",
62
+ "lib/bio/appl/iprscan/report.rb",
63
+ "lib/bio/appl/mafft.rb",
64
+ "lib/bio/appl/mafft/report.rb",
65
+ "lib/bio/appl/muscle.rb",
66
+ "lib/bio/appl/paml/baseml.rb",
67
+ "lib/bio/appl/paml/baseml/report.rb",
68
+ "lib/bio/appl/paml/codeml.rb",
69
+ "lib/bio/appl/paml/codeml/rates.rb",
70
+ "lib/bio/appl/paml/codeml/report.rb",
71
+ "lib/bio/appl/paml/common.rb",
72
+ "lib/bio/appl/paml/common_report.rb",
73
+ "lib/bio/appl/paml/yn00.rb",
74
+ "lib/bio/appl/paml/yn00/report.rb",
75
+ "lib/bio/appl/phylip/alignment.rb",
76
+ "lib/bio/appl/phylip/distance_matrix.rb",
77
+ "lib/bio/appl/probcons.rb",
78
+ "lib/bio/appl/psort.rb",
79
+ "lib/bio/appl/psort/report.rb",
80
+ "lib/bio/appl/pts1.rb",
81
+ "lib/bio/appl/sim4.rb",
82
+ "lib/bio/appl/sim4/report.rb",
83
+ "lib/bio/appl/sosui/report.rb",
84
+ "lib/bio/appl/spidey/report.rb",
85
+ "lib/bio/appl/targetp/report.rb",
86
+ "lib/bio/appl/tcoffee.rb",
87
+ "lib/bio/appl/tmhmm/report.rb",
88
+ "lib/bio/command.rb",
89
+ "lib/bio/compat/features.rb",
90
+ "lib/bio/compat/references.rb",
91
+ "lib/bio/data/aa.rb",
92
+ "lib/bio/data/codontable.rb",
93
+ "lib/bio/data/na.rb",
94
+ "lib/bio/db.rb",
95
+ "lib/bio/db/aaindex.rb",
96
+ "lib/bio/db/biosql/biosql_to_biosequence.rb",
97
+ "lib/bio/db/biosql/sequence.rb",
98
+ "lib/bio/db/embl/common.rb",
99
+ "lib/bio/db/embl/embl.rb",
100
+ "lib/bio/db/embl/embl_to_biosequence.rb",
101
+ "lib/bio/db/embl/format_embl.rb",
102
+ "lib/bio/db/embl/sptr.rb",
103
+ "lib/bio/db/embl/swissprot.rb",
104
+ "lib/bio/db/embl/trembl.rb",
105
+ "lib/bio/db/embl/uniprot.rb",
106
+ "lib/bio/db/fantom.rb",
107
+ "lib/bio/db/fasta.rb",
108
+ "lib/bio/db/fasta/defline.rb",
109
+ "lib/bio/db/fasta/fasta_to_biosequence.rb",
110
+ "lib/bio/db/fasta/format_fasta.rb",
111
+ "lib/bio/db/genbank/common.rb",
112
+ "lib/bio/db/genbank/ddbj.rb",
113
+ "lib/bio/db/genbank/format_genbank.rb",
114
+ "lib/bio/db/genbank/genbank.rb",
115
+ "lib/bio/db/genbank/genbank_to_biosequence.rb",
116
+ "lib/bio/db/genbank/genpept.rb",
117
+ "lib/bio/db/genbank/refseq.rb",
118
+ "lib/bio/db/gff.rb",
119
+ "lib/bio/db/go.rb",
120
+ "lib/bio/db/kegg/brite.rb",
121
+ "lib/bio/db/kegg/compound.rb",
122
+ "lib/bio/db/kegg/drug.rb",
123
+ "lib/bio/db/kegg/enzyme.rb",
124
+ "lib/bio/db/kegg/expression.rb",
125
+ "lib/bio/db/kegg/genes.rb",
126
+ "lib/bio/db/kegg/genome.rb",
127
+ "lib/bio/db/kegg/glycan.rb",
128
+ "lib/bio/db/kegg/keggtab.rb",
129
+ "lib/bio/db/kegg/kgml.rb",
130
+ "lib/bio/db/kegg/orthology.rb",
131
+ "lib/bio/db/kegg/reaction.rb",
132
+ "lib/bio/db/kegg/taxonomy.rb",
133
+ "lib/bio/db/lasergene.rb",
134
+ "lib/bio/db/litdb.rb",
135
+ "lib/bio/db/medline.rb",
136
+ "lib/bio/db/nbrf.rb",
137
+ "lib/bio/db/newick.rb",
138
+ "lib/bio/db/nexus.rb",
139
+ "lib/bio/db/pdb.rb",
140
+ "lib/bio/db/pdb/atom.rb",
141
+ "lib/bio/db/pdb/chain.rb",
142
+ "lib/bio/db/pdb/chemicalcomponent.rb",
143
+ "lib/bio/db/pdb/model.rb",
144
+ "lib/bio/db/pdb/pdb.rb",
145
+ "lib/bio/db/pdb/residue.rb",
146
+ "lib/bio/db/pdb/utils.rb",
147
+ "lib/bio/db/prosite.rb",
148
+ "lib/bio/db/rebase.rb",
149
+ "lib/bio/db/soft.rb",
150
+ "lib/bio/db/transfac.rb",
151
+ "lib/bio/feature.rb",
152
+ "lib/bio/io/biosql/biodatabase.rb",
153
+ "lib/bio/io/biosql/bioentry.rb",
154
+ "lib/bio/io/biosql/bioentry_dbxref.rb",
155
+ "lib/bio/io/biosql/bioentry_path.rb",
156
+ "lib/bio/io/biosql/bioentry_qualifier_value.rb",
157
+ "lib/bio/io/biosql/bioentry_reference.rb",
158
+ "lib/bio/io/biosql/bioentry_relationship.rb",
159
+ "lib/bio/io/biosql/biosequence.rb",
160
+ "lib/bio/io/biosql/comment.rb",
161
+ "lib/bio/io/biosql/config/database.yml",
162
+ "lib/bio/io/biosql/dbxref.rb",
163
+ "lib/bio/io/biosql/dbxref_qualifier_value.rb",
164
+ "lib/bio/io/biosql/location.rb",
165
+ "lib/bio/io/biosql/location_qualifier_value.rb",
166
+ "lib/bio/io/biosql/ontology.rb",
167
+ "lib/bio/io/biosql/reference.rb",
168
+ "lib/bio/io/biosql/seqfeature.rb",
169
+ "lib/bio/io/biosql/seqfeature_dbxref.rb",
170
+ "lib/bio/io/biosql/seqfeature_path.rb",
171
+ "lib/bio/io/biosql/seqfeature_qualifier_value.rb",
172
+ "lib/bio/io/biosql/seqfeature_relationship.rb",
173
+ "lib/bio/io/biosql/taxon.rb",
174
+ "lib/bio/io/biosql/taxon_name.rb",
175
+ "lib/bio/io/biosql/term.rb",
176
+ "lib/bio/io/biosql/term_dbxref.rb",
177
+ "lib/bio/io/biosql/term_path.rb",
178
+ "lib/bio/io/biosql/term_relationship.rb",
179
+ "lib/bio/io/biosql/term_relationship_term.rb",
180
+ "lib/bio/io/biosql/term_synonym.rb",
181
+ "lib/bio/io/das.rb",
182
+ "lib/bio/io/dbget.rb",
183
+ "lib/bio/io/ddbjxml.rb",
184
+ "lib/bio/io/ebisoap.rb",
185
+ "lib/bio/io/ensembl.rb",
186
+ "lib/bio/io/fastacmd.rb",
187
+ "lib/bio/io/fetch.rb",
188
+ "lib/bio/io/flatfile.rb",
189
+ "lib/bio/io/flatfile/autodetection.rb",
190
+ "lib/bio/io/flatfile/bdb.rb",
191
+ "lib/bio/io/flatfile/buffer.rb",
192
+ "lib/bio/io/flatfile/index.rb",
193
+ "lib/bio/io/flatfile/indexer.rb",
194
+ "lib/bio/io/flatfile/splitter.rb",
195
+ "lib/bio/io/higet.rb",
196
+ "lib/bio/io/hinv.rb",
197
+ "lib/bio/io/keggapi.rb",
198
+ "lib/bio/io/ncbirest.rb",
199
+ "lib/bio/io/ncbisoap.rb",
200
+ "lib/bio/io/pubmed.rb",
201
+ "lib/bio/io/registry.rb",
202
+ "lib/bio/io/soapwsdl.rb",
203
+ "lib/bio/io/sql.rb",
204
+ "lib/bio/location.rb",
205
+ "lib/bio/map.rb",
206
+ "lib/bio/pathway.rb",
207
+ "lib/bio/reference.rb",
208
+ "lib/bio/sequence.rb",
209
+ "lib/bio/sequence/aa.rb",
210
+ "lib/bio/sequence/adapter.rb",
211
+ "lib/bio/sequence/common.rb",
212
+ "lib/bio/sequence/compat.rb",
213
+ "lib/bio/sequence/dblink.rb",
214
+ "lib/bio/sequence/format.rb",
215
+ "lib/bio/sequence/format_raw.rb",
216
+ "lib/bio/sequence/generic.rb",
217
+ "lib/bio/sequence/na.rb",
218
+ "lib/bio/shell.rb",
219
+ "lib/bio/shell/core.rb",
220
+ "lib/bio/shell/demo.rb",
221
+ "lib/bio/shell/interface.rb",
222
+ "lib/bio/shell/irb.rb",
223
+ "lib/bio/shell/object.rb",
224
+ "lib/bio/shell/plugin/blast.rb",
225
+ "lib/bio/shell/plugin/codon.rb",
226
+ "lib/bio/shell/plugin/das.rb",
227
+ "lib/bio/shell/plugin/emboss.rb",
228
+ "lib/bio/shell/plugin/entry.rb",
229
+ "lib/bio/shell/plugin/flatfile.rb",
230
+ "lib/bio/shell/plugin/keggapi.rb",
231
+ "lib/bio/shell/plugin/midi.rb",
232
+ "lib/bio/shell/plugin/obda.rb",
233
+ "lib/bio/shell/plugin/psort.rb",
234
+ "lib/bio/shell/plugin/seq.rb",
235
+ "lib/bio/shell/plugin/soap.rb",
236
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/bioruby_generator.rb",
237
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml",
238
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml",
239
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml",
240
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml",
241
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_variables.rhtml",
242
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-bg.gif",
243
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-gem.png",
244
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-link.gif",
245
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.css",
246
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml",
247
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_controller.rb",
248
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_helper.rb",
249
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml",
250
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/history.rhtml",
251
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/index.rhtml",
252
+ "lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/spinner.gif",
253
+ "lib/bio/shell/script.rb",
254
+ "lib/bio/shell/setup.rb",
255
+ "lib/bio/shell/web.rb",
256
+ "lib/bio/tree.rb",
257
+ "lib/bio/util/color_scheme.rb",
258
+ "lib/bio/util/color_scheme/buried.rb",
259
+ "lib/bio/util/color_scheme/helix.rb",
260
+ "lib/bio/util/color_scheme/hydropathy.rb",
261
+ "lib/bio/util/color_scheme/nucleotide.rb",
262
+ "lib/bio/util/color_scheme/strand.rb",
263
+ "lib/bio/util/color_scheme/taylor.rb",
264
+ "lib/bio/util/color_scheme/turn.rb",
265
+ "lib/bio/util/color_scheme/zappo.rb",
266
+ "lib/bio/util/contingency_table.rb",
267
+ "lib/bio/util/restriction_enzyme.rb",
268
+ "lib/bio/util/restriction_enzyme/analysis.rb",
269
+ "lib/bio/util/restriction_enzyme/analysis_basic.rb",
270
+ "lib/bio/util/restriction_enzyme/cut_symbol.rb",
271
+ "lib/bio/util/restriction_enzyme/double_stranded.rb",
272
+ "lib/bio/util/restriction_enzyme/double_stranded/aligned_strands.rb",
273
+ "lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb",
274
+ "lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair_in_enzyme_notation.rb",
275
+ "lib/bio/util/restriction_enzyme/double_stranded/cut_locations.rb",
276
+ "lib/bio/util/restriction_enzyme/double_stranded/cut_locations_in_enzyme_notation.rb",
277
+ "lib/bio/util/restriction_enzyme/enzymes.yaml",
278
+ "lib/bio/util/restriction_enzyme/range/cut_range.rb",
279
+ "lib/bio/util/restriction_enzyme/range/cut_ranges.rb",
280
+ "lib/bio/util/restriction_enzyme/range/horizontal_cut_range.rb",
281
+ "lib/bio/util/restriction_enzyme/range/sequence_range.rb",
282
+ "lib/bio/util/restriction_enzyme/range/sequence_range/calculated_cuts.rb",
283
+ "lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb",
284
+ "lib/bio/util/restriction_enzyme/range/sequence_range/fragments.rb",
285
+ "lib/bio/util/restriction_enzyme/range/vertical_cut_range.rb",
286
+ "lib/bio/util/restriction_enzyme/single_strand.rb",
287
+ "lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb",
288
+ "lib/bio/util/restriction_enzyme/single_strand_complement.rb",
289
+ "lib/bio/util/restriction_enzyme/string_formatting.rb",
290
+ "lib/bio/util/sirna.rb",
291
+ "rdoc.zsh",
292
+ "sample/any2fasta.rb",
293
+ "sample/biofetch.rb",
294
+ "sample/color_scheme_na.rb",
295
+ "sample/dbget",
296
+ "sample/demo_sequence.rb",
297
+ "sample/enzymes.rb",
298
+ "sample/fasta2tab.rb",
299
+ "sample/fastagrep.rb",
300
+ "sample/fastasort.rb",
301
+ "sample/fsplit.rb",
302
+ "sample/gb2fasta.rb",
303
+ "sample/gb2tab.rb",
304
+ "sample/gbtab2mysql.rb",
305
+ "sample/genes2nuc.rb",
306
+ "sample/genes2pep.rb",
307
+ "sample/genes2tab.rb",
308
+ "sample/genome2rb.rb",
309
+ "sample/genome2tab.rb",
310
+ "sample/goslim.rb",
311
+ "sample/gt2fasta.rb",
312
+ "sample/na2aa.rb",
313
+ "sample/pmfetch.rb",
314
+ "sample/pmsearch.rb",
315
+ "sample/psortplot_html.rb",
316
+ "sample/ssearch2tab.rb",
317
+ "sample/tdiary.rb",
318
+ "sample/tfastx2tab.rb",
319
+ "sample/vs-genes.rb",
320
+ "setup.rb",
321
+ "test/data/HMMER/hmmpfam.out",
322
+ "test/data/HMMER/hmmsearch.out",
323
+ "test/data/SOSUI/sample.report",
324
+ "test/data/TMHMM/sample.report",
325
+ "test/data/aaindex/DAYM780301",
326
+ "test/data/aaindex/PRAM900102",
327
+ "test/data/bl2seq/cd8a_cd8b_blastp.bl2seq",
328
+ "test/data/bl2seq/cd8a_p53_e-5blastp.bl2seq",
329
+ "test/data/blast/2.2.15.blastp.m7",
330
+ "test/data/blast/b0002.faa",
331
+ "test/data/blast/b0002.faa.m0",
332
+ "test/data/blast/b0002.faa.m7",
333
+ "test/data/blast/b0002.faa.m8",
334
+ "test/data/blast/blastp-multi.m7",
335
+ "test/data/command/echoarg2.bat",
336
+ "test/data/embl/AB090716.embl",
337
+ "test/data/embl/AB090716.embl.rel89",
338
+ "test/data/fasta/example1.txt",
339
+ "test/data/fasta/example2.txt",
340
+ "test/data/genscan/sample.report",
341
+ "test/data/iprscan/merged.raw",
342
+ "test/data/iprscan/merged.txt",
343
+ "test/data/paml/codeml/control_file.txt",
344
+ "test/data/paml/codeml/output.txt",
345
+ "test/data/paml/codeml/rates",
346
+ "test/data/prosite/prosite.dat",
347
+ "test/data/refseq/nm_126355.entret",
348
+ "test/data/rpsblast/misc.rpsblast",
349
+ "test/data/soft/GDS100_partial.soft",
350
+ "test/data/soft/GSE3457_family_partial.soft",
351
+ "test/data/uniprot/p53_human.uniprot",
352
+ "test/functional/bio/appl/test_pts1.rb",
353
+ "test/functional/bio/io/test_ensembl.rb",
354
+ "test/functional/bio/io/test_soapwsdl.rb",
355
+ "test/functional/bio/sequence/test_output_embl.rb",
356
+ "test/functional/bio/test_command.rb",
357
+ "test/runner.rb",
358
+ "test/unit/bio/appl/bl2seq/test_report.rb",
359
+ "test/unit/bio/appl/blast/test_ncbioptions.rb",
360
+ "test/unit/bio/appl/blast/test_report.rb",
361
+ "test/unit/bio/appl/blast/test_rpsblast.rb",
362
+ "test/unit/bio/appl/genscan/test_report.rb",
363
+ "test/unit/bio/appl/hmmer/test_report.rb",
364
+ "test/unit/bio/appl/iprscan/test_report.rb",
365
+ "test/unit/bio/appl/mafft/test_report.rb",
366
+ "test/unit/bio/appl/paml/codeml/test_rates.rb",
367
+ "test/unit/bio/appl/paml/codeml/test_report.rb",
368
+ "test/unit/bio/appl/paml/test_codeml.rb",
369
+ "test/unit/bio/appl/sosui/test_report.rb",
370
+ "test/unit/bio/appl/targetp/test_report.rb",
371
+ "test/unit/bio/appl/test_blast.rb",
372
+ "test/unit/bio/appl/test_fasta.rb",
373
+ "test/unit/bio/appl/test_pts1.rb",
374
+ "test/unit/bio/appl/tmhmm/test_report.rb",
375
+ "test/unit/bio/data/test_aa.rb",
376
+ "test/unit/bio/data/test_codontable.rb",
377
+ "test/unit/bio/data/test_na.rb",
378
+ "test/unit/bio/db/embl/test_common.rb",
379
+ "test/unit/bio/db/embl/test_embl.rb",
380
+ "test/unit/bio/db/embl/test_embl_rel89.rb",
381
+ "test/unit/bio/db/embl/test_embl_to_bioseq.rb",
382
+ "test/unit/bio/db/embl/test_sptr.rb",
383
+ "test/unit/bio/db/embl/test_uniprot.rb",
384
+ "test/unit/bio/db/kegg/test_genes.rb",
385
+ "test/unit/bio/db/pdb/test_pdb.rb",
386
+ "test/unit/bio/db/test_aaindex.rb",
387
+ "test/unit/bio/db/test_fasta.rb",
388
+ "test/unit/bio/db/test_gff.rb",
389
+ "test/unit/bio/db/test_lasergene.rb",
390
+ "test/unit/bio/db/test_medline.rb",
391
+ "test/unit/bio/db/test_newick.rb",
392
+ "test/unit/bio/db/test_nexus.rb",
393
+ "test/unit/bio/db/test_prosite.rb",
394
+ "test/unit/bio/db/test_rebase.rb",
395
+ "test/unit/bio/db/test_soft.rb",
396
+ "test/unit/bio/io/flatfile/test_autodetection.rb",
397
+ "test/unit/bio/io/flatfile/test_buffer.rb",
398
+ "test/unit/bio/io/flatfile/test_splitter.rb",
399
+ "test/unit/bio/io/test_ddbjxml.rb",
400
+ "test/unit/bio/io/test_ensembl.rb",
401
+ "test/unit/bio/io/test_fastacmd.rb",
402
+ "test/unit/bio/io/test_flatfile.rb",
403
+ "test/unit/bio/io/test_soapwsdl.rb",
404
+ "test/unit/bio/sequence/test_aa.rb",
405
+ "test/unit/bio/sequence/test_common.rb",
406
+ "test/unit/bio/sequence/test_compat.rb",
407
+ "test/unit/bio/sequence/test_dblink.rb",
408
+ "test/unit/bio/sequence/test_na.rb",
409
+ "test/unit/bio/shell/plugin/test_seq.rb",
410
+ "test/unit/bio/test_alignment.rb",
411
+ "test/unit/bio/test_command.rb",
412
+ "test/unit/bio/test_db.rb",
413
+ "test/unit/bio/test_feature.rb",
414
+ "test/unit/bio/test_location.rb",
415
+ "test/unit/bio/test_map.rb",
416
+ "test/unit/bio/test_pathway.rb",
417
+ "test/unit/bio/test_reference.rb",
418
+ "test/unit/bio/test_sequence.rb",
419
+ "test/unit/bio/test_shell.rb",
420
+ "test/unit/bio/test_tree.rb",
421
+ "test/unit/bio/util/restriction_enzyme/analysis/test_calculated_cuts.rb",
422
+ "test/unit/bio/util/restriction_enzyme/analysis/test_cut_ranges.rb",
423
+ "test/unit/bio/util/restriction_enzyme/analysis/test_sequence_range.rb",
424
+ "test/unit/bio/util/restriction_enzyme/double_stranded/test_aligned_strands.rb",
425
+ "test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair.rb",
426
+ "test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair_in_enzyme_notation.rb",
427
+ "test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations.rb",
428
+ "test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations_in_enzyme_notation.rb",
429
+ "test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb",
430
+ "test/unit/bio/util/restriction_enzyme/test_analysis.rb",
431
+ "test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb",
432
+ "test/unit/bio/util/restriction_enzyme/test_double_stranded.rb",
433
+ "test/unit/bio/util/restriction_enzyme/test_single_strand.rb",
434
+ "test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb",
435
+ "test/unit/bio/util/restriction_enzyme/test_string_formatting.rb",
436
+ "test/unit/bio/util/test_color_scheme.rb",
437
+ "test/unit/bio/util/test_contingency_table.rb",
438
+ "test/unit/bio/util/test_restriction_enzyme.rb",
439
+ "test/unit/bio/util/test_sirna.rb"
440
+ ]
441
+
442
+ s.has_rdoc = true
443
+ s.extra_rdoc_files = [
444
+ "README.rdoc",
445
+ "README_DEV.rdoc",
446
+ "doc/Changes-1.3.rdoc"
447
+ ]
448
+ s.rdoc_options << '--main' << 'README.rdoc'
449
+ s.rdoc_options << '--exclude' << '\.yaml\z'
450
+
451
+ s.require_path = 'lib'
452
+ s.autorequire = 'bio'
453
+
454
+ s.bindir = "bin"
455
+ s.executables = [
456
+ "bioruby",
457
+ "br_biofetch.rb",
458
+ "br_bioflat.rb",
459
+ "br_biogetseq.rb",
460
+ "br_pmfetch.rb"
461
+ ]
462
+ s.default_executable = "bioruby"
463
+ end
@@ -0,0 +1,79 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'bio'
3
+ s.version = "1.2.9.9001"
4
+
5
+ s.author = "BioRuby project"
6
+ s.email = "staff@bioruby.org"
7
+ s.homepage = "http://bioruby.org/"
8
+ s.rubyforge_project = "bioruby"
9
+ s.summary = "Bioinformatics library"
10
+ s.description = "BioRuby is a library for bioinformatics (biology + information science)."
11
+
12
+ s.platform = Gem::Platform::RUBY
13
+ s.files = [
14
+ <% ###### Below is executed in ERB environment ######
15
+ # Gets file list from the "git-ls-files" command.
16
+ files = `git-ls-files 2>/dev/null`.to_s.split(/\r?\n/)
17
+ files.delete_if { |x| x.empty? }
18
+ # When git-ls-files isn't available, creates a list from current files.
19
+ unless $?.success? or files.size <= 0 then
20
+ files =
21
+ [ "README.rdoc", "README_DEV.rdoc", "ChangeLog",
22
+ "Rakefile", "bioruby.gemspec.erb",
23
+ "bioruby.gemspec", "setup.rb",
24
+ "extconf.rb", "rdoc.zsh"
25
+ ] + Dir.glob("{bin,doc,etc,lib,sample,test}/**/*").delete_if do |item|
26
+ case item
27
+ when /(\A|\/)CVS(\z|\/)/, /(\A|\/)rdoc(\z|\/)/, /\~\z/
28
+ true
29
+ else
30
+ false
31
+ end
32
+ end
33
+ end
34
+ files.push "bioruby.gemspec" unless files.include?("bioruby.gemspec")
35
+ %><%=
36
+ files.collect { |x| x.dump }.join(",\n ")
37
+ ###### Above is executed in ERB environment ######
38
+ %>
39
+ ]
40
+
41
+ s.has_rdoc = true
42
+ s.extra_rdoc_files = [
43
+ <%= ###### Below is executed in ERB environment ######
44
+ # Files whose suffix are .rdoc are selected.
45
+ rdoc_files = files.find_all { |item| /\.rdoc\z/ =~ item }
46
+ # Fail safe settings
47
+ if rdoc_files.empty? then
48
+ rdoc_files = [ 'README.rdoc', 'README_DEV.rdoc',
49
+ 'doc/Changes-1.3.rdoc' ]
50
+ end
51
+ rdoc_files.collect { |x| x.dump }.join(",\n ")
52
+ ###### Above is executed in ERB environment ######
53
+ %>
54
+ ]
55
+ s.rdoc_options << '--main' << 'README.rdoc'
56
+ s.rdoc_options << '--exclude' << '\.yaml\z'
57
+
58
+ s.require_path = 'lib'
59
+ s.autorequire = 'bio'
60
+
61
+ s.bindir = "bin"
62
+ s.executables = [
63
+ <%= ###### Below is executed in ERB environment ######
64
+ # Files in bin/ directory are selected.
65
+ exec_files = files.find_all { |item| /\Abin\// =~ item }
66
+ # Non-executable files are removed from the list.
67
+ exec_files.delete_if { |item| !File.executable?(item) }
68
+ # strip "bin/"
69
+ exec_files.collect! { |item| item.sub(/\Abin\//, '') }
70
+ # Fail safe settings
71
+ if exec_files.empty? then
72
+ exec_files = [ "bioruby", "br_biofetch.rb", "br_biogetseq.rb", "br_bioflat.rb", "br_pmfetch.rb" ]
73
+ end
74
+ exec_files.collect { |x| x.dump }.join(",\n ")
75
+ ###### Above is executed in ERB environment ######
76
+ %>
77
+ ]
78
+ s.default_executable = "bioruby"
79
+ end