bio-bwa 0.2.1 → 0.2.2
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/VERSION +1 -1
- data/bio-bwa.gemspec +2 -3
- data/lib/bio/bwa.rb +3 -3
- metadata +3 -4
- data/ext/bwt_gen/Makefile +0 -23
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/bio-bwa.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bio-bwa}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.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 = ["Francesco Strozzi"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-04-15}
|
13
13
|
s.description = %q{Ruby binding for BWA mapping software, built using Ruby-FFI library}
|
14
14
|
s.email = %q{francesco.strozzi@gmail.com}
|
15
15
|
s.extensions = ["ext/mkrf_conf.rb"]
|
@@ -59,7 +59,6 @@ Gem::Specification.new do |s|
|
|
59
59
|
"ext/bwaseqio.c",
|
60
60
|
"ext/bwt.c",
|
61
61
|
"ext/bwt.h",
|
62
|
-
"ext/bwt_gen/Makefile",
|
63
62
|
"ext/bwt_gen/QSufSort.c",
|
64
63
|
"ext/bwt_gen/QSufSort.h",
|
65
64
|
"ext/bwt_gen/bwt_gen.c",
|
data/lib/bio/bwa.rb
CHANGED
@@ -9,7 +9,7 @@ module Bio
|
|
9
9
|
# @option params [String] :file_in the Fasta or FastQ file (REQUIRED)
|
10
10
|
# @option params [String] :prefix the prefix name for the PAC file
|
11
11
|
def self.fa2pac(params={})
|
12
|
-
valid_params = %
|
12
|
+
valid_params = %w(file_in prefix)
|
13
13
|
last_params = [:file_in, :prefix]
|
14
14
|
mandatory_params = [:file_in]
|
15
15
|
check_mandatory(mandatory_params, params)
|
@@ -22,7 +22,7 @@ module Bio
|
|
22
22
|
# @option params [String] :file_in the PAC file (REQUIRED)
|
23
23
|
# @option params [String] :file_out the name of the BWT file (REQUIRED)
|
24
24
|
def self.pac2bwt(params={})
|
25
|
-
valid_params = %
|
25
|
+
valid_params = %w(file_in file_out)
|
26
26
|
last_params = [:file_in,:file_out]
|
27
27
|
check_mandatory(last_params, params)
|
28
28
|
args = build_parameters("pac2bwt",valid_params,params,last_params)
|
@@ -58,7 +58,7 @@ module Bio
|
|
58
58
|
# @option params [String] :file_in the PAC file (REQUIRED)
|
59
59
|
# @option params [String] :file_out the name of the REV PAC (REQUIRED)
|
60
60
|
def self.bwt2sa(params={})
|
61
|
-
valid_params = %
|
61
|
+
valid_params = %w(file_in file_out i)
|
62
62
|
last_params = [:file_in,:file_out]
|
63
63
|
check_mandatory(last_params, params)
|
64
64
|
args = build_parameters("bwt2sa",valid_params,params,last_params)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bio-bwa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Francesco Strozzi
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-04-15 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -130,7 +130,6 @@ files:
|
|
130
130
|
- ext/bwaseqio.c
|
131
131
|
- ext/bwt.c
|
132
132
|
- ext/bwt.h
|
133
|
-
- ext/bwt_gen/Makefile
|
134
133
|
- ext/bwt_gen/QSufSort.c
|
135
134
|
- ext/bwt_gen/QSufSort.h
|
136
135
|
- ext/bwt_gen/bwt_gen.c
|
@@ -193,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
192
|
requirements:
|
194
193
|
- - ">="
|
195
194
|
- !ruby/object:Gem::Version
|
196
|
-
hash:
|
195
|
+
hash: -2614376083052286076
|
197
196
|
segments:
|
198
197
|
- 0
|
199
198
|
version: "0"
|
data/ext/bwt_gen/Makefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
CC= gcc
|
2
|
-
CFLAGS= -g -Wall -O2 -m64 # comment out `-m64' for 32-bit compilation
|
3
|
-
DFLAGS= -D_FILE_OFFSET_BITS=64
|
4
|
-
OBJS= bwt_gen.o QSufSort.o
|
5
|
-
INCLUDES=
|
6
|
-
VERSION= 0.1.0
|
7
|
-
LIBS=
|
8
|
-
SUBDIRS=
|
9
|
-
|
10
|
-
.SUFFIXES:.c .o
|
11
|
-
|
12
|
-
.c.o:
|
13
|
-
$(CC) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
|
14
|
-
|
15
|
-
lib:libbwtgen.a
|
16
|
-
|
17
|
-
libbwtgen.a:$(OBJS)
|
18
|
-
$(AR) -cru $@ $(OBJS)
|
19
|
-
|
20
|
-
cleanlocal:
|
21
|
-
rm -f gmon.out *.o a.out $(PROG) *~ *.a
|
22
|
-
|
23
|
-
clean:cleanlocal
|