ngs_server 0.2.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ngs_server/version.rb +1 -1
- data/lib/ngs_server.rb +2 -2
- data/ngs_server.gemspec +1 -1
- metadata +4 -20
data/lib/ngs_server/version.rb
CHANGED
data/lib/ngs_server.rb
CHANGED
@@ -21,7 +21,7 @@ class MyNgsServer < Sinatra::Base
|
|
21
21
|
content_type :json
|
22
22
|
response['Access-Control-Allow-Origin'] = '*';
|
23
23
|
|
24
|
-
# invoke with eg: base_url/json/bam/
|
24
|
+
# invoke with eg: base_url/json/bam/subset22-sorted.bam?min=30000000&max=30010000&segment=22
|
25
25
|
json = `#{bamtools_path} convert -in #{datapath}/#{path} -format json -region #{params["segment"]}:#{params["min"]}..#{params["max"]}`
|
26
26
|
json
|
27
27
|
|
@@ -32,7 +32,7 @@ class MyNgsServer < Sinatra::Base
|
|
32
32
|
content_type :json
|
33
33
|
response['Access-Control-Allow-Origin'] = '*';
|
34
34
|
|
35
|
-
# invoke with eg: base_url/json/vcf/
|
35
|
+
# invoke with eg: base_url/json/vcf/ALL.2of4intersection.20100804.sites.vcf.gz?min=6992179&max=6992190&segment=1
|
36
36
|
json = `#{vcftools_path} #{datapath}/#{path} #{params["segment"]}:#{params["min"]}-#{params["max"]} -f '{"reference":"%CHROM","position":%POS,"ref":"%REF","alt":"%ALT","info":%INFO},'`
|
37
37
|
json
|
38
38
|
|
data/ngs_server.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ngs_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
version: 0.2.2
|
4
|
+
prerelease:
|
5
|
+
version: "0.3"
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Chase Miller
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-12-
|
13
|
+
date: 2011-12-19 00:00:00 -05:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,9 +21,6 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 1
|
30
|
-
- 2
|
31
24
|
version: "1.2"
|
32
25
|
type: :runtime
|
33
26
|
version_requirements: *id001
|
@@ -39,9 +32,6 @@ dependencies:
|
|
39
32
|
requirements:
|
40
33
|
- - ">="
|
41
34
|
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 1
|
44
|
-
- 2
|
45
35
|
version: "1.2"
|
46
36
|
type: :runtime
|
47
37
|
version_requirements: *id002
|
@@ -53,8 +43,6 @@ dependencies:
|
|
53
43
|
requirements:
|
54
44
|
- - ">="
|
55
45
|
- !ruby/object:Gem::Version
|
56
|
-
segments:
|
57
|
-
- 1
|
58
46
|
version: "1"
|
59
47
|
type: :runtime
|
60
48
|
version_requirements: *id003
|
@@ -609,21 +597,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
609
597
|
requirements:
|
610
598
|
- - ">="
|
611
599
|
- !ruby/object:Gem::Version
|
612
|
-
segments:
|
613
|
-
- 0
|
614
600
|
version: "0"
|
615
601
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
616
602
|
none: false
|
617
603
|
requirements:
|
618
604
|
- - ">="
|
619
605
|
- !ruby/object:Gem::Version
|
620
|
-
segments:
|
621
|
-
- 0
|
622
606
|
version: "0"
|
623
607
|
requirements: []
|
624
608
|
|
625
609
|
rubyforge_project: ngs_server
|
626
|
-
rubygems_version: 1.
|
610
|
+
rubygems_version: 1.6.2
|
627
611
|
signing_key:
|
628
612
|
specification_version: 3
|
629
613
|
summary: "\"Ultra Lightweight NGS Data Server\""
|