vienna_rna 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -12
- 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: baedfc18915d6d5e855a8c012cc682adb96fd248
|
4
|
+
data.tar.gz: 5b692c3183ad74aff60eef165837c3009a3d6bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d940a6aea6e48d722029141423541e63ec397e0dde67f7e8c85eb1f1eb2b2e603b70d983054a96fdd55dfc12cbd50e3af6e2015a0c1dcc4106896f9100e5e673
|
7
|
+
data.tar.gz: cea04deb3fc80580f2895a1515b9c70fcdc7c8f741cde8882b1a28cbddfd1e50035a53d63fb81099aa74349525457978e1c0a27409fb850033e2dccdf6f29a3a
|
data/README.md
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
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. Leverages the BioRuby gem (http://bioruby.open-bio.org/) libraries for file parsing.
|
2
2
|
|
3
3
|
Simple use case:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
>
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
|
5
|
+
> require "vienna_rna"
|
6
|
+
#=> true
|
7
|
+
> rna = ViennaRna::Fold.run(seq: "CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG")
|
8
|
+
#=> #<ViennaRna::Fold:0x007f9c48839dc0>
|
9
|
+
> rna.structure
|
10
|
+
#=> "((((..(((...(((....))).)))..))))"
|
11
|
+
> rna.mfe
|
12
|
+
#=> -19.7
|
12
13
|
|
13
14
|
... now an even easier way ...
|
14
15
|
|
15
|
-
> mfe_rna = RNA("CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG").run(:fold).mfe_rna
|
16
|
-
#=> echo CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG | rnafold --noPS
|
17
|
-
#=> Total runtime: 0.013 sec.
|
18
|
-
#=> #<ViennaRna::ViennaRna::Rna CCUCGAGGGGAACCCGAAAG... ((((..(((...(((....) [truncated]>
|
16
|
+
> mfe_rna = RNA("CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG").run(:fold).mfe_rna
|
17
|
+
#=> echo CCUCGAGGGGAACCCGAAAGGGACCCGAGAGG | rnafold --noPS
|
18
|
+
#=> Total runtime: 0.013 sec.
|
19
|
+
#=> #<ViennaRna::ViennaRna::Rna CCUCGAGGGGAACCCGAAAG... ((((..(((...(((....) [truncated]>
|