lederhosen 0.2.6 → 0.2.7
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/lib/lederhosen/tasks/uc_filter.rb +2 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
##
|
|
2
2
|
# FILTER UC FILE BY MIN SAMPLES
|
|
3
3
|
#
|
|
4
|
+
require 'set'
|
|
4
5
|
|
|
5
6
|
module Lederhosen
|
|
6
7
|
class CLI
|
|
@@ -28,7 +29,7 @@ module Lederhosen
|
|
|
28
29
|
b.reject{ |i, j| j < reads }.length < samples
|
|
29
30
|
end
|
|
30
31
|
|
|
31
|
-
surviving_clusters = survivors.keys
|
|
32
|
+
surviving_clusters = survivors.keys.to_set
|
|
32
33
|
|
|
33
34
|
# print filtered uc file
|
|
34
35
|
out = File.open(output, 'w')
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lederhosen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.2.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Austin G. Davis-Richardson
|