htslib 0.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ # Create a skeleton using hts-python as a reference.
2
+ # https://github.com/quinlan-lab/hts-python
3
+
4
+ class Tbx
5
+ def initialize; end
6
+
7
+ def build; end
8
+
9
+ def sequences; end
10
+
11
+ # def __call__\
12
+ end
@@ -0,0 +1,28 @@
1
+ # Create a skeleton using hts-python as a reference.
2
+ # https://github.com/quinlan-lab/hts-python
3
+
4
+ class VCF
5
+ def initialize; end
6
+
7
+ def inspect; end
8
+
9
+ def each; end
10
+
11
+ def seq; end
12
+
13
+ def n_samples; end
14
+ end
15
+
16
+ class Variant
17
+ def initialize; end
18
+
19
+ def inspect; end
20
+
21
+ def formats; end
22
+
23
+ def genotypes; end
24
+ end
25
+
26
+ class Format
27
+ def initialize; end
28
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HTS
4
+ VERSION = '0.0.0.pre'
5
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'ffi'
4
+
5
+ require 'hts/version'
6
+
7
+ module HTS
8
+ class Error < StandardError; end
9
+
10
+ class << self
11
+ attr_accessor :ffi_lib
12
+ end
13
+ self.ffi_lib = File.expand_path("libhts.#{FFI::Platform::LIBSUFFIX}", ENV['HTSLIBDIR'])
14
+ autoload :FFI, 'hts/ffi'
15
+ end
16
+
17
+ # alias
18
+ HTSlib = HTS
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: htslib
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0.pre
5
+ platform: ruby
6
+ authors:
7
+ - kojix2
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-08-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ffi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description:
98
+ email:
99
+ - 2xijok@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - LICENSE.txt
105
+ - README.md
106
+ - lib/hts/bam.rb
107
+ - lib/hts/fai.rb
108
+ - lib/hts/ffi.rb
109
+ - lib/hts/ffi/bgzf.rb
110
+ - lib/hts/ffi/faidx.rb
111
+ - lib/hts/ffi/hfile.rb
112
+ - lib/hts/ffi/hts.rb
113
+ - lib/hts/ffi/kfunc.rb
114
+ - lib/hts/ffi/sam.rb
115
+ - lib/hts/ffi/struct.rb
116
+ - lib/hts/ffi/tbx.rb
117
+ - lib/hts/ffi_constants.rb
118
+ - lib/hts/tbx.rb
119
+ - lib/hts/vcf.rb
120
+ - lib/hts/version.rb
121
+ - lib/htslib.rb
122
+ homepage: https://github.com/kojix2/ruby-htslib
123
+ licenses:
124
+ - MIT
125
+ metadata: {}
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '2.4'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">"
138
+ - !ruby/object:Gem::Version
139
+ version: 1.3.1
140
+ requirements: []
141
+ rubygems_version: 3.1.2
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: HTSlib bindings for Ruby
145
+ test_files: []