iroki 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/lib/iroki/biom.rb +6 -5
- data/lib/iroki/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69717b5991088fd0d89e5bf7974955ea03af14c9
|
|
4
|
+
data.tar.gz: 9b0f15bbc947be7f8873a054b37a0efdf1fc98c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea4e5b5993f3ea964d95a20e80b032381ca0cfe7e05dbf989fa4c078f7d866fda969e556684d51b9a1df2a49fd98156a90c3c90b9acd0f78a85c9d884ecb0aa2
|
|
7
|
+
data.tar.gz: 5f08eedacc62bd70215f5794e9fe8009a1ff31a5f8916c40ce196155667f181fc864495e89c5ee695fb4d9c9c4508c543bc8ad36e98c22e491ed8d2980908c6b
|
data/README.md
CHANGED
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
Command line app and library code for Iroki, a phylogenetic tree
|
|
12
12
|
customization program.
|
|
13
13
|
|
|
14
|
+
## Citation ##
|
|
15
|
+
|
|
16
|
+
Iroki is research software. If you use Iroki, please cite the Iroki preprint:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
Moore RM, Harrison AO, McAllister SM, Marine R, Chan C, Wommack KE. 2017. Iroki: automatic customization for phylogenetic trees. doi: https://doi.org/10.1101/106138
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Documentation ##
|
|
23
|
+
|
|
24
|
+
For in depth docs and examples, please see the [Iroki wiki](https://github.com/mooreryan/iroki/wiki) page.
|
|
25
|
+
|
|
14
26
|
## Installation ##
|
|
15
27
|
|
|
16
28
|
### Running with Docker ###
|
data/lib/iroki/biom.rb
CHANGED
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
# You should have received a copy of the GNU General Public License
|
|
17
17
|
# along with Iroki. If not, see <http://www.gnu.org/licenses/>.
|
|
18
18
|
|
|
19
|
-
def
|
|
20
|
-
|
|
19
|
+
def valid_numerical_val? str
|
|
20
|
+
# looks something like sci notation
|
|
21
|
+
str.match(/[-+]?[0-9]?\.?[0-9]?[eE]?[-+]?[0-9]+/)
|
|
21
22
|
end
|
|
22
23
|
|
|
23
24
|
module Iroki
|
|
@@ -39,9 +40,9 @@ module Iroki
|
|
|
39
40
|
"Line #{idx+1} has no sample"
|
|
40
41
|
|
|
41
42
|
the_counts.flatten.each do |count|
|
|
42
|
-
abort_unless
|
|
43
|
-
"The value '#{count}' in the
|
|
44
|
-
"
|
|
43
|
+
abort_unless valid_numerical_val?(count),
|
|
44
|
+
"The value '#{count}' in the " +
|
|
45
|
+
"biom file might not be valid"
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
if lineno.zero?
|
data/lib/iroki/version.rb
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
# Library metadata
|
|
20
20
|
module Iroki
|
|
21
|
-
VERSION = "0.0.
|
|
22
|
-
COPYRIGHT = "2015 -
|
|
21
|
+
VERSION = "0.0.30"
|
|
22
|
+
COPYRIGHT = "2015 - 2017 Ryan Moore"
|
|
23
23
|
CONTACT = "moorer@udel.edu"
|
|
24
24
|
WEBSITE = "https://github.com/mooreryan/iroki"
|
|
25
25
|
LICENSE = "GPLv3"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iroki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Moore
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|