fasta_util 0.4.0 → 0.5.0
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 +1 -1
- data/fasta_util.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/bin/fasta_util
CHANGED
@@ -63,7 +63,7 @@ class FastaUtility < Thor
|
|
63
63
|
def filter(filename)
|
64
64
|
invoke :filecheck
|
65
65
|
invoke :filecheck, [options.definitions_file]
|
66
|
-
requested_definitions = File.open(options.definitions_file).map{|definition| definition.strip}
|
66
|
+
requested_definitions = File.open(options.definitions_file).map{|definition| definition.strip} if options.definitions_file
|
67
67
|
Bio::FlatFile.open(filename).each do |entry|
|
68
68
|
passed = true
|
69
69
|
passed &&= (entry.length >= options.length_cutoff)
|
data/fasta_util.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fasta_util}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.5.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["robsyme"]
|
12
|
-
s.date = %q{2011-07-
|
12
|
+
s.date = %q{2011-07-13}
|
13
13
|
s.default_executable = %q{fasta_util}
|
14
14
|
s.description = %q{Easy fasta filtering, wrapping, calculating common statistics, sorting etc. Based on the fasta_tool script that I think was written by Jason Stajich.}
|
15
15
|
s.email = %q{rob.syme@gmail.com}
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fasta_util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.5.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- robsyme
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-13 00:00:00 +08:00
|
14
14
|
default_executable: fasta_util
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -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: 221242491910546500
|
129
129
|
segments:
|
130
130
|
- 0
|
131
131
|
version: "0"
|