bio 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3421 -0
- data/KNOWN_ISSUES.rdoc +88 -0
- data/README.rdoc +252 -0
- data/README_DEV.rdoc +285 -0
- data/Rakefile +143 -0
- data/bin/bioruby +0 -0
- data/bin/br_biofetch.rb +0 -0
- data/bin/br_bioflat.rb +12 -1
- data/bin/br_biogetseq.rb +0 -0
- data/bin/br_pmfetch.rb +4 -3
- data/bioruby.gemspec +477 -0
- data/bioruby.gemspec.erb +117 -0
- data/doc/Changes-0.7.rd +7 -0
- data/doc/Changes-1.3.rdoc +239 -0
- data/doc/Tutorial.rd +296 -184
- data/doc/Tutorial.rd.html +1031 -0
- data/doc/Tutorial.rd.ja +111 -45
- data/doc/Tutorial.rd.ja.html +2225 -0
- data/doc/bioruby.css +281 -0
- data/extconf.rb +2 -0
- data/lib/bio.rb +29 -4
- data/lib/bio/appl/blast.rb +306 -121
- data/lib/bio/appl/blast/ddbj.rb +142 -0
- data/lib/bio/appl/blast/format0.rb +35 -25
- data/lib/bio/appl/blast/format8.rb +2 -2
- data/lib/bio/appl/blast/genomenet.rb +263 -0
- data/lib/bio/appl/blast/ncbioptions.rb +220 -0
- data/lib/bio/appl/blast/remote.rb +106 -0
- data/lib/bio/appl/blast/report.rb +260 -9
- data/lib/bio/appl/blast/rexml.rb +12 -5
- data/lib/bio/appl/blast/rpsblast.rb +277 -0
- data/lib/bio/appl/blast/wublast.rb +133 -12
- data/lib/bio/appl/blast/xmlparser.rb +35 -18
- data/lib/bio/appl/blat/report.rb +46 -5
- data/lib/bio/appl/emboss.rb +62 -13
- data/lib/bio/appl/fasta.rb +9 -11
- data/lib/bio/appl/genscan/report.rb +3 -3
- data/lib/bio/appl/hmmer.rb +1 -1
- data/lib/bio/appl/hmmer/report.rb +10 -10
- data/lib/bio/appl/paml/baseml.rb +95 -0
- data/lib/bio/appl/paml/baseml/report.rb +32 -0
- data/lib/bio/appl/paml/codeml.rb +242 -0
- data/lib/bio/appl/paml/codeml/rates.rb +67 -0
- data/lib/bio/appl/paml/codeml/report.rb +67 -0
- data/lib/bio/appl/paml/common.rb +348 -0
- data/lib/bio/appl/paml/common_report.rb +38 -0
- data/lib/bio/appl/paml/yn00.rb +103 -0
- data/lib/bio/appl/paml/yn00/report.rb +32 -0
- data/lib/bio/appl/psort.rb +2 -2
- data/lib/bio/appl/pts1.rb +5 -5
- data/lib/bio/appl/tmhmm/report.rb +10 -1
- data/lib/bio/command.rb +297 -41
- data/lib/bio/compat/features.rb +157 -0
- data/lib/bio/compat/references.rb +128 -0
- data/lib/bio/db/biosql/biosql_to_biosequence.rb +67 -0
- data/lib/bio/db/biosql/sequence.rb +508 -0
- data/lib/bio/db/embl/common.rb +28 -12
- data/lib/bio/db/embl/embl.rb +107 -9
- data/lib/bio/db/embl/embl_to_biosequence.rb +85 -0
- data/lib/bio/db/embl/format_embl.rb +190 -0
- data/lib/bio/db/embl/sptr.rb +15 -16
- data/lib/bio/db/fantom.rb +6 -8
- data/lib/bio/db/fasta.rb +10 -507
- data/lib/bio/db/fasta/defline.rb +532 -0
- data/lib/bio/db/fasta/fasta_to_biosequence.rb +63 -0
- data/lib/bio/db/fasta/format_fasta.rb +97 -0
- data/lib/bio/db/genbank/common.rb +25 -8
- data/lib/bio/db/genbank/format_genbank.rb +187 -0
- data/lib/bio/db/genbank/genbank.rb +36 -1
- data/lib/bio/db/genbank/genbank_to_biosequence.rb +86 -0
- data/lib/bio/db/gff.rb +1791 -119
- data/lib/bio/db/kegg/glycan.rb +2 -6
- data/lib/bio/db/lasergene.rb +3 -3
- data/lib/bio/db/medline.rb +4 -1
- data/lib/bio/db/newick.rb +10 -10
- data/lib/bio/db/pdb/chain.rb +6 -2
- data/lib/bio/db/pdb/pdb.rb +12 -3
- data/lib/bio/db/rebase.rb +7 -8
- data/lib/bio/db/soft.rb +3 -3
- data/lib/bio/feature.rb +1 -88
- data/lib/bio/io/biosql/biodatabase.rb +64 -0
- data/lib/bio/io/biosql/bioentry.rb +29 -0
- data/lib/bio/io/biosql/bioentry_dbxref.rb +11 -0
- data/lib/bio/io/biosql/bioentry_path.rb +12 -0
- data/lib/bio/io/biosql/bioentry_qualifier_value.rb +10 -0
- data/lib/bio/io/biosql/bioentry_reference.rb +10 -0
- data/lib/bio/io/biosql/bioentry_relationship.rb +10 -0
- data/lib/bio/io/biosql/biosequence.rb +11 -0
- data/lib/bio/io/biosql/comment.rb +7 -0
- data/lib/bio/io/biosql/config/database.yml +20 -0
- data/lib/bio/io/biosql/dbxref.rb +13 -0
- data/lib/bio/io/biosql/dbxref_qualifier_value.rb +12 -0
- data/lib/bio/io/biosql/location.rb +32 -0
- data/lib/bio/io/biosql/location_qualifier_value.rb +11 -0
- data/lib/bio/io/biosql/ontology.rb +10 -0
- data/lib/bio/io/biosql/reference.rb +9 -0
- data/lib/bio/io/biosql/seqfeature.rb +32 -0
- data/lib/bio/io/biosql/seqfeature_dbxref.rb +11 -0
- data/lib/bio/io/biosql/seqfeature_path.rb +11 -0
- data/lib/bio/io/biosql/seqfeature_qualifier_value.rb +20 -0
- data/lib/bio/io/biosql/seqfeature_relationship.rb +11 -0
- data/lib/bio/io/biosql/taxon.rb +12 -0
- data/lib/bio/io/biosql/taxon_name.rb +9 -0
- data/lib/bio/io/biosql/term.rb +27 -0
- data/lib/bio/io/biosql/term_dbxref.rb +11 -0
- data/lib/bio/io/biosql/term_path.rb +12 -0
- data/lib/bio/io/biosql/term_relationship.rb +13 -0
- data/lib/bio/io/biosql/term_relationship_term.rb +11 -0
- data/lib/bio/io/biosql/term_synonym.rb +10 -0
- data/lib/bio/io/das.rb +7 -7
- data/lib/bio/io/ddbjxml.rb +57 -0
- data/lib/bio/io/ensembl.rb +2 -2
- data/lib/bio/io/fetch.rb +28 -14
- data/lib/bio/io/flatfile.rb +17 -853
- data/lib/bio/io/flatfile/autodetection.rb +545 -0
- data/lib/bio/io/flatfile/buffer.rb +237 -0
- data/lib/bio/io/flatfile/index.rb +17 -7
- data/lib/bio/io/flatfile/indexer.rb +30 -12
- data/lib/bio/io/flatfile/splitter.rb +297 -0
- data/lib/bio/io/hinv.rb +442 -0
- data/lib/bio/io/keggapi.rb +2 -2
- data/lib/bio/io/ncbirest.rb +733 -0
- data/lib/bio/io/pubmed.rb +34 -80
- data/lib/bio/io/registry.rb +2 -2
- data/lib/bio/io/sql.rb +178 -357
- data/lib/bio/io/togows.rb +458 -0
- data/lib/bio/location.rb +106 -11
- data/lib/bio/pathway.rb +120 -14
- data/lib/bio/reference.rb +115 -101
- data/lib/bio/sequence.rb +164 -183
- data/lib/bio/sequence/adapter.rb +108 -0
- data/lib/bio/sequence/common.rb +22 -45
- data/lib/bio/sequence/compat.rb +2 -2
- data/lib/bio/sequence/dblink.rb +54 -0
- data/lib/bio/sequence/format.rb +254 -77
- data/lib/bio/sequence/format_raw.rb +23 -0
- data/lib/bio/shell.rb +3 -1
- data/lib/bio/shell/core.rb +2 -2
- data/lib/bio/shell/plugin/entry.rb +33 -4
- data/lib/bio/shell/plugin/ncbirest.rb +64 -0
- data/lib/bio/shell/plugin/togows.rb +40 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/bioruby_generator.rb +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/_classes.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/_log.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/_methods.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/_modules.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/_variables.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby-bg.gif +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby-gem.png +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby-link.gif +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby.css +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby_controller.rb +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/bioruby_helper.rb +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/commands.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/history.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/index.rhtml +0 -0
- data/lib/bio/shell/rails/vendor/plugins/{generators → bioruby/generators}/bioruby/templates/spinner.gif +0 -0
- data/lib/bio/tree.rb +4 -2
- data/lib/bio/util/color_scheme.rb +2 -2
- data/lib/bio/util/contingency_table.rb +2 -2
- data/lib/bio/util/restriction_enzyme.rb +2 -2
- data/lib/bio/util/restriction_enzyme/single_strand.rb +6 -5
- data/lib/bio/version.rb +25 -0
- data/rdoc.zsh +8 -0
- data/sample/any2fasta.rb +0 -0
- data/sample/biofetch.rb +0 -0
- data/sample/dbget +0 -0
- data/sample/demo_sequence.rb +158 -0
- data/sample/enzymes.rb +0 -0
- data/sample/fasta2tab.rb +0 -0
- data/sample/fastagrep.rb +72 -0
- data/sample/fastasort.rb +54 -0
- data/sample/fsplit.rb +0 -0
- data/sample/gb2fasta.rb +2 -3
- data/sample/gb2tab.rb +0 -0
- data/sample/gbtab2mysql.rb +0 -0
- data/sample/genes2nuc.rb +0 -0
- data/sample/genes2pep.rb +0 -0
- data/sample/genes2tab.rb +0 -0
- data/sample/genome2rb.rb +0 -0
- data/sample/genome2tab.rb +0 -0
- data/sample/goslim.rb +0 -0
- data/sample/gt2fasta.rb +0 -0
- data/sample/na2aa.rb +34 -0
- data/sample/pmfetch.rb +0 -0
- data/sample/pmsearch.rb +0 -0
- data/sample/ssearch2tab.rb +0 -0
- data/sample/tfastx2tab.rb +0 -0
- data/sample/vs-genes.rb +0 -0
- data/setup.rb +1596 -0
- data/test/data/blast/blastp-multi.m7 +188 -0
- data/test/data/command/echoarg2.bat +1 -0
- data/test/data/paml/codeml/control_file.txt +30 -0
- data/test/data/paml/codeml/output.txt +78 -0
- data/test/data/paml/codeml/rates +217 -0
- data/test/data/rpsblast/misc.rpsblast +193 -0
- data/test/data/soft/GDS100_partial.soft +0 -0
- data/test/data/soft/GSE3457_family_partial.soft +0 -0
- data/test/functional/bio/appl/test_pts1.rb +115 -0
- data/test/functional/bio/io/test_ensembl.rb +123 -80
- data/test/functional/bio/io/test_togows.rb +267 -0
- data/test/functional/bio/sequence/test_output_embl.rb +51 -0
- data/test/functional/bio/test_command.rb +301 -0
- data/test/runner.rb +17 -1
- data/test/unit/bio/appl/blast/test_ncbioptions.rb +112 -0
- data/test/unit/bio/appl/blast/test_report.rb +753 -35
- data/test/unit/bio/appl/blast/test_rpsblast.rb +398 -0
- data/test/unit/bio/appl/paml/codeml/test_rates.rb +45 -0
- data/test/unit/bio/appl/paml/codeml/test_report.rb +45 -0
- data/test/unit/bio/appl/paml/test_codeml.rb +174 -0
- data/test/unit/bio/appl/test_blast.rb +135 -4
- data/test/unit/bio/appl/test_fasta.rb +2 -2
- data/test/unit/bio/appl/test_pts1.rb +1 -64
- data/test/unit/bio/db/embl/test_common.rb +15 -15
- data/test/unit/bio/db/embl/test_embl.rb +4 -4
- data/test/unit/bio/db/embl/test_embl_rel89.rb +5 -5
- data/test/unit/bio/db/embl/test_embl_to_bioseq.rb +203 -0
- data/test/unit/bio/db/embl/test_sptr.rb +38 -1
- data/test/unit/bio/db/pdb/test_pdb.rb +2 -2
- data/test/unit/bio/db/test_gff.rb +1151 -25
- data/test/unit/bio/db/test_medline.rb +127 -0
- data/test/unit/bio/db/test_nexus.rb +5 -1
- data/test/unit/bio/db/test_prosite.rb +4 -4
- data/test/unit/bio/io/flatfile/test_autodetection.rb +375 -0
- data/test/unit/bio/io/flatfile/test_buffer.rb +251 -0
- data/test/unit/bio/io/flatfile/test_splitter.rb +369 -0
- data/test/unit/bio/io/test_ddbjxml.rb +8 -3
- data/test/unit/bio/io/test_fastacmd.rb +5 -5
- data/test/unit/bio/io/test_flatfile.rb +357 -106
- data/test/unit/bio/io/test_soapwsdl.rb +2 -2
- data/test/unit/bio/io/test_togows.rb +161 -0
- data/test/unit/bio/sequence/test_common.rb +210 -11
- data/test/unit/bio/sequence/test_compat.rb +3 -3
- data/test/unit/bio/sequence/test_dblink.rb +58 -0
- data/test/unit/bio/sequence/test_na.rb +2 -2
- data/test/unit/bio/test_command.rb +111 -50
- data/test/unit/bio/test_feature.rb +29 -1
- data/test/unit/bio/test_location.rb +566 -6
- data/test/unit/bio/test_pathway.rb +91 -65
- data/test/unit/bio/test_reference.rb +67 -13
- data/test/unit/bio/util/restriction_enzyme/analysis/test_calculated_cuts.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/analysis/test_cut_ranges.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/analysis/test_sequence_range.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/double_stranded/test_aligned_strands.rb +4 -3
- data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair_in_enzyme_notation.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations_in_enzyme_notation.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/test_analysis.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb +4 -4
- data/test/unit/bio/util/restriction_enzyme/test_double_stranded.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/test_single_strand.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb +3 -3
- data/test/unit/bio/util/restriction_enzyme/test_string_formatting.rb +3 -3
- data/test/unit/bio/util/test_restriction_enzyme.rb +3 -3
- metadata +202 -167
- data/test/unit/bio/appl/blast/test_xmlparser.rb +0 -388
data/Rakefile
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
#
|
2
|
+
# = Rakefile - helper of developement and packaging
|
3
|
+
#
|
4
|
+
# Copyright:: Copyright (C) 2009 Naohisa Goto <ng@bioruby.org>
|
5
|
+
# License:: The Ruby License
|
6
|
+
#
|
7
|
+
|
8
|
+
require 'rubygems'
|
9
|
+
require 'erb'
|
10
|
+
require 'rake/testtask'
|
11
|
+
require 'rake/packagetask'
|
12
|
+
require 'rake/gempackagetask'
|
13
|
+
require 'rake/rdoctask'
|
14
|
+
|
15
|
+
load "./lib/bio/version.rb"
|
16
|
+
BIO_VERSION_RB_LOADED = true
|
17
|
+
|
18
|
+
# Version string for tar.gz, tar.bz2, or zip archive.
|
19
|
+
# If nil, use the value in lib/bio.rb
|
20
|
+
# Note that gem version is always determined from bioruby.gemspec.erb.
|
21
|
+
version = ENV['BIORUBY_VERSION'] || Bio::BIORUBY_VERSION.join(".")
|
22
|
+
version = nil if version.to_s.empty?
|
23
|
+
extraversion = ENV['BIORUBY_EXTRA_VERSION'] || Bio::BIORUBY_EXTRA_VERSION
|
24
|
+
extraversion = nil if extraversion.to_s.empty?
|
25
|
+
BIORUBY_VERSION = version
|
26
|
+
BIORUBY_EXTRA_VERSION = extraversion
|
27
|
+
|
28
|
+
task :default => "test"
|
29
|
+
|
30
|
+
Rake::TestTask.new do |t|
|
31
|
+
t.test_files = FileList["test/{unit,functional}/**/test_*.rb"]
|
32
|
+
end
|
33
|
+
|
34
|
+
# files not included in gem but included in tar archive
|
35
|
+
tar_additional_files = []
|
36
|
+
|
37
|
+
GEM_SPEC_FILE = "bioruby.gemspec"
|
38
|
+
GEM_SPEC_TEMPLATE_FILE = "bioruby.gemspec.erb"
|
39
|
+
|
40
|
+
# gets gem spec string
|
41
|
+
gem_spec_string = ERB.new(File.read(GEM_SPEC_TEMPLATE_FILE)).result
|
42
|
+
|
43
|
+
# gets gem spec object
|
44
|
+
spec = eval(gem_spec_string)
|
45
|
+
|
46
|
+
# adds notice of automatically generated file
|
47
|
+
gem_spec_string = "# This file is automatically generated from #{GEM_SPEC_TEMPLATE_FILE} and\n# should NOT be edited by hand.\n# \n" + gem_spec_string
|
48
|
+
|
49
|
+
# compares current gemspec file and newly generated gemspec string
|
50
|
+
current_string = File.read(GEM_SPEC_FILE) rescue nil
|
51
|
+
if current_string and current_string != gem_spec_string then
|
52
|
+
#Rake::Task[GEM_SPEC_FILE].invoke
|
53
|
+
flag_update_gemspec = true
|
54
|
+
else
|
55
|
+
flag_update_gemspec = false
|
56
|
+
end
|
57
|
+
|
58
|
+
desc "Update gem spec file"
|
59
|
+
task :gemspec => GEM_SPEC_FILE
|
60
|
+
|
61
|
+
desc "Force update gem spec file"
|
62
|
+
task :regemspec do
|
63
|
+
#rm GEM_SPEC_FILE, :force => true
|
64
|
+
Rake::Task[GEM_SPEC_FILE].execute
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "Update #{GEM_SPEC_FILE}"
|
68
|
+
file GEM_SPEC_FILE => [ GEM_SPEC_TEMPLATE_FILE, 'Rakefile',
|
69
|
+
'lib/bio/version.rb' ] do |t|
|
70
|
+
puts "creates #{GEM_SPEC_FILE}"
|
71
|
+
File.open(t.name, 'w') do |w|
|
72
|
+
w.print gem_spec_string
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
task :package => [ GEM_SPEC_FILE ] do
|
77
|
+
Rake::Task[:regemspec].invoke if flag_update_gemspec
|
78
|
+
end
|
79
|
+
|
80
|
+
Rake::PackageTask.new("bioruby") do |pkg|
|
81
|
+
#pkg.package_dir = "./pkg"
|
82
|
+
pkg.need_tar_gz = true
|
83
|
+
pkg.package_files.import(spec.files)
|
84
|
+
pkg.package_files.include(*tar_additional_files)
|
85
|
+
pkg.version = (BIORUBY_VERSION || spec.version) + BIORUBY_EXTRA_VERSION.to_s
|
86
|
+
end
|
87
|
+
|
88
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
89
|
+
#pkg.package_dir = "./pkg"
|
90
|
+
end
|
91
|
+
|
92
|
+
Rake::RDocTask.new do |r|
|
93
|
+
r.rdoc_dir = "rdoc"
|
94
|
+
r.rdoc_files.include(*spec.extra_rdoc_files)
|
95
|
+
r.rdoc_files.import(spec.files.find_all {|x| /\Alib\/.+\.rb\z/ =~ x})
|
96
|
+
#r.rdoc_files.exclude /\.yaml\z"
|
97
|
+
opts = spec.rdoc_options.to_a.dup
|
98
|
+
if i = opts.index('--main') then
|
99
|
+
main = opts[i + 1]
|
100
|
+
opts.delete_at(i)
|
101
|
+
opts.delete_at(i)
|
102
|
+
else
|
103
|
+
main = 'README.rdoc'
|
104
|
+
end
|
105
|
+
r.main = main
|
106
|
+
r.options = opts
|
107
|
+
end
|
108
|
+
|
109
|
+
# Tutorial files
|
110
|
+
TUTORIAL_RD = 'doc/Tutorial.rd'
|
111
|
+
TUTORIAL_RD_JA = 'doc/Tutorial.rd.ja'
|
112
|
+
|
113
|
+
TUTORIAL_RD_HTML = TUTORIAL_RD + '.html'
|
114
|
+
TUTORIAL_RD_JA_HTML = TUTORIAL_RD_JA + '.html'
|
115
|
+
|
116
|
+
HTMLFILES_TUTORIAL = [ TUTORIAL_RD_HTML, TUTORIAL_RD_JA_HTML ]
|
117
|
+
|
118
|
+
# Formatting RD to html.
|
119
|
+
def rd2html(src, dst)
|
120
|
+
sh "rd2 -r rd/rd2html-lib.rb --with-css=bioruby.css #{src} > #{dst}"
|
121
|
+
end
|
122
|
+
|
123
|
+
# Tutorial.rd to Tutorial.rd.html
|
124
|
+
file TUTORIAL_RD_HTML => TUTORIAL_RD do |t|
|
125
|
+
rd2html(t.prerequisites[0], t.name)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Tutorial.rd.ja to Tutorial.html.ja
|
129
|
+
file TUTORIAL_RD_JA_HTML => TUTORIAL_RD_JA do |t|
|
130
|
+
rd2html(t.prerequisites[0], t.name)
|
131
|
+
end
|
132
|
+
|
133
|
+
desc "Update doc/Tutorial*.html"
|
134
|
+
task :tutorial2html => HTMLFILES_TUTORIAL
|
135
|
+
|
136
|
+
desc "Force update doc/Tutorial*.html"
|
137
|
+
task :retutorial2html do
|
138
|
+
# safe_unlink HTMLFILES_TUTORIAL
|
139
|
+
HTMLFILES_TUTORIAL.each do |x|
|
140
|
+
Rake::Task[x].execute
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
data/bin/bioruby
CHANGED
File without changes
|
data/bin/br_biofetch.rb
CHANGED
File without changes
|
data/bin/br_bioflat.rb
CHANGED
@@ -41,6 +41,10 @@ Create index options:
|
|
41
41
|
Options only valid for --create (or --update) --type flat:
|
42
42
|
--sort=/path/to/sort use external sort program (e.g. /usr/bin/sort)
|
43
43
|
--sort=BUILTIN use builtin sort routine
|
44
|
+
(default: /usr/bin/sort or BUILTIN)
|
45
|
+
--env=/path/to/env use env program to run sort (default: /usr/bin/env)
|
46
|
+
--env-arg=XXXXXX argument given to the env program (default: LC_ALL=C)
|
47
|
+
(multiple --env-arg=XXXXXX can be specified)
|
44
48
|
|
45
49
|
Options only valid for --update:
|
46
50
|
--renew re-read all flatfiles and update whole index
|
@@ -88,7 +92,7 @@ def do_index(mode = :create)
|
|
88
92
|
|
89
93
|
# OBDA stuff
|
90
94
|
|
91
|
-
when /^\-\-?format
|
95
|
+
when /^\-\-?format$/
|
92
96
|
args.shift
|
93
97
|
format = nil # throw this f*ckin' mess for auto detect :)
|
94
98
|
when /^\-\-?location/
|
@@ -120,6 +124,13 @@ def do_index(mode = :create)
|
|
120
124
|
when /^\-\-?no\-?te?mp/i
|
121
125
|
options['onmemory'] = true
|
122
126
|
|
127
|
+
when /^\-\-?env\=(.*)/i
|
128
|
+
options['env_program'] = $1
|
129
|
+
|
130
|
+
when /^\-\-?env-arg(?:ument)?\=(.*)/i
|
131
|
+
options['env_program_arguments'] ||= []
|
132
|
+
options['env_program_arguments'].push $1
|
133
|
+
|
123
134
|
when /^\-\-?primary.*\=(.*)/i
|
124
135
|
options['primary_namespace'] = $1
|
125
136
|
|
data/bin/br_biogetseq.rb
CHANGED
File without changes
|
data/bin/br_pmfetch.rb
CHANGED
@@ -6,15 +6,16 @@
|
|
6
6
|
# Toshiaki Katayama <k@bioruby.org>
|
7
7
|
# License:: The Ruby License
|
8
8
|
#
|
9
|
-
# $Id
|
9
|
+
# $Id:$
|
10
10
|
#
|
11
11
|
|
12
|
-
|
12
|
+
require 'bio'
|
13
|
+
|
14
|
+
PROG_VER = "Powered by BioRuby #{Bio::BIORUBY_VERSION_ID}"
|
13
15
|
PROG_NAME = File.basename($0)
|
14
16
|
|
15
17
|
|
16
18
|
require 'getoptlong'
|
17
|
-
require 'bio'
|
18
19
|
|
19
20
|
|
20
21
|
### formatting
|
data/bioruby.gemspec
ADDED
@@ -0,0 +1,477 @@
|
|
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.3.0"
|
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
|
+
"KNOWN_ISSUES.rdoc",
|
19
|
+
"README.rdoc",
|
20
|
+
"README_DEV.rdoc",
|
21
|
+
"Rakefile",
|
22
|
+
"bin/bioruby",
|
23
|
+
"bin/br_biofetch.rb",
|
24
|
+
"bin/br_bioflat.rb",
|
25
|
+
"bin/br_biogetseq.rb",
|
26
|
+
"bin/br_pmfetch.rb",
|
27
|
+
"bioruby.gemspec",
|
28
|
+
"bioruby.gemspec.erb",
|
29
|
+
"doc/Changes-0.7.rd",
|
30
|
+
"doc/Changes-1.3.rdoc",
|
31
|
+
"doc/KEGG_API.rd",
|
32
|
+
"doc/KEGG_API.rd.ja",
|
33
|
+
"doc/Tutorial.rd",
|
34
|
+
"doc/Tutorial.rd.html",
|
35
|
+
"doc/Tutorial.rd.ja",
|
36
|
+
"doc/Tutorial.rd.ja.html",
|
37
|
+
"doc/bioruby.css",
|
38
|
+
"etc/bioinformatics/seqdatabase.ini",
|
39
|
+
"extconf.rb",
|
40
|
+
"lib/bio.rb",
|
41
|
+
"lib/bio/alignment.rb",
|
42
|
+
"lib/bio/appl/bl2seq/report.rb",
|
43
|
+
"lib/bio/appl/blast.rb",
|
44
|
+
"lib/bio/appl/blast/ddbj.rb",
|
45
|
+
"lib/bio/appl/blast/format0.rb",
|
46
|
+
"lib/bio/appl/blast/format8.rb",
|
47
|
+
"lib/bio/appl/blast/genomenet.rb",
|
48
|
+
"lib/bio/appl/blast/ncbioptions.rb",
|
49
|
+
"lib/bio/appl/blast/remote.rb",
|
50
|
+
"lib/bio/appl/blast/report.rb",
|
51
|
+
"lib/bio/appl/blast/rexml.rb",
|
52
|
+
"lib/bio/appl/blast/rpsblast.rb",
|
53
|
+
"lib/bio/appl/blast/wublast.rb",
|
54
|
+
"lib/bio/appl/blast/xmlparser.rb",
|
55
|
+
"lib/bio/appl/blat/report.rb",
|
56
|
+
"lib/bio/appl/clustalw.rb",
|
57
|
+
"lib/bio/appl/clustalw/report.rb",
|
58
|
+
"lib/bio/appl/emboss.rb",
|
59
|
+
"lib/bio/appl/fasta.rb",
|
60
|
+
"lib/bio/appl/fasta/format10.rb",
|
61
|
+
"lib/bio/appl/gcg/msf.rb",
|
62
|
+
"lib/bio/appl/gcg/seq.rb",
|
63
|
+
"lib/bio/appl/genscan/report.rb",
|
64
|
+
"lib/bio/appl/hmmer.rb",
|
65
|
+
"lib/bio/appl/hmmer/report.rb",
|
66
|
+
"lib/bio/appl/iprscan/report.rb",
|
67
|
+
"lib/bio/appl/mafft.rb",
|
68
|
+
"lib/bio/appl/mafft/report.rb",
|
69
|
+
"lib/bio/appl/muscle.rb",
|
70
|
+
"lib/bio/appl/paml/baseml.rb",
|
71
|
+
"lib/bio/appl/paml/baseml/report.rb",
|
72
|
+
"lib/bio/appl/paml/codeml.rb",
|
73
|
+
"lib/bio/appl/paml/codeml/rates.rb",
|
74
|
+
"lib/bio/appl/paml/codeml/report.rb",
|
75
|
+
"lib/bio/appl/paml/common.rb",
|
76
|
+
"lib/bio/appl/paml/common_report.rb",
|
77
|
+
"lib/bio/appl/paml/yn00.rb",
|
78
|
+
"lib/bio/appl/paml/yn00/report.rb",
|
79
|
+
"lib/bio/appl/phylip/alignment.rb",
|
80
|
+
"lib/bio/appl/phylip/distance_matrix.rb",
|
81
|
+
"lib/bio/appl/probcons.rb",
|
82
|
+
"lib/bio/appl/psort.rb",
|
83
|
+
"lib/bio/appl/psort/report.rb",
|
84
|
+
"lib/bio/appl/pts1.rb",
|
85
|
+
"lib/bio/appl/sim4.rb",
|
86
|
+
"lib/bio/appl/sim4/report.rb",
|
87
|
+
"lib/bio/appl/sosui/report.rb",
|
88
|
+
"lib/bio/appl/spidey/report.rb",
|
89
|
+
"lib/bio/appl/targetp/report.rb",
|
90
|
+
"lib/bio/appl/tcoffee.rb",
|
91
|
+
"lib/bio/appl/tmhmm/report.rb",
|
92
|
+
"lib/bio/command.rb",
|
93
|
+
"lib/bio/compat/features.rb",
|
94
|
+
"lib/bio/compat/references.rb",
|
95
|
+
"lib/bio/data/aa.rb",
|
96
|
+
"lib/bio/data/codontable.rb",
|
97
|
+
"lib/bio/data/na.rb",
|
98
|
+
"lib/bio/db.rb",
|
99
|
+
"lib/bio/db/aaindex.rb",
|
100
|
+
"lib/bio/db/biosql/biosql_to_biosequence.rb",
|
101
|
+
"lib/bio/db/biosql/sequence.rb",
|
102
|
+
"lib/bio/db/embl/common.rb",
|
103
|
+
"lib/bio/db/embl/embl.rb",
|
104
|
+
"lib/bio/db/embl/embl_to_biosequence.rb",
|
105
|
+
"lib/bio/db/embl/format_embl.rb",
|
106
|
+
"lib/bio/db/embl/sptr.rb",
|
107
|
+
"lib/bio/db/embl/swissprot.rb",
|
108
|
+
"lib/bio/db/embl/trembl.rb",
|
109
|
+
"lib/bio/db/embl/uniprot.rb",
|
110
|
+
"lib/bio/db/fantom.rb",
|
111
|
+
"lib/bio/db/fasta.rb",
|
112
|
+
"lib/bio/db/fasta/defline.rb",
|
113
|
+
"lib/bio/db/fasta/fasta_to_biosequence.rb",
|
114
|
+
"lib/bio/db/fasta/format_fasta.rb",
|
115
|
+
"lib/bio/db/genbank/common.rb",
|
116
|
+
"lib/bio/db/genbank/ddbj.rb",
|
117
|
+
"lib/bio/db/genbank/format_genbank.rb",
|
118
|
+
"lib/bio/db/genbank/genbank.rb",
|
119
|
+
"lib/bio/db/genbank/genbank_to_biosequence.rb",
|
120
|
+
"lib/bio/db/genbank/genpept.rb",
|
121
|
+
"lib/bio/db/genbank/refseq.rb",
|
122
|
+
"lib/bio/db/gff.rb",
|
123
|
+
"lib/bio/db/go.rb",
|
124
|
+
"lib/bio/db/kegg/brite.rb",
|
125
|
+
"lib/bio/db/kegg/compound.rb",
|
126
|
+
"lib/bio/db/kegg/drug.rb",
|
127
|
+
"lib/bio/db/kegg/enzyme.rb",
|
128
|
+
"lib/bio/db/kegg/expression.rb",
|
129
|
+
"lib/bio/db/kegg/genes.rb",
|
130
|
+
"lib/bio/db/kegg/genome.rb",
|
131
|
+
"lib/bio/db/kegg/glycan.rb",
|
132
|
+
"lib/bio/db/kegg/keggtab.rb",
|
133
|
+
"lib/bio/db/kegg/kgml.rb",
|
134
|
+
"lib/bio/db/kegg/orthology.rb",
|
135
|
+
"lib/bio/db/kegg/reaction.rb",
|
136
|
+
"lib/bio/db/kegg/taxonomy.rb",
|
137
|
+
"lib/bio/db/lasergene.rb",
|
138
|
+
"lib/bio/db/litdb.rb",
|
139
|
+
"lib/bio/db/medline.rb",
|
140
|
+
"lib/bio/db/nbrf.rb",
|
141
|
+
"lib/bio/db/newick.rb",
|
142
|
+
"lib/bio/db/nexus.rb",
|
143
|
+
"lib/bio/db/pdb.rb",
|
144
|
+
"lib/bio/db/pdb/atom.rb",
|
145
|
+
"lib/bio/db/pdb/chain.rb",
|
146
|
+
"lib/bio/db/pdb/chemicalcomponent.rb",
|
147
|
+
"lib/bio/db/pdb/model.rb",
|
148
|
+
"lib/bio/db/pdb/pdb.rb",
|
149
|
+
"lib/bio/db/pdb/residue.rb",
|
150
|
+
"lib/bio/db/pdb/utils.rb",
|
151
|
+
"lib/bio/db/prosite.rb",
|
152
|
+
"lib/bio/db/rebase.rb",
|
153
|
+
"lib/bio/db/soft.rb",
|
154
|
+
"lib/bio/db/transfac.rb",
|
155
|
+
"lib/bio/feature.rb",
|
156
|
+
"lib/bio/io/biosql/biodatabase.rb",
|
157
|
+
"lib/bio/io/biosql/bioentry.rb",
|
158
|
+
"lib/bio/io/biosql/bioentry_dbxref.rb",
|
159
|
+
"lib/bio/io/biosql/bioentry_path.rb",
|
160
|
+
"lib/bio/io/biosql/bioentry_qualifier_value.rb",
|
161
|
+
"lib/bio/io/biosql/bioentry_reference.rb",
|
162
|
+
"lib/bio/io/biosql/bioentry_relationship.rb",
|
163
|
+
"lib/bio/io/biosql/biosequence.rb",
|
164
|
+
"lib/bio/io/biosql/comment.rb",
|
165
|
+
"lib/bio/io/biosql/config/database.yml",
|
166
|
+
"lib/bio/io/biosql/dbxref.rb",
|
167
|
+
"lib/bio/io/biosql/dbxref_qualifier_value.rb",
|
168
|
+
"lib/bio/io/biosql/location.rb",
|
169
|
+
"lib/bio/io/biosql/location_qualifier_value.rb",
|
170
|
+
"lib/bio/io/biosql/ontology.rb",
|
171
|
+
"lib/bio/io/biosql/reference.rb",
|
172
|
+
"lib/bio/io/biosql/seqfeature.rb",
|
173
|
+
"lib/bio/io/biosql/seqfeature_dbxref.rb",
|
174
|
+
"lib/bio/io/biosql/seqfeature_path.rb",
|
175
|
+
"lib/bio/io/biosql/seqfeature_qualifier_value.rb",
|
176
|
+
"lib/bio/io/biosql/seqfeature_relationship.rb",
|
177
|
+
"lib/bio/io/biosql/taxon.rb",
|
178
|
+
"lib/bio/io/biosql/taxon_name.rb",
|
179
|
+
"lib/bio/io/biosql/term.rb",
|
180
|
+
"lib/bio/io/biosql/term_dbxref.rb",
|
181
|
+
"lib/bio/io/biosql/term_path.rb",
|
182
|
+
"lib/bio/io/biosql/term_relationship.rb",
|
183
|
+
"lib/bio/io/biosql/term_relationship_term.rb",
|
184
|
+
"lib/bio/io/biosql/term_synonym.rb",
|
185
|
+
"lib/bio/io/das.rb",
|
186
|
+
"lib/bio/io/dbget.rb",
|
187
|
+
"lib/bio/io/ddbjxml.rb",
|
188
|
+
"lib/bio/io/ebisoap.rb",
|
189
|
+
"lib/bio/io/ensembl.rb",
|
190
|
+
"lib/bio/io/fastacmd.rb",
|
191
|
+
"lib/bio/io/fetch.rb",
|
192
|
+
"lib/bio/io/flatfile.rb",
|
193
|
+
"lib/bio/io/flatfile/autodetection.rb",
|
194
|
+
"lib/bio/io/flatfile/bdb.rb",
|
195
|
+
"lib/bio/io/flatfile/buffer.rb",
|
196
|
+
"lib/bio/io/flatfile/index.rb",
|
197
|
+
"lib/bio/io/flatfile/indexer.rb",
|
198
|
+
"lib/bio/io/flatfile/splitter.rb",
|
199
|
+
"lib/bio/io/higet.rb",
|
200
|
+
"lib/bio/io/hinv.rb",
|
201
|
+
"lib/bio/io/keggapi.rb",
|
202
|
+
"lib/bio/io/ncbirest.rb",
|
203
|
+
"lib/bio/io/ncbisoap.rb",
|
204
|
+
"lib/bio/io/pubmed.rb",
|
205
|
+
"lib/bio/io/registry.rb",
|
206
|
+
"lib/bio/io/soapwsdl.rb",
|
207
|
+
"lib/bio/io/sql.rb",
|
208
|
+
"lib/bio/io/togows.rb",
|
209
|
+
"lib/bio/location.rb",
|
210
|
+
"lib/bio/map.rb",
|
211
|
+
"lib/bio/pathway.rb",
|
212
|
+
"lib/bio/reference.rb",
|
213
|
+
"lib/bio/sequence.rb",
|
214
|
+
"lib/bio/sequence/aa.rb",
|
215
|
+
"lib/bio/sequence/adapter.rb",
|
216
|
+
"lib/bio/sequence/common.rb",
|
217
|
+
"lib/bio/sequence/compat.rb",
|
218
|
+
"lib/bio/sequence/dblink.rb",
|
219
|
+
"lib/bio/sequence/format.rb",
|
220
|
+
"lib/bio/sequence/format_raw.rb",
|
221
|
+
"lib/bio/sequence/generic.rb",
|
222
|
+
"lib/bio/sequence/na.rb",
|
223
|
+
"lib/bio/shell.rb",
|
224
|
+
"lib/bio/shell/core.rb",
|
225
|
+
"lib/bio/shell/demo.rb",
|
226
|
+
"lib/bio/shell/interface.rb",
|
227
|
+
"lib/bio/shell/irb.rb",
|
228
|
+
"lib/bio/shell/object.rb",
|
229
|
+
"lib/bio/shell/plugin/blast.rb",
|
230
|
+
"lib/bio/shell/plugin/codon.rb",
|
231
|
+
"lib/bio/shell/plugin/das.rb",
|
232
|
+
"lib/bio/shell/plugin/emboss.rb",
|
233
|
+
"lib/bio/shell/plugin/entry.rb",
|
234
|
+
"lib/bio/shell/plugin/flatfile.rb",
|
235
|
+
"lib/bio/shell/plugin/keggapi.rb",
|
236
|
+
"lib/bio/shell/plugin/midi.rb",
|
237
|
+
"lib/bio/shell/plugin/ncbirest.rb",
|
238
|
+
"lib/bio/shell/plugin/obda.rb",
|
239
|
+
"lib/bio/shell/plugin/psort.rb",
|
240
|
+
"lib/bio/shell/plugin/seq.rb",
|
241
|
+
"lib/bio/shell/plugin/soap.rb",
|
242
|
+
"lib/bio/shell/plugin/togows.rb",
|
243
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/bioruby_generator.rb",
|
244
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml",
|
245
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml",
|
246
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml",
|
247
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml",
|
248
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_variables.rhtml",
|
249
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-bg.gif",
|
250
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-gem.png",
|
251
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby-link.gif",
|
252
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.css",
|
253
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml",
|
254
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_controller.rb",
|
255
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby_helper.rb",
|
256
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml",
|
257
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/history.rhtml",
|
258
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/index.rhtml",
|
259
|
+
"lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/spinner.gif",
|
260
|
+
"lib/bio/shell/script.rb",
|
261
|
+
"lib/bio/shell/setup.rb",
|
262
|
+
"lib/bio/shell/web.rb",
|
263
|
+
"lib/bio/tree.rb",
|
264
|
+
"lib/bio/util/color_scheme.rb",
|
265
|
+
"lib/bio/util/color_scheme/buried.rb",
|
266
|
+
"lib/bio/util/color_scheme/helix.rb",
|
267
|
+
"lib/bio/util/color_scheme/hydropathy.rb",
|
268
|
+
"lib/bio/util/color_scheme/nucleotide.rb",
|
269
|
+
"lib/bio/util/color_scheme/strand.rb",
|
270
|
+
"lib/bio/util/color_scheme/taylor.rb",
|
271
|
+
"lib/bio/util/color_scheme/turn.rb",
|
272
|
+
"lib/bio/util/color_scheme/zappo.rb",
|
273
|
+
"lib/bio/util/contingency_table.rb",
|
274
|
+
"lib/bio/util/restriction_enzyme.rb",
|
275
|
+
"lib/bio/util/restriction_enzyme/analysis.rb",
|
276
|
+
"lib/bio/util/restriction_enzyme/analysis_basic.rb",
|
277
|
+
"lib/bio/util/restriction_enzyme/cut_symbol.rb",
|
278
|
+
"lib/bio/util/restriction_enzyme/double_stranded.rb",
|
279
|
+
"lib/bio/util/restriction_enzyme/double_stranded/aligned_strands.rb",
|
280
|
+
"lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair.rb",
|
281
|
+
"lib/bio/util/restriction_enzyme/double_stranded/cut_location_pair_in_enzyme_notation.rb",
|
282
|
+
"lib/bio/util/restriction_enzyme/double_stranded/cut_locations.rb",
|
283
|
+
"lib/bio/util/restriction_enzyme/double_stranded/cut_locations_in_enzyme_notation.rb",
|
284
|
+
"lib/bio/util/restriction_enzyme/enzymes.yaml",
|
285
|
+
"lib/bio/util/restriction_enzyme/range/cut_range.rb",
|
286
|
+
"lib/bio/util/restriction_enzyme/range/cut_ranges.rb",
|
287
|
+
"lib/bio/util/restriction_enzyme/range/horizontal_cut_range.rb",
|
288
|
+
"lib/bio/util/restriction_enzyme/range/sequence_range.rb",
|
289
|
+
"lib/bio/util/restriction_enzyme/range/sequence_range/calculated_cuts.rb",
|
290
|
+
"lib/bio/util/restriction_enzyme/range/sequence_range/fragment.rb",
|
291
|
+
"lib/bio/util/restriction_enzyme/range/sequence_range/fragments.rb",
|
292
|
+
"lib/bio/util/restriction_enzyme/range/vertical_cut_range.rb",
|
293
|
+
"lib/bio/util/restriction_enzyme/single_strand.rb",
|
294
|
+
"lib/bio/util/restriction_enzyme/single_strand/cut_locations_in_enzyme_notation.rb",
|
295
|
+
"lib/bio/util/restriction_enzyme/single_strand_complement.rb",
|
296
|
+
"lib/bio/util/restriction_enzyme/string_formatting.rb",
|
297
|
+
"lib/bio/util/sirna.rb",
|
298
|
+
"lib/bio/version.rb",
|
299
|
+
"rdoc.zsh",
|
300
|
+
"sample/any2fasta.rb",
|
301
|
+
"sample/biofetch.rb",
|
302
|
+
"sample/color_scheme_na.rb",
|
303
|
+
"sample/dbget",
|
304
|
+
"sample/demo_sequence.rb",
|
305
|
+
"sample/enzymes.rb",
|
306
|
+
"sample/fasta2tab.rb",
|
307
|
+
"sample/fastagrep.rb",
|
308
|
+
"sample/fastasort.rb",
|
309
|
+
"sample/fsplit.rb",
|
310
|
+
"sample/gb2fasta.rb",
|
311
|
+
"sample/gb2tab.rb",
|
312
|
+
"sample/gbtab2mysql.rb",
|
313
|
+
"sample/genes2nuc.rb",
|
314
|
+
"sample/genes2pep.rb",
|
315
|
+
"sample/genes2tab.rb",
|
316
|
+
"sample/genome2rb.rb",
|
317
|
+
"sample/genome2tab.rb",
|
318
|
+
"sample/goslim.rb",
|
319
|
+
"sample/gt2fasta.rb",
|
320
|
+
"sample/na2aa.rb",
|
321
|
+
"sample/pmfetch.rb",
|
322
|
+
"sample/pmsearch.rb",
|
323
|
+
"sample/psortplot_html.rb",
|
324
|
+
"sample/ssearch2tab.rb",
|
325
|
+
"sample/tdiary.rb",
|
326
|
+
"sample/tfastx2tab.rb",
|
327
|
+
"sample/vs-genes.rb",
|
328
|
+
"setup.rb",
|
329
|
+
"test/data/HMMER/hmmpfam.out",
|
330
|
+
"test/data/HMMER/hmmsearch.out",
|
331
|
+
"test/data/SOSUI/sample.report",
|
332
|
+
"test/data/TMHMM/sample.report",
|
333
|
+
"test/data/aaindex/DAYM780301",
|
334
|
+
"test/data/aaindex/PRAM900102",
|
335
|
+
"test/data/bl2seq/cd8a_cd8b_blastp.bl2seq",
|
336
|
+
"test/data/bl2seq/cd8a_p53_e-5blastp.bl2seq",
|
337
|
+
"test/data/blast/2.2.15.blastp.m7",
|
338
|
+
"test/data/blast/b0002.faa",
|
339
|
+
"test/data/blast/b0002.faa.m0",
|
340
|
+
"test/data/blast/b0002.faa.m7",
|
341
|
+
"test/data/blast/b0002.faa.m8",
|
342
|
+
"test/data/blast/blastp-multi.m7",
|
343
|
+
"test/data/command/echoarg2.bat",
|
344
|
+
"test/data/embl/AB090716.embl",
|
345
|
+
"test/data/embl/AB090716.embl.rel89",
|
346
|
+
"test/data/fasta/example1.txt",
|
347
|
+
"test/data/fasta/example2.txt",
|
348
|
+
"test/data/genscan/sample.report",
|
349
|
+
"test/data/iprscan/merged.raw",
|
350
|
+
"test/data/iprscan/merged.txt",
|
351
|
+
"test/data/paml/codeml/control_file.txt",
|
352
|
+
"test/data/paml/codeml/output.txt",
|
353
|
+
"test/data/paml/codeml/rates",
|
354
|
+
"test/data/prosite/prosite.dat",
|
355
|
+
"test/data/refseq/nm_126355.entret",
|
356
|
+
"test/data/rpsblast/misc.rpsblast",
|
357
|
+
"test/data/soft/GDS100_partial.soft",
|
358
|
+
"test/data/soft/GSE3457_family_partial.soft",
|
359
|
+
"test/data/uniprot/p53_human.uniprot",
|
360
|
+
"test/functional/bio/appl/test_pts1.rb",
|
361
|
+
"test/functional/bio/io/test_ensembl.rb",
|
362
|
+
"test/functional/bio/io/test_soapwsdl.rb",
|
363
|
+
"test/functional/bio/io/test_togows.rb",
|
364
|
+
"test/functional/bio/sequence/test_output_embl.rb",
|
365
|
+
"test/functional/bio/test_command.rb",
|
366
|
+
"test/runner.rb",
|
367
|
+
"test/unit/bio/appl/bl2seq/test_report.rb",
|
368
|
+
"test/unit/bio/appl/blast/test_ncbioptions.rb",
|
369
|
+
"test/unit/bio/appl/blast/test_report.rb",
|
370
|
+
"test/unit/bio/appl/blast/test_rpsblast.rb",
|
371
|
+
"test/unit/bio/appl/genscan/test_report.rb",
|
372
|
+
"test/unit/bio/appl/hmmer/test_report.rb",
|
373
|
+
"test/unit/bio/appl/iprscan/test_report.rb",
|
374
|
+
"test/unit/bio/appl/mafft/test_report.rb",
|
375
|
+
"test/unit/bio/appl/paml/codeml/test_rates.rb",
|
376
|
+
"test/unit/bio/appl/paml/codeml/test_report.rb",
|
377
|
+
"test/unit/bio/appl/paml/test_codeml.rb",
|
378
|
+
"test/unit/bio/appl/sosui/test_report.rb",
|
379
|
+
"test/unit/bio/appl/targetp/test_report.rb",
|
380
|
+
"test/unit/bio/appl/test_blast.rb",
|
381
|
+
"test/unit/bio/appl/test_fasta.rb",
|
382
|
+
"test/unit/bio/appl/test_pts1.rb",
|
383
|
+
"test/unit/bio/appl/tmhmm/test_report.rb",
|
384
|
+
"test/unit/bio/data/test_aa.rb",
|
385
|
+
"test/unit/bio/data/test_codontable.rb",
|
386
|
+
"test/unit/bio/data/test_na.rb",
|
387
|
+
"test/unit/bio/db/embl/test_common.rb",
|
388
|
+
"test/unit/bio/db/embl/test_embl.rb",
|
389
|
+
"test/unit/bio/db/embl/test_embl_rel89.rb",
|
390
|
+
"test/unit/bio/db/embl/test_embl_to_bioseq.rb",
|
391
|
+
"test/unit/bio/db/embl/test_sptr.rb",
|
392
|
+
"test/unit/bio/db/embl/test_uniprot.rb",
|
393
|
+
"test/unit/bio/db/kegg/test_genes.rb",
|
394
|
+
"test/unit/bio/db/pdb/test_pdb.rb",
|
395
|
+
"test/unit/bio/db/test_aaindex.rb",
|
396
|
+
"test/unit/bio/db/test_fasta.rb",
|
397
|
+
"test/unit/bio/db/test_gff.rb",
|
398
|
+
"test/unit/bio/db/test_lasergene.rb",
|
399
|
+
"test/unit/bio/db/test_medline.rb",
|
400
|
+
"test/unit/bio/db/test_newick.rb",
|
401
|
+
"test/unit/bio/db/test_nexus.rb",
|
402
|
+
"test/unit/bio/db/test_prosite.rb",
|
403
|
+
"test/unit/bio/db/test_rebase.rb",
|
404
|
+
"test/unit/bio/db/test_soft.rb",
|
405
|
+
"test/unit/bio/io/flatfile/test_autodetection.rb",
|
406
|
+
"test/unit/bio/io/flatfile/test_buffer.rb",
|
407
|
+
"test/unit/bio/io/flatfile/test_splitter.rb",
|
408
|
+
"test/unit/bio/io/test_ddbjxml.rb",
|
409
|
+
"test/unit/bio/io/test_ensembl.rb",
|
410
|
+
"test/unit/bio/io/test_fastacmd.rb",
|
411
|
+
"test/unit/bio/io/test_flatfile.rb",
|
412
|
+
"test/unit/bio/io/test_soapwsdl.rb",
|
413
|
+
"test/unit/bio/io/test_togows.rb",
|
414
|
+
"test/unit/bio/sequence/test_aa.rb",
|
415
|
+
"test/unit/bio/sequence/test_common.rb",
|
416
|
+
"test/unit/bio/sequence/test_compat.rb",
|
417
|
+
"test/unit/bio/sequence/test_dblink.rb",
|
418
|
+
"test/unit/bio/sequence/test_na.rb",
|
419
|
+
"test/unit/bio/shell/plugin/test_seq.rb",
|
420
|
+
"test/unit/bio/test_alignment.rb",
|
421
|
+
"test/unit/bio/test_command.rb",
|
422
|
+
"test/unit/bio/test_db.rb",
|
423
|
+
"test/unit/bio/test_feature.rb",
|
424
|
+
"test/unit/bio/test_location.rb",
|
425
|
+
"test/unit/bio/test_map.rb",
|
426
|
+
"test/unit/bio/test_pathway.rb",
|
427
|
+
"test/unit/bio/test_reference.rb",
|
428
|
+
"test/unit/bio/test_sequence.rb",
|
429
|
+
"test/unit/bio/test_shell.rb",
|
430
|
+
"test/unit/bio/test_tree.rb",
|
431
|
+
"test/unit/bio/util/restriction_enzyme/analysis/test_calculated_cuts.rb",
|
432
|
+
"test/unit/bio/util/restriction_enzyme/analysis/test_cut_ranges.rb",
|
433
|
+
"test/unit/bio/util/restriction_enzyme/analysis/test_sequence_range.rb",
|
434
|
+
"test/unit/bio/util/restriction_enzyme/double_stranded/test_aligned_strands.rb",
|
435
|
+
"test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair.rb",
|
436
|
+
"test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_location_pair_in_enzyme_notation.rb",
|
437
|
+
"test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations.rb",
|
438
|
+
"test/unit/bio/util/restriction_enzyme/double_stranded/test_cut_locations_in_enzyme_notation.rb",
|
439
|
+
"test/unit/bio/util/restriction_enzyme/single_strand/test_cut_locations_in_enzyme_notation.rb",
|
440
|
+
"test/unit/bio/util/restriction_enzyme/test_analysis.rb",
|
441
|
+
"test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb",
|
442
|
+
"test/unit/bio/util/restriction_enzyme/test_double_stranded.rb",
|
443
|
+
"test/unit/bio/util/restriction_enzyme/test_single_strand.rb",
|
444
|
+
"test/unit/bio/util/restriction_enzyme/test_single_strand_complement.rb",
|
445
|
+
"test/unit/bio/util/restriction_enzyme/test_string_formatting.rb",
|
446
|
+
"test/unit/bio/util/test_color_scheme.rb",
|
447
|
+
"test/unit/bio/util/test_contingency_table.rb",
|
448
|
+
"test/unit/bio/util/test_restriction_enzyme.rb",
|
449
|
+
"test/unit/bio/util/test_sirna.rb"
|
450
|
+
]
|
451
|
+
|
452
|
+
s.has_rdoc = true
|
453
|
+
s.extra_rdoc_files = [
|
454
|
+
"ChangeLog",
|
455
|
+
"KNOWN_ISSUES.rdoc",
|
456
|
+
"README.rdoc",
|
457
|
+
"README_DEV.rdoc",
|
458
|
+
"doc/Changes-1.3.rdoc"
|
459
|
+
]
|
460
|
+
s.rdoc_options << '--main' << 'README.rdoc'
|
461
|
+
s.rdoc_options << '--title' << 'BioRuby API documentation'
|
462
|
+
s.rdoc_options << '--exclude' << '\.yaml\z'
|
463
|
+
s.rdoc_options << '--line-numbers' << '--inline-source'
|
464
|
+
|
465
|
+
s.require_path = 'lib'
|
466
|
+
s.autorequire = 'bio'
|
467
|
+
|
468
|
+
s.bindir = "bin"
|
469
|
+
s.executables = [
|
470
|
+
"bioruby",
|
471
|
+
"br_biofetch.rb",
|
472
|
+
"br_bioflat.rb",
|
473
|
+
"br_biogetseq.rb",
|
474
|
+
"br_pmfetch.rb"
|
475
|
+
]
|
476
|
+
s.default_executable = "bioruby"
|
477
|
+
end
|