iroki 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6237d1b3fbbf5a40900fd258a1d37dc8e2e3310
4
- data.tar.gz: fd73d9cd53b4577197e946c0b3a64eb1b80e1ba2
3
+ metadata.gz: 69717b5991088fd0d89e5bf7974955ea03af14c9
4
+ data.tar.gz: 9b0f15bbc947be7f8873a054b37a0efdf1fc98c0
5
5
  SHA512:
6
- metadata.gz: 9600401655717a00891a78ff38d15efb056a46afe0571eab2f476fff3a5aa3ed0f740cdd7e10751bf197ffb49bfd79d957394bb443df5ffda97ea7763fed6553
7
- data.tar.gz: 8796d151822fa3921608dd65688561b08913411a489f3be76775ccf654cec4d91ab7915226edf2a66e697c25f1ff9eb7080efc387139acf83d5a27def0ab325d
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 count_or_rel_abund? str
20
- str.match /\A[01]?.?[0-9]+\Z/
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 count_or_rel_abund?(count),
43
- "The value '#{count}' in the biom file " +
44
- "was not a count or relative abundance"
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.29"
22
- COPYRIGHT = "2015 - 2016 Ryan Moore"
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.29
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: 2016-10-13 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler