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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/fasta_util +2 -2
  3. data/fasta_util.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
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(:+).to_set
98
+ all_chars = composition_hash.values.map{|h| h.keys}.inject(:+).uniq.sort
99
99
 
100
- puts "definition\t#{all_chars.to_a.join("\t")}"
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fasta_util}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["robsyme"]
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.0
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: -421712537586483233
128
+ hash: 2929691451831770963
129
129
  segments:
130
130
  - 0
131
131
  version: "0"