iroki 0.0.26 → 0.0.27

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: 9cf667ad18dfe8bbbbe321c56bcda4c7cb308fd9
4
- data.tar.gz: 637d39d6337b01a3e91bb194fdd6ead4ec4293c4
3
+ metadata.gz: 3b2edb3ca335f17d6a626dfb3942e126406aee07
4
+ data.tar.gz: 8ce0d9190c92bde7dd7df73002e2521fefd3fd90
5
5
  SHA512:
6
- metadata.gz: 91d870557644bf808a515af2c31d930a2e707dcfeff79f97ca377b0641725727bb7942fa6d9b9258afa5a77d187fbbeee90785b4e8814fb8ccb32b3311a71fd1
7
- data.tar.gz: 27f6130d57b4d6222f4f5d0f3b3a797f963775796ab2d253c9c3bad72b54577e42604c41f236f1fb3f77746cf4b7ecb4874efbae2004fd8c9f22e6440b168290
6
+ metadata.gz: 1b88a8d47e9034dfc393020d54a011f986ea1cbb291479213ed779a8f1220cabc415c7c6c7cfcb2915e7b5e5e7306e9e33196d6f0cba0d6194c676c3ae1c4f07
7
+ data.tar.gz: 32530d5109ff8868232d224e78d78a5ff88a8d549ebba7646772cc736eddbe15c84cf80808f17594e07863780371e3c8198198a056b0db7edf5b64a1d4aec6bf
data/CHANGELOG.md ADDED
@@ -0,0 +1,113 @@
1
+ # Change Log #
2
+
3
+ ### 0.0.1 ###
4
+
5
+ Migrate from [color_tree](https://github.com/mooreryan/color_tree) to
6
+ Iroki.
7
+
8
+ ### 0.0.2 ###
9
+
10
+ Add [iroki](https://github.com/mooreryan/iroki/blob/master/exe/iroki)
11
+ executable, and use RubyGems for installation.
12
+
13
+ ### 0.0.3 ###
14
+
15
+ Add a [Dockerfile](https://github.com/mooreryan/iroki/blob/master/Dockerfile) and a [wrapper script](https://github.com/mooreryan/iroki/blob/master/exe/iroki_docker) for running Iroki with Docker.
16
+
17
+ ### 0.0.4 ###
18
+
19
+ Fix the `iroki_docker` install bug.
20
+
21
+ ### 0.0.5 ###
22
+
23
+ Add `newick_to_phyloxml` script.
24
+
25
+ ### 0.0.6 ###
26
+
27
+ Add branch length and bootstraps to `newick_to_phyloxml`.
28
+
29
+ ### 0.0.7 ###
30
+
31
+ Add `reorder_nodes` script.
32
+
33
+ ### 0.0.8 ###
34
+
35
+ - Add auto coloring with Kelly theme
36
+ - Add ability to color branches and labels separately
37
+
38
+ ### 0.0.9 ###
39
+
40
+ - Add single sample color gradients (one and two color)
41
+
42
+ ### 0.0.10 ###
43
+
44
+ - Fix Jess's bug
45
+
46
+ ### 0.0.11 ###
47
+
48
+ - Add two color, two group color gradients from biom files
49
+
50
+ ### 0.0.12 ###
51
+
52
+ - Bug fixes
53
+
54
+ ### 0.0.13 ###
55
+
56
+ - Handle bad command line input
57
+
58
+ ### 0.0.14 ###
59
+
60
+ - Add more specs and various improvements
61
+
62
+ ### 0.0.15 ###
63
+
64
+ - `.ruby-version` file was being weird when user didn't have the correct ruby
65
+
66
+ ### 0.0.16 ###
67
+
68
+ - Allow unusual characters in label names ([GitHub issue](https://github.com/mooreryan/iroki/issues/2))
69
+ - Fix no method `clean` bug ([GitHub issue](https://github.com/mooreryan/iroki/issues/3))
70
+
71
+ ### 0.0.17 ###
72
+
73
+ - Color map can override color gradient from biom file
74
+
75
+ ### 0.0.18 ###
76
+
77
+ - `Iroki::Main::main` returns `:success` (for `iroki.net`)
78
+
79
+ ### 0.0.19 ###
80
+
81
+ - Remove assertion that color map cannot have entries that aren't in the newick file
82
+
83
+ ### 0.0.20 ###
84
+
85
+ - Handle more examples of bad biom files and bad name maps
86
+
87
+ ### 0.0.21 ###
88
+
89
+ - Fix empty branch tag bug (issue 6)
90
+
91
+ ### 0.0.22 ###
92
+
93
+ - Strip whitespace from beginning and end of entries in color map and name map
94
+
95
+ ### 0.0.23 ###
96
+
97
+ - `Iroki::Main::main` returns the nexus string (for `iroki.net`)
98
+
99
+ ### 0.0.24 ###
100
+
101
+ - Add `Iroki::Main::iroki_job` runs Iroki w/o needing an output file (for `iroki.net`)
102
+
103
+ ### 0.0.25 ###
104
+
105
+ - Bugfix
106
+
107
+ ### 0.0.26 ###
108
+
109
+ - Basic validation of Newick files (issue 9)
110
+
111
+ ### 0.0.27 ###
112
+
113
+ - Remove some debugging statements
data/README.md CHANGED
@@ -78,113 +78,3 @@ be a safe, welcoming space for collaboration, and contributors are
78
78
  expected to adhere to the
79
79
  [Contributor Covenant](http://contributor-covenant.org) code of
80
80
  conduct.
81
-
82
- ## Version Info ##
83
-
84
- ### 0.0.1 ###
85
-
86
- Migrate from [color_tree](https://github.com/mooreryan/color_tree) to
87
- Iroki.
88
-
89
- ### 0.0.2 ###
90
-
91
- Add [iroki](https://github.com/mooreryan/iroki/blob/master/exe/iroki)
92
- executable, and use RubyGems for installation.
93
-
94
- ### 0.0.3 ###
95
-
96
- Add a [Dockerfile](https://github.com/mooreryan/iroki/blob/master/Dockerfile) and a [wrapper script](https://github.com/mooreryan/iroki/blob/master/exe/iroki_docker) for running Iroki with Docker.
97
-
98
- ### 0.0.4 ###
99
-
100
- Fix the `iroki_docker` install bug.
101
-
102
- ### 0.0.5 ###
103
-
104
- Add `newick_to_phyloxml` script.
105
-
106
- ### 0.0.6 ###
107
-
108
- Add branch length and bootstraps to `newick_to_phyloxml`.
109
-
110
- ### 0.0.7 ###
111
-
112
- Add `reorder_nodes` script.
113
-
114
- ### 0.0.8 ###
115
-
116
- - Add auto coloring with Kelly theme
117
- - Add ability to color branches and labels separately
118
-
119
- ### 0.0.9 ###
120
-
121
- - Add single sample color gradients (one and two color)
122
-
123
- ### 0.0.10 ###
124
-
125
- - Fix Jess's bug
126
-
127
- ### 0.0.11 ###
128
-
129
- - Add two color, two group color gradients from biom files
130
-
131
- ### 0.0.12 ###
132
-
133
- - Bug fixes
134
-
135
- ### 0.0.13 ###
136
-
137
- - Handle bad command line input
138
-
139
- ### 0.0.14 ###
140
-
141
- - Add more specs and various improvements
142
-
143
- ### 0.0.15 ###
144
-
145
- - `.ruby-version` file was being weird when user didn't have the correct ruby
146
-
147
- ### 0.0.16 ###
148
-
149
- - Allow unusual characters in label names ([GitHub issue](https://github.com/mooreryan/iroki/issues/2))
150
- - Fix no method `clean` bug ([GitHub issue](https://github.com/mooreryan/iroki/issues/3))
151
-
152
- ### 0.0.17 ###
153
-
154
- - Color map can override color gradient from biom file
155
-
156
- ### 0.0.18 ###
157
-
158
- - `Iroki::Main::main` returns `:success` (for `iroki.net`)
159
-
160
- ### 0.0.19 ###
161
-
162
- - Remove assertion that color map cannot have entries that aren't in the newick file
163
-
164
- ### 0.0.20 ###
165
-
166
- - Handle more examples of bad biom files and bad name maps
167
-
168
- ### 0.0.21 ###
169
-
170
- - Fix empty branch tag bug (issue 6)
171
-
172
- ### 0.0.22 ###
173
-
174
- - Strip whitespace from beginning and end of entries in color map and name map
175
-
176
- ### 0.0.23 ###
177
-
178
- - `Iroki::Main::main` returns the nexus string (for `iroki.net`)
179
-
180
- ### 0.0.24 ###
181
-
182
- - Add `Iroki::Main::iroki_job` runs Iroki w/o needing an output file (for `iroki.net`)
183
-
184
- ### 0.0.25 ###
185
-
186
- - Bugfix
187
-
188
- ### 0.0.26 ###
189
-
190
- - Basic validation of Newick files (issue 9)
@@ -45,7 +45,6 @@ module Iroki
45
45
  first_char = str[0]
46
46
  last_char = str[-1]
47
47
 
48
- p [:ryan, first_char, last_char]
49
48
  first_char == "(" && last_char == ";"
50
49
  end
51
50
 
@@ -69,9 +69,7 @@ module Iroki
69
69
 
70
70
  # clean the name no matter what
71
71
  if node.name
72
- # puts "before haha: #{node.name}"
73
72
  node.name = node.name #.clean_name
74
- # puts "after haha: #{node.name}"
75
73
  else
76
74
  node.name = nil
77
75
  end
@@ -89,9 +87,7 @@ module Iroki
89
87
  color = add_color_to_leaf_branch patterns, node, exact, iroki_to_name
90
88
 
91
89
  # add color to the name
92
- # p [:before, node.name]
93
90
  node.name = node.name + color[:branch] if color
94
- # p [:after, node.name]
95
91
  elsif !leaf?(tree, node)
96
92
  children = tree.children(node) # get the children
97
93
  children_colors = []
data/lib/iroki/version.rb CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  # Library metadata
20
20
  module Iroki
21
- VERSION = "0.0.26"
21
+ VERSION = "0.0.27"
22
22
  COPYRIGHT = "2015 - 2016 Ryan Moore"
23
23
  CONTACT = "moorer@udel.edu"
24
24
  WEBSITE = "https://github.com/mooreryan/iroki"
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.26
4
+ version: 0.0.27
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-09-23 00:00:00.000000000 Z
11
+ date: 2016-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -177,6 +177,7 @@ files:
177
177
  - ".gitignore"
178
178
  - ".rspec"
179
179
  - ".travis.yml"
180
+ - CHANGELOG.md
180
181
  - CODE_OF_CONDUCT.md
181
182
  - COPYING
182
183
  - Dockerfile