vienna_rna 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/vienna_rna/global/rna.rb +1 -1
- data/lib/vienna_rna.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a899fb4d340d38517ca0ea8a6cf40972c633f943
|
4
|
+
data.tar.gz: 61102bfc0d277cdb89da81c7114f2f4a1a370eff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d105473a36561ba4d1cc9b49f4d95af0ce2d571682d1239af88ea2c7a5b37b004c00cabc3fb96eb6a9b8f9ab97b99a89d91564fa352661774d6e8d84615777c0
|
7
|
+
data.tar.gz: 7afc4799420d2ad31c116e3d9f9c6a65f91bbea83ca86f840e1c3d10d98cae9c0dad5ba2facd6050cc3629d14a53cf88b0f484a653ab86257a557887716f7b27
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
ViennaRna
|
2
2
|
------------------------
|
3
3
|
|
4
|
-
A simple gem for facilitating bindings to the ViennaRNA package (http://www.tbi.univie.ac.at/~ivo/RNA/). Note that this gem makes no effort to build and install the ViennaRNA suite locally at this time, and instead relies on its presence on the host machine.
|
4
|
+
A simple gem for facilitating bindings to the ViennaRNA package (http://www.tbi.univie.ac.at/~ivo/RNA/), amongst other RNA packages. Note that this gem makes no effort to build and install the ViennaRNA suite locally at this time, and instead relies on its presence on the host machine. Also includes a lot of utilities surrounding RNA sequence / structure parsing, graphing using R (via RinRuby) and other analysis tools. Used privately as the foundation for much of the research I do at http://bioinformatics.bc.edu/clotelab/
|
5
5
|
|
6
6
|
Simple use case:
|
7
7
|
|
8
8
|
> require "vienna_rna"
|
9
9
|
#=> true
|
10
|
-
> rna = ViennaRna::Fold.run(seq: "CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG")
|
10
|
+
> rna = ViennaRna::Package::Fold.run(seq: "CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG")
|
11
11
|
#=> #<ViennaRna::Fold:0x007f9c48839dc0>
|
12
12
|
> rna.structure
|
13
13
|
#=> "((((..(((...(((....))).)))..))))"
|
@@ -95,7 +95,7 @@ module ViennaRna
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def run(module_name, options = {})
|
98
|
-
if rna_module = ViennaRna.const_missing("#{module_name}".camelize)
|
98
|
+
if rna_module = ViennaRna::Package.const_missing("#{module_name}".camelize)
|
99
99
|
rna_module.run(self, options)
|
100
100
|
else
|
101
101
|
raise ArgumentError.new("#{module_name} can't be resolved as an executable")
|
data/lib/vienna_rna.rb
CHANGED