bio-samtools-wrapper 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.travis.yml +27 -0
  4. data/Gemfile +20 -0
  5. data/LICENSE.txt +702 -0
  6. data/README.md +501 -0
  7. data/Rakefile +73 -0
  8. data/VERSION +1 -0
  9. data/bin/bam_consensus.rb +85 -0
  10. data/bio-samtools-wrapper.gemspec +181 -0
  11. data/doc/Bio/DB/Alignment.html +552 -0
  12. data/doc/Bio/DB/Pileup.html +711 -0
  13. data/doc/Bio/DB/SAM/Library.html +167 -0
  14. data/doc/Bio/DB/SAM/Tools.html +109 -0
  15. data/doc/Bio/DB/SAM.html +1853 -0
  16. data/doc/Bio/DB/Tag.html +208 -0
  17. data/doc/Bio/DB/Vcf.html +431 -0
  18. data/doc/Bio/DB.html +105 -0
  19. data/doc/Bio.html +175 -0
  20. data/doc/LICENSE_txt.html +846 -0
  21. data/doc/created.rid +9 -0
  22. data/doc/fonts/Lato-Light.ttf +0 -0
  23. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  24. data/doc/fonts/Lato-Regular.ttf +0 -0
  25. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  26. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  27. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  28. data/doc/fonts.css +167 -0
  29. data/doc/images/add.png +0 -0
  30. data/doc/images/arrow_up.png +0 -0
  31. data/doc/images/brick.png +0 -0
  32. data/doc/images/brick_link.png +0 -0
  33. data/doc/images/bug.png +0 -0
  34. data/doc/images/bullet_black.png +0 -0
  35. data/doc/images/bullet_toggle_minus.png +0 -0
  36. data/doc/images/bullet_toggle_plus.png +0 -0
  37. data/doc/images/date.png +0 -0
  38. data/doc/images/delete.png +0 -0
  39. data/doc/images/find.png +0 -0
  40. data/doc/images/loadingAnimation.gif +0 -0
  41. data/doc/images/macFFBgHack.png +0 -0
  42. data/doc/images/package.png +0 -0
  43. data/doc/images/page_green.png +0 -0
  44. data/doc/images/page_white_text.png +0 -0
  45. data/doc/images/page_white_width.png +0 -0
  46. data/doc/images/plugin.png +0 -0
  47. data/doc/images/ruby.png +0 -0
  48. data/doc/images/tag_blue.png +0 -0
  49. data/doc/images/tag_green.png +0 -0
  50. data/doc/images/transparent.png +0 -0
  51. data/doc/images/wrench.png +0 -0
  52. data/doc/images/wrench_orange.png +0 -0
  53. data/doc/images/zoom.png +0 -0
  54. data/doc/index.html +106 -0
  55. data/doc/js/darkfish.js +140 -0
  56. data/doc/js/jquery.js +18 -0
  57. data/doc/js/navigation.js +142 -0
  58. data/doc/js/search.js +109 -0
  59. data/doc/js/search_index.js +1 -0
  60. data/doc/js/searcher.js +228 -0
  61. data/doc/rdoc.css +580 -0
  62. data/doc/table_of_contents.html +305 -0
  63. data/ext/Makefile-bioruby.patch +12 -0
  64. data/ext/Makefile-suse.patch +11 -0
  65. data/ext/mkrf_conf.rb +118 -0
  66. data/lib/bio/BIOExtensions.rb +89 -0
  67. data/lib/bio/db/alignment.rb +64 -0
  68. data/lib/bio/db/fastadb.rb +320 -0
  69. data/lib/bio/db/pileup.rb +273 -0
  70. data/lib/bio/db/sam/external/COPYING +21 -0
  71. data/lib/bio/db/sam/external/VERSION +1 -0
  72. data/lib/bio/db/sam/library.rb +32 -0
  73. data/lib/bio/db/sam.rb +778 -0
  74. data/lib/bio/db/vcf.rb +105 -0
  75. data/lib/bio-samtools-wrapper.rb +9 -0
  76. data/test/.gitignore +1 -0
  77. data/test/helper.rb +18 -0
  78. data/test/sample.vcf +24 -0
  79. data/test/samples/.gitignore +1 -0
  80. data/test/samples/LCI/NC_001988.ffn +2 -0
  81. data/test/samples/LCI/test.bam +0 -0
  82. data/test/samples/LCI/test.bam.bai +0 -0
  83. data/test/samples/small/dupes.bam +0 -0
  84. data/test/samples/small/dupes.sam +274 -0
  85. data/test/samples/small/ids2.txt +1 -0
  86. data/test/samples/small/map_for_reheader.sam +8 -0
  87. data/test/samples/small/map_to_merge1.bam +0 -0
  88. data/test/samples/small/map_to_merge1.bam.bai +0 -0
  89. data/test/samples/small/map_to_merge1.sam +8 -0
  90. data/test/samples/small/map_to_merge2.bam +0 -0
  91. data/test/samples/small/map_to_merge2.bam.bai +0 -0
  92. data/test/samples/small/map_to_merge2.sam +8 -0
  93. data/test/samples/small/no_md.sam +8 -0
  94. data/test/samples/small/sorted.bam +0 -0
  95. data/test/samples/small/sorted.bam.bai +0 -0
  96. data/test/samples/small/test.sai +0 -0
  97. data/test/samples/small/test.tam +10 -0
  98. data/test/samples/small/test_chr.fasta +1000 -0
  99. data/test/samples/small/test_chr.fasta.1.bt2 +0 -0
  100. data/test/samples/small/test_chr.fasta.2.bt2 +0 -0
  101. data/test/samples/small/test_chr.fasta.3.bt2 +0 -0
  102. data/test/samples/small/test_chr.fasta.4.bt2 +0 -0
  103. data/test/samples/small/test_chr.fasta.amb +2 -0
  104. data/test/samples/small/test_chr.fasta.ann +3 -0
  105. data/test/samples/small/test_chr.fasta.bwt +0 -0
  106. data/test/samples/small/test_chr.fasta.pac +0 -0
  107. data/test/samples/small/test_chr.fasta.rbwt +0 -0
  108. data/test/samples/small/test_chr.fasta.rev.1.bt2 +0 -0
  109. data/test/samples/small/test_chr.fasta.rev.2.bt2 +0 -0
  110. data/test/samples/small/test_chr.fasta.rpac +0 -0
  111. data/test/samples/small/test_chr.fasta.rsa +0 -0
  112. data/test/samples/small/test_chr.fasta.sa +0 -0
  113. data/test/samples/small/test_cov.svg +273 -0
  114. data/test/samples/small/test_fastadb.fasta +34 -0
  115. data/test/samples/small/testu.bam +0 -0
  116. data/test/samples/small/testu.bed +2 -0
  117. data/test/test_bio-samtools-wrapper.rb +1 -0
  118. data/test/test_fastadb.rb +89 -0
  119. data/test/test_pileup.rb +90 -0
  120. data/test/test_sam.rb +421 -0
  121. data/test/test_vcf.rb +79 -0
  122. data/tutorial/tutorial.html +474 -0
  123. data/tutorial/tutorial.md +424 -0
  124. data/tutorial/tutorial.pdf +0 -0
  125. metadata +254 -0
@@ -0,0 +1,181 @@
1
+ # Generated by juwelier
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: bio-samtools-wrapper 2.7.0 ruby lib
6
+ # stub: ext/mkrf_conf.rb
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = "bio-samtools-wrapper".freeze
10
+ s.version = "2.7.0"
11
+
12
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
13
+ s.require_paths = ["lib".freeze]
14
+ s.authors = ["Rob Ellis".freeze]
15
+ s.date = "2024-09-25"
16
+ s.description = "Wrapper of samtools for ruby. \n\n This project was born from the need to add support of BAM files to \n the gee_fu genome browser (http://github.com/danmaclean/gee_fu).".freeze
17
+ s.email = "rob.ellis@jic.ac.uk".freeze
18
+ s.executables = ["bam_consensus.rb".freeze]
19
+ s.extensions = ["ext/mkrf_conf.rb".freeze]
20
+ s.extra_rdoc_files = [
21
+ "LICENSE.txt",
22
+ "README.md"
23
+ ]
24
+ s.files = [
25
+ ".document",
26
+ ".travis.yml",
27
+ "Gemfile",
28
+ "LICENSE.txt",
29
+ "README.md",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "bin/bam_consensus.rb",
33
+ "bio-samtools-wrapper.gemspec",
34
+ "doc/Bio.html",
35
+ "doc/Bio/DB.html",
36
+ "doc/Bio/DB/Alignment.html",
37
+ "doc/Bio/DB/Pileup.html",
38
+ "doc/Bio/DB/SAM.html",
39
+ "doc/Bio/DB/SAM/Library.html",
40
+ "doc/Bio/DB/SAM/Tools.html",
41
+ "doc/Bio/DB/Tag.html",
42
+ "doc/Bio/DB/Vcf.html",
43
+ "doc/LICENSE_txt.html",
44
+ "doc/created.rid",
45
+ "doc/fonts.css",
46
+ "doc/fonts/Lato-Light.ttf",
47
+ "doc/fonts/Lato-LightItalic.ttf",
48
+ "doc/fonts/Lato-Regular.ttf",
49
+ "doc/fonts/Lato-RegularItalic.ttf",
50
+ "doc/fonts/SourceCodePro-Bold.ttf",
51
+ "doc/fonts/SourceCodePro-Regular.ttf",
52
+ "doc/images/add.png",
53
+ "doc/images/arrow_up.png",
54
+ "doc/images/brick.png",
55
+ "doc/images/brick_link.png",
56
+ "doc/images/bug.png",
57
+ "doc/images/bullet_black.png",
58
+ "doc/images/bullet_toggle_minus.png",
59
+ "doc/images/bullet_toggle_plus.png",
60
+ "doc/images/date.png",
61
+ "doc/images/delete.png",
62
+ "doc/images/find.png",
63
+ "doc/images/loadingAnimation.gif",
64
+ "doc/images/macFFBgHack.png",
65
+ "doc/images/package.png",
66
+ "doc/images/page_green.png",
67
+ "doc/images/page_white_text.png",
68
+ "doc/images/page_white_width.png",
69
+ "doc/images/plugin.png",
70
+ "doc/images/ruby.png",
71
+ "doc/images/tag_blue.png",
72
+ "doc/images/tag_green.png",
73
+ "doc/images/transparent.png",
74
+ "doc/images/wrench.png",
75
+ "doc/images/wrench_orange.png",
76
+ "doc/images/zoom.png",
77
+ "doc/index.html",
78
+ "doc/js/darkfish.js",
79
+ "doc/js/jquery.js",
80
+ "doc/js/navigation.js",
81
+ "doc/js/search.js",
82
+ "doc/js/search_index.js",
83
+ "doc/js/searcher.js",
84
+ "doc/rdoc.css",
85
+ "doc/table_of_contents.html",
86
+ "ext/Makefile-bioruby.patch",
87
+ "ext/Makefile-suse.patch",
88
+ "ext/mkrf_conf.rb",
89
+ "lib/bio-samtools-wrapper.rb",
90
+ "lib/bio/BIOExtensions.rb",
91
+ "lib/bio/db/alignment.rb",
92
+ "lib/bio/db/fastadb.rb",
93
+ "lib/bio/db/pileup.rb",
94
+ "lib/bio/db/sam.rb",
95
+ "lib/bio/db/sam/external/COPYING",
96
+ "lib/bio/db/sam/external/VERSION",
97
+ "lib/bio/db/sam/library.rb",
98
+ "lib/bio/db/vcf.rb",
99
+ "test/.gitignore",
100
+ "test/helper.rb",
101
+ "test/sample.vcf",
102
+ "test/samples/.gitignore",
103
+ "test/samples/LCI/NC_001988.ffn",
104
+ "test/samples/LCI/test.bam",
105
+ "test/samples/LCI/test.bam.bai",
106
+ "test/samples/small/dupes.bam",
107
+ "test/samples/small/dupes.sam",
108
+ "test/samples/small/ids2.txt",
109
+ "test/samples/small/map_for_reheader.sam",
110
+ "test/samples/small/map_to_merge1.bam",
111
+ "test/samples/small/map_to_merge1.bam.bai",
112
+ "test/samples/small/map_to_merge1.sam",
113
+ "test/samples/small/map_to_merge2.bam",
114
+ "test/samples/small/map_to_merge2.bam.bai",
115
+ "test/samples/small/map_to_merge2.sam",
116
+ "test/samples/small/no_md.sam",
117
+ "test/samples/small/sorted.bam",
118
+ "test/samples/small/sorted.bam.bai",
119
+ "test/samples/small/test.sai",
120
+ "test/samples/small/test.tam",
121
+ "test/samples/small/test_chr.fasta",
122
+ "test/samples/small/test_chr.fasta.1.bt2",
123
+ "test/samples/small/test_chr.fasta.2.bt2",
124
+ "test/samples/small/test_chr.fasta.3.bt2",
125
+ "test/samples/small/test_chr.fasta.4.bt2",
126
+ "test/samples/small/test_chr.fasta.amb",
127
+ "test/samples/small/test_chr.fasta.ann",
128
+ "test/samples/small/test_chr.fasta.bwt",
129
+ "test/samples/small/test_chr.fasta.pac",
130
+ "test/samples/small/test_chr.fasta.rbwt",
131
+ "test/samples/small/test_chr.fasta.rev.1.bt2",
132
+ "test/samples/small/test_chr.fasta.rev.2.bt2",
133
+ "test/samples/small/test_chr.fasta.rpac",
134
+ "test/samples/small/test_chr.fasta.rsa",
135
+ "test/samples/small/test_chr.fasta.sa",
136
+ "test/samples/small/test_cov.svg",
137
+ "test/samples/small/test_fastadb.fasta",
138
+ "test/samples/small/testu.bam",
139
+ "test/samples/small/testu.bed",
140
+ "test/test_bio-samtools-wrapper.rb",
141
+ "test/test_fastadb.rb",
142
+ "test/test_pileup.rb",
143
+ "test/test_sam.rb",
144
+ "test/test_vcf.rb",
145
+ "tutorial/tutorial.html",
146
+ "tutorial/tutorial.md",
147
+ "tutorial/tutorial.pdf"
148
+ ]
149
+ s.homepage = "http://github.com/helios/bioruby-samtools".freeze
150
+ s.licenses = ["GPL-3.0".freeze]
151
+ s.rubygems_version = "2.6.14".freeze
152
+ s.summary = "Binder of samtools for ruby, on the top of FFI.".freeze
153
+
154
+ if s.respond_to? :specification_version then
155
+ s.specification_version = 4
156
+
157
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
158
+ s.add_runtime_dependency(%q<bio-svgenes>.freeze, [">= 0.4.1"])
159
+ s.add_runtime_dependency(%q<bio>.freeze, [">= 1.4.2"])
160
+ s.add_development_dependency(%q<shoulda>.freeze, ["= 2.10"])
161
+ s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
162
+ s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
163
+ s.add_development_dependency(%q<rack>.freeze, ["= 1.6.4"])
164
+ else
165
+ s.add_dependency(%q<bio-svgenes>.freeze, [">= 0.4.1"])
166
+ s.add_dependency(%q<bio>.freeze, [">= 1.4.2"])
167
+ s.add_dependency(%q<shoulda>.freeze, ["= 2.10"])
168
+ s.add_dependency(%q<test-unit>.freeze, [">= 0"])
169
+ s.add_dependency(%q<juwelier>.freeze, [">= 0"])
170
+ s.add_dependency(%q<rack>.freeze, ["= 1.6.4"])
171
+ end
172
+ else
173
+ s.add_dependency(%q<bio-svgenes>.freeze, [">= 0.4.1"])
174
+ s.add_dependency(%q<bio>.freeze, [">= 1.4.2"])
175
+ s.add_dependency(%q<shoulda>.freeze, ["= 2.10"])
176
+ s.add_dependency(%q<test-unit>.freeze, [">= 0"])
177
+ s.add_dependency(%q<juwelier>.freeze, [">= 0"])
178
+ s.add_dependency(%q<rack>.freeze, ["= 1.6.4"])
179
+ end
180
+ end
181
+