lederhosen 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/lederhosen.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lederhosen"
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Austin G. Davis-Richardson"]
@@ -12,11 +12,11 @@ module Lederhosen
12
12
  method_option :strand, :type => :string, :default => 'plus'
13
13
 
14
14
  def cluster
15
- input = options[:input]
16
- database = options[:database]
15
+ input = File.expand_path(options[:input])
16
+ database = File.expand_path(options[:database])
17
17
  threads = options[:threads]
18
18
  identity = options[:identity]
19
- output = options[:output]
19
+ output = File.expand_path(options[:output])
20
20
  strand = options[:strand]
21
21
 
22
22
  ohai "clustering #{input} to #{database} and saving to #{output}"
@@ -10,8 +10,8 @@ module Lederhosen
10
10
 
11
11
  def get_reps
12
12
  inputs = Dir[options[:input]]
13
- database = options[:database]
14
- output = options[:output]
13
+ database = File.expand_path(options[:database])
14
+ output = File.expand_path(options[:output])
15
15
 
16
16
  taxa = Set.new
17
17
 
@@ -12,7 +12,7 @@ module Lederhosen
12
12
  def join_otu_tables
13
13
 
14
14
  input = Dir[options[:input]]
15
- output = options[:output]
15
+ output = File.expand_path(options[:output])
16
16
 
17
17
  ohai "combining #{input.size} file(s) and saving to #{output}"
18
18
 
@@ -11,8 +11,8 @@ module Lederhosen
11
11
  method_option :samples, :type => :numeric, :required => true
12
12
 
13
13
  def otu_filter
14
- input = options[:input]
15
- output = options[:output]
14
+ input = File.expand_path(options[:input])
15
+ output = File.expand_path(options[:output])
16
16
  reads = options[:reads]
17
17
  min_samples = options[:samples]
18
18
 
@@ -16,7 +16,7 @@ module Lederhosen
16
16
  method_option :gzip, :type => :boolean, :default => false
17
17
 
18
18
  def split_fasta
19
- input = options[:input]
19
+ input = File.expand_path(options[:input])
20
20
  out_dir = options[:out_dir]
21
21
  n = options[:n].to_i
22
22
  gzip = options[:gzip]
@@ -3,7 +3,7 @@ module Lederhosen
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
5
  CODENAME = 'Regenmantel' # changes for minor versions
6
- PATCH = 1
6
+ PATCH = 2
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lederhosen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  segments:
161
161
  - 0
162
- hash: -2571588270597711944
162
+ hash: 3469551322698275047
163
163
  required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  none: false
165
165
  requirements: