rput 0.1.2 → 0.1.3
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.
- data/VERSION +1 -1
- data/lib/starter.rb +3 -1
- data/rput.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/lib/starter.rb
CHANGED
|
@@ -42,7 +42,7 @@ class CycleController
|
|
|
42
42
|
opts += " " + @opts[:exp_name].to_s
|
|
43
43
|
opts += " " + @opts[:base_dir].to_s
|
|
44
44
|
puts "./#{script} #{opts}"
|
|
45
|
-
system "./#{script} #{opts}"
|
|
45
|
+
system "./#{script} #{opts} > #{File.join @base_dir, "starter.log")}"
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -110,6 +110,8 @@ class TreeBunchStarter
|
|
|
110
110
|
# prepare the parsimony starting trees
|
|
111
111
|
raise "prev bunch not ready #{@prev_bestML_bunch}" unless File.exist?(@prev_bestML_bunch)
|
|
112
112
|
last_best_bunch = NewickFile.new(@prev_bestML_bunch)
|
|
113
|
+
# TODO this save_each_newick_as should be wrapped around sth. that considers a list of outliers and
|
|
114
|
+
# prunes out the ouliers before saving as "prev_parsi_tree" to make it compatible with the next round
|
|
113
115
|
last_best_bunch.save_each_newick_as(File.join(@parsimony_trees_dir, 'prev_parsi_tree'), "nw")
|
|
114
116
|
prev_trees = Dir.entries(@parsimony_trees_dir).select{|f| f =~ /^prev_parsi_tree/}
|
|
115
117
|
if num_bestML_trees > num_parsi_trees * prev_trees.size
|
data/rput.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{rput}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = [%q{Fernando Izquierdo-Carrasco}]
|
|
12
|
-
s.date = %q{2012-04-
|
|
12
|
+
s.date = %q{2012-04-13}
|
|
13
13
|
s.description = %q{Automated iterations of raxml runs over externally-extended phylip files}
|
|
14
14
|
s.email = %q{fer.izquierdo@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rput
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Fernando Izquierdo-Carrasco
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-04-
|
|
18
|
+
date: 2012-04-13 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
type: :development
|