fasta_util 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/fasta_util +2 -2
- data/fasta_util.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/bin/fasta_util
CHANGED
@@ -95,9 +95,9 @@ class FastaUtility < Thor
|
|
95
95
|
invoke :filecheck
|
96
96
|
composition_hash = Hash[Bio::FlatFile.open(filename).map{|entry| [entry.definition, entry.seq.composition]}]
|
97
97
|
|
98
|
-
all_chars = composition_hash.values.map{|h| h.keys}.inject(:+).
|
98
|
+
all_chars = composition_hash.values.map{|h| h.keys}.inject(:+).uniq.sort
|
99
99
|
|
100
|
-
puts "definition\t#{all_chars.
|
100
|
+
puts "definition\t#{all_chars.join("\t")}"
|
101
101
|
composition_hash.each do |definition, composition|
|
102
102
|
composition.default = 0
|
103
103
|
print definition, "\t"
|
data/fasta_util.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fasta_util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- robsyme
|
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
125
|
requirements:
|
126
126
|
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
hash:
|
128
|
+
hash: 2929691451831770963
|
129
129
|
segments:
|
130
130
|
- 0
|
131
131
|
version: "0"
|