bio-samtools 0.6.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -2
  3. data/README.md +4 -7
  4. data/VERSION +1 -1
  5. data/bio-samtools.gemspec +47 -105
  6. data/doc/Bio.html +68 -131
  7. data/doc/Bio/DB.html +51 -111
  8. data/doc/Bio/DB/Alignment.html +135 -363
  9. data/doc/Bio/DB/Pileup.html +183 -170
  10. data/doc/Bio/DB/SAM.html +1396 -820
  11. data/doc/Bio/DB/SAM/Library.html +73 -123
  12. data/doc/Bio/DB/SAM/Tools.html +51 -273
  13. data/doc/Bio/DB/Tag.html +78 -124
  14. data/doc/Bio/DB/Vcf.html +111 -147
  15. data/doc/LICENSE_txt.html +113 -148
  16. data/doc/created.rid +9 -10
  17. data/doc/fonts.css +167 -0
  18. data/doc/fonts/Lato-Light.ttf +0 -0
  19. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  20. data/doc/fonts/Lato-Regular.ttf +0 -0
  21. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  22. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  23. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  24. data/doc/images/add.png +0 -0
  25. data/doc/images/arrow_up.png +0 -0
  26. data/doc/images/delete.png +0 -0
  27. data/doc/images/tag_blue.png +0 -0
  28. data/doc/index.html +48 -54
  29. data/doc/js/darkfish.js +9 -22
  30. data/doc/js/search.js +20 -5
  31. data/doc/js/search_index.js +1 -1
  32. data/doc/rdoc.css +255 -218
  33. data/doc/table_of_contents.html +256 -137
  34. data/ext/Rakefile +57 -0
  35. data/lib/bio-samtools.rb +7 -2
  36. data/lib/bio/BIOExtensions.rb +89 -0
  37. data/lib/bio/db/alignment.rb +59 -0
  38. data/lib/bio/db/fastadb.rb +255 -0
  39. data/lib/bio/db/pileup.rb +221 -172
  40. data/lib/bio/db/sam.rb +639 -589
  41. data/lib/bio/db/sam/{faidx.rb → faidx_old.rb} +0 -0
  42. data/lib/bio/db/vcf.rb +69 -68
  43. data/test/.gitignore +1 -0
  44. data/test/{test_basic.rb → old_test_basic.rb} +33 -1
  45. data/test/samples/small/dupes.bam +0 -0
  46. data/test/samples/small/dupes.sam +274 -0
  47. data/test/samples/small/map_for_reheader.sam +8 -0
  48. data/test/samples/small/map_to_merge1.bam +0 -0
  49. data/test/samples/small/map_to_merge1.bam.bai +0 -0
  50. data/test/samples/small/map_to_merge1.sam +8 -0
  51. data/test/samples/small/map_to_merge2.bam +0 -0
  52. data/test/samples/small/map_to_merge2.bam.bai +0 -0
  53. data/test/samples/small/map_to_merge2.sam +8 -0
  54. data/test/samples/small/no_md.sam +8 -0
  55. data/test/samples/small/test_chr.fasta.1.bt2 +0 -0
  56. data/test/samples/small/test_chr.fasta.2.bt2 +0 -0
  57. data/test/samples/small/test_chr.fasta.3.bt2 +0 -0
  58. data/test/samples/small/test_chr.fasta.4.bt2 +0 -0
  59. data/test/samples/small/test_chr.fasta.rev.1.bt2 +0 -0
  60. data/test/samples/small/test_chr.fasta.rev.2.bt2 +0 -0
  61. data/test/samples/small/test_cov.svg +273 -0
  62. data/test/samples/small/testu.bam.bai +0 -0
  63. data/test/svg +133 -0
  64. data/test/test_pileup.rb +84 -0
  65. data/test/test_sam.rb +331 -0
  66. data/test/test_vcf.rb +11 -0
  67. data/{doc → tutorial}/tutorial.html +0 -0
  68. data/{doc → tutorial}/tutorial.pdf +0 -0
  69. metadata +56 -114
  70. data/doc/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -159
  71. data/doc/Bio/DB/SAM/Tools/Bam1T.html +0 -220
  72. data/doc/Bio/DB/SAM/Tools/BamHeaderT.html +0 -249
  73. data/doc/Bio/DB/SAM/Tools/BamPileup1T.html +0 -159
  74. data/doc/Bio/DB/SAM/Tools/SamfileT.html +0 -171
  75. data/doc/Bio/DB/SAM/Tools/SamfileTX.html +0 -159
  76. data/doc/Bio/DB/SAMException.html +0 -205
  77. data/doc/LibC.html +0 -155
  78. data/doc/Pileup.html +0 -571
  79. data/doc/Vcf.html +0 -473
  80. data/doc/basic_styles.css +0 -31
  81. data/doc/classes/Bio.html +0 -139
  82. data/doc/classes/Bio/DB.html +0 -137
  83. data/doc/classes/Bio/DB/Alignment.html +0 -441
  84. data/doc/classes/Bio/DB/Alignment.src/M000012.html +0 -19
  85. data/doc/classes/Bio/DB/Alignment.src/M000013.html +0 -27
  86. data/doc/classes/Bio/DB/Alignment.src/M000014.html +0 -45
  87. data/doc/classes/Bio/DB/Alignment.src/M000015.html +0 -40
  88. data/doc/classes/Bio/DB/SAM.html +0 -510
  89. data/doc/classes/Bio/DB/SAM/Library.html +0 -135
  90. data/doc/classes/Bio/DB/SAM/Library.src/M000006.html +0 -28
  91. data/doc/classes/Bio/DB/SAM/Tools.html +0 -278
  92. data/doc/classes/Bio/DB/SAM/Tools.src/M000007.html +0 -20
  93. data/doc/classes/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -111
  94. data/doc/classes/Bio/DB/SAM/Tools/Bam1T.html +0 -150
  95. data/doc/classes/Bio/DB/SAM/Tools/Bam1T.src/M000010.html +0 -20
  96. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.html +0 -169
  97. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000008.html +0 -19
  98. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000009.html +0 -18
  99. data/doc/classes/Bio/DB/SAM/Tools/BamPileup1T.html +0 -111
  100. data/doc/classes/Bio/DB/SAM/Tools/SamfileT.html +0 -129
  101. data/doc/classes/Bio/DB/SAM/Tools/SamfileTX.html +0 -111
  102. data/doc/classes/Bio/DB/SAMException.html +0 -140
  103. data/doc/classes/Bio/DB/SAMException.src/M000016.html +0 -18
  104. data/doc/classes/Bio/DB/Sam.src/M000017.html +0 -43
  105. data/doc/classes/Bio/DB/Sam.src/M000018.html +0 -42
  106. data/doc/classes/Bio/DB/Sam.src/M000019.html +0 -18
  107. data/doc/classes/Bio/DB/Sam.src/M000020.html +0 -22
  108. data/doc/classes/Bio/DB/Sam.src/M000021.html +0 -19
  109. data/doc/classes/Bio/DB/Sam.src/M000022.html +0 -25
  110. data/doc/classes/Bio/DB/Sam.src/M000023.html +0 -28
  111. data/doc/classes/Bio/DB/Sam.src/M000024.html +0 -28
  112. data/doc/classes/Bio/DB/Sam.src/M000025.html +0 -46
  113. data/doc/classes/Bio/DB/Sam.src/M000026.html +0 -24
  114. data/doc/classes/Bio/DB/Sam.src/M000027.html +0 -19
  115. data/doc/classes/Bio/DB/Sam.src/M000028.html +0 -24
  116. data/doc/classes/Bio/DB/Sam.src/M000029.html +0 -41
  117. data/doc/classes/Bio/DB/Sam.src/M000030.html +0 -31
  118. data/doc/classes/Bio/DB/Sam.src/M000031.html +0 -86
  119. data/doc/classes/Bio/DB/Sam.src/M000032.html +0 -34
  120. data/doc/classes/Bio/DB/Tag.html +0 -160
  121. data/doc/classes/Bio/DB/Tag.src/M000011.html +0 -21
  122. data/doc/classes/LibC.html +0 -105
  123. data/doc/classes/Pileup.html +0 -374
  124. data/doc/classes/Pileup.src/M000001.html +0 -34
  125. data/doc/classes/Pileup.src/M000002.html +0 -21
  126. data/doc/classes/Pileup.src/M000003.html +0 -21
  127. data/doc/classes/Pileup.src/M000004.html +0 -21
  128. data/doc/classes/Pileup.src/M000005.html +0 -31
  129. data/doc/files/lib/bio-samtools_rb.html +0 -109
  130. data/doc/files/lib/bio/db/sam/bam_rb.html +0 -108
  131. data/doc/files/lib/bio/db/sam/faidx_rb.html +0 -108
  132. data/doc/files/lib/bio/db/sam/library_rb.html +0 -101
  133. data/doc/files/lib/bio/db/sam/pileup_rb.html +0 -178
  134. data/doc/files/lib/bio/db/sam/sam_rb.html +0 -113
  135. data/doc/files/lib/bio/db/sam_rb.html +0 -111
  136. data/doc/fr_class_index.html +0 -43
  137. data/doc/fr_file_index.html +0 -33
  138. data/doc/fr_method_index.html +0 -58
  139. data/doc/lib/bio-samtools_rb.html +0 -115
  140. data/doc/lib/bio/db/pileup_rb.html +0 -171
  141. data/doc/lib/bio/db/sam/bam_rb.html +0 -121
  142. data/doc/lib/bio/db/sam/faidx_rb.html +0 -117
  143. data/doc/lib/bio/db/sam/library_rb.html +0 -115
  144. data/doc/lib/bio/db/sam/pileup_rb.html +0 -171
  145. data/doc/lib/bio/db/sam/sam_rb.html +0 -121
  146. data/doc/lib/bio/db/sam/vcf_rb.html +0 -124
  147. data/doc/lib/bio/db/sam_rb.html +0 -115
  148. data/doc/lib/bio/db/vcf_rb.html +0 -124
  149. data/doc/rdoc-style.css +0 -208
  150. data/lib/bio/db/sam/bam.rb +0 -210
  151. data/lib/bio/db/sam/sam.rb +0 -86
  152. data/test/samples/pipe_char/test.bam +0 -0
  153. data/test/samples/pipe_char/test.bam.bai +0 -0
  154. data/test/samples/pipe_char/test.tam +0 -10
  155. data/test/samples/pipe_char/test_chr.fasta +0 -1000
  156. data/test/samples/pipe_char/test_chr.fasta.fai +0 -1
  157. data/test/samples/small/test +0 -0
  158. data/test/samples/small/test.bam +0 -0
  159. data/test/samples/small/test.fa +0 -20
  160. data/test/samples/small/test.fai +0 -0
@@ -1,159 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class Bio::DB::SAM::Tools::Bam1CoreT - Pileup</title>
8
-
9
- <link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../../../../";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../../../../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../../../../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../../../../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../../../../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../../../../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../../../../index.html">Home</a>
28
- <a href="../../../../table_of_contents.html#classes">Classes</a>
29
- <a href="../../../../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/bio/db/sam/bam.rb
51
- </ul>
52
- </nav>
53
-
54
-
55
- </div>
56
-
57
- <div id="class-metadata">
58
-
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
61
-
62
- <p class="link">FFI::Struct
63
-
64
- </nav>
65
-
66
-
67
-
68
- </div>
69
-
70
- <div id="project-metadata">
71
- <nav id="fileindex-section" class="section project-section">
72
- <h3 class="section-header">Pages</h3>
73
-
74
- <ul>
75
-
76
- <li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
77
-
78
- </ul>
79
- </nav>
80
-
81
- <nav id="classindex-section" class="section project-section">
82
- <h3 class="section-header">Class and Module Index</h3>
83
-
84
- <ul class="link-list">
85
-
86
- <li><a href="../../../../Bio.html">Bio</a>
87
-
88
- <li><a href="../../../../Bio/DB.html">Bio::DB</a>
89
-
90
- <li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
91
-
92
- <li><a href="../../../../Bio/DB/Pileup.html">Bio::DB::Pileup</a>
93
-
94
- <li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
95
-
96
- <li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
97
-
98
- <li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
99
-
100
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
101
-
102
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
103
-
104
- <li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
105
-
106
- <li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
107
-
108
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
109
-
110
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
111
-
112
- <li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
113
-
114
- <li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
115
-
116
- <li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
117
-
118
- <li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
119
-
120
- <li><a href="../../../../LibC.html">LibC</a>
121
-
122
- </ul>
123
- </nav>
124
-
125
- </div>
126
- </nav>
127
-
128
- <div id="documentation">
129
- <h1 class="class">class Bio::DB::SAM::Tools::Bam1CoreT</h1>
130
-
131
- <div id="description" class="description">
132
-
133
- </div><!-- description -->
134
-
135
-
136
-
137
-
138
- <section id="5Buntitled-5D" class="documentation-section">
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
- <!-- Methods -->
148
-
149
- </section><!-- 5Buntitled-5D -->
150
-
151
- </div><!-- documentation -->
152
-
153
-
154
- <footer id="validator-badges">
155
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
156
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
157
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
158
- </footer>
159
-
@@ -1,220 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class Bio::DB::SAM::Tools::Bam1T - Pileup</title>
8
-
9
- <link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../../../../";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../../../../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../../../../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../../../../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../../../../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../../../../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../../../../index.html">Home</a>
28
- <a href="../../../../table_of_contents.html#classes">Classes</a>
29
- <a href="../../../../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/bio/db/sam/bam.rb
51
- </ul>
52
- </nav>
53
-
54
-
55
- </div>
56
-
57
- <div id="class-metadata">
58
-
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
61
-
62
- <p class="link">FFI::Struct
63
-
64
- </nav>
65
-
66
-
67
- <!-- Method Quickref -->
68
- <nav id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
-
71
- <ul class="link-list">
72
-
73
- <li><a href="#method-i-qname">#qname</a>
74
-
75
- </ul>
76
- </nav>
77
-
78
- </div>
79
-
80
- <div id="project-metadata">
81
- <nav id="fileindex-section" class="section project-section">
82
- <h3 class="section-header">Pages</h3>
83
-
84
- <ul>
85
-
86
- <li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
87
-
88
- </ul>
89
- </nav>
90
-
91
- <nav id="classindex-section" class="section project-section">
92
- <h3 class="section-header">Class and Module Index</h3>
93
-
94
- <ul class="link-list">
95
-
96
- <li><a href="../../../../Bio.html">Bio</a>
97
-
98
- <li><a href="../../../../Bio/DB.html">Bio::DB</a>
99
-
100
- <li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
101
-
102
- <li><a href="../../../../Bio/DB/Pileup.html">Bio::DB::Pileup</a>
103
-
104
- <li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
105
-
106
- <li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
107
-
108
- <li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
109
-
110
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
111
-
112
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
113
-
114
- <li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
115
-
116
- <li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
117
-
118
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
119
-
120
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
121
-
122
- <li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
123
-
124
- <li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
125
-
126
- <li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
127
-
128
- <li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
129
-
130
- <li><a href="../../../../LibC.html">LibC</a>
131
-
132
- </ul>
133
- </nav>
134
-
135
- </div>
136
- </nav>
137
-
138
- <div id="documentation">
139
- <h1 class="class">class Bio::DB::SAM::Tools::Bam1T</h1>
140
-
141
- <div id="description" class="description">
142
-
143
- </div><!-- description -->
144
-
145
-
146
-
147
-
148
- <section id="5Buntitled-5D" class="documentation-section">
149
-
150
-
151
-
152
-
153
-
154
- <!-- Constants -->
155
- <section id="constants-list" class="section">
156
- <h3 class="section-header">Constants</h3>
157
- <dl>
158
-
159
- <dt id="Bam_NT16_Rev_Table">Bam_NT16_Rev_Table
160
-
161
- <dd class="description">
162
-
163
-
164
- </dl>
165
- </section>
166
-
167
-
168
-
169
-
170
- <!-- Methods -->
171
-
172
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
173
- <h3 class="section-header">Public Instance Methods</h3>
174
-
175
-
176
- <div id="method-i-qname" class="method-detail ">
177
-
178
- <div class="method-heading">
179
- <span class="method-name">qname</span><span
180
- class="method-args">()</span>
181
- <span class="method-click-advice">click to toggle source</span>
182
- </div>
183
-
184
-
185
- <div class="method-description">
186
-
187
-
188
-
189
-
190
-
191
- <div class="method-source-code" id="qname-source">
192
- <pre><span class="ruby-comment"># File lib/bio/db/sam/bam.rb, line 63</span>
193
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">qname</span>
194
- <span class="ruby-comment">#bam1_qname(b) ((char*)((b)-&gt;data))</span>
195
- <span class="ruby-identifier">data</span> = <span class="ruby-keyword">self</span>[<span class="ruby-value">:data</span>]
196
- <span class="ruby-identifier">data</span>.<span class="ruby-identifier">read_string</span>()
197
- <span class="ruby-keyword">end</span></pre>
198
- </div><!-- qname-source -->
199
-
200
- </div>
201
-
202
-
203
-
204
-
205
- </div><!-- qname-method -->
206
-
207
-
208
- </section><!-- public-instance-method-details -->
209
-
210
- </section><!-- 5Buntitled-5D -->
211
-
212
- </div><!-- documentation -->
213
-
214
-
215
- <footer id="validator-badges">
216
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
217
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
218
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
219
- </footer>
220
-
@@ -1,249 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class Bio::DB::SAM::Tools::BamHeaderT - Pileup</title>
8
-
9
- <link type="text/css" media="screen" href="../../../../rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../../../../";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../../../../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../../../../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../../../../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../../../../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../../../../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../../../../index.html">Home</a>
28
- <a href="../../../../table_of_contents.html#classes">Classes</a>
29
- <a href="../../../../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
- <div id="file-metadata">
47
- <nav id="file-list-section" class="section">
48
- <h3 class="section-header">Defined In</h3>
49
- <ul>
50
- <li>lib/bio/db/sam/sam.rb
51
- </ul>
52
- </nav>
53
-
54
-
55
- </div>
56
-
57
- <div id="class-metadata">
58
-
59
- <nav id="parent-class-section" class="section">
60
- <h3 class="section-header">Parent</h3>
61
-
62
- <p class="link">FFI::Struct
63
-
64
- </nav>
65
-
66
-
67
- <!-- Method Quickref -->
68
- <nav id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
-
71
- <ul class="link-list">
72
-
73
- <li><a href="#method-i-text">#text</a>
74
-
75
- <li><a href="#method-i-text-3D">#text=</a>
76
-
77
- </ul>
78
- </nav>
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
- <nav id="fileindex-section" class="section project-section">
84
- <h3 class="section-header">Pages</h3>
85
-
86
- <ul>
87
-
88
- <li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
89
-
90
- </ul>
91
- </nav>
92
-
93
- <nav id="classindex-section" class="section project-section">
94
- <h3 class="section-header">Class and Module Index</h3>
95
-
96
- <ul class="link-list">
97
-
98
- <li><a href="../../../../Bio.html">Bio</a>
99
-
100
- <li><a href="../../../../Bio/DB.html">Bio::DB</a>
101
-
102
- <li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
103
-
104
- <li><a href="../../../../Bio/DB/Pileup.html">Bio::DB::Pileup</a>
105
-
106
- <li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
107
-
108
- <li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
109
-
110
- <li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
111
-
112
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
113
-
114
- <li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
115
-
116
- <li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
117
-
118
- <li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
119
-
120
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
121
-
122
- <li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
123
-
124
- <li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
125
-
126
- <li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
127
-
128
- <li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
129
-
130
- <li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
131
-
132
- <li><a href="../../../../LibC.html">LibC</a>
133
-
134
- </ul>
135
- </nav>
136
-
137
- </div>
138
- </nav>
139
-
140
- <div id="documentation">
141
- <h1 class="class">class Bio::DB::SAM::Tools::BamHeaderT</h1>
142
-
143
- <div id="description" class="description">
144
-
145
- <p>typedef struct {</p>
146
-
147
- <pre>int32_t n_targets;
148
- char **target_name;
149
- uint32_t *target_len;
150
- void *dict, *hash, *rg2lib;
151
- int l_text;
152
- char *text;</pre>
153
-
154
- <p>} bam_header_t;</p>
155
-
156
- </div><!-- description -->
157
-
158
-
159
-
160
-
161
- <section id="5Buntitled-5D" class="documentation-section">
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
- <!-- Methods -->
171
-
172
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
173
- <h3 class="section-header">Public Instance Methods</h3>
174
-
175
-
176
- <div id="method-i-text" class="method-detail ">
177
-
178
- <div class="method-heading">
179
- <span class="method-name">text</span><span
180
- class="method-args">()</span>
181
- <span class="method-click-advice">click to toggle source</span>
182
- </div>
183
-
184
-
185
- <div class="method-description">
186
-
187
-
188
-
189
-
190
-
191
- <div class="method-source-code" id="text-source">
192
- <pre><span class="ruby-comment"># File lib/bio/db/sam/sam.rb, line 42</span>
193
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">text</span>
194
- <span class="ruby-ivar">@text</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">0</span>)
195
- <span class="ruby-keyword">end</span></pre>
196
- </div><!-- text-source -->
197
-
198
- </div>
199
-
200
-
201
-
202
-
203
- </div><!-- text-method -->
204
-
205
-
206
- <div id="method-i-text-3D" class="method-detail ">
207
-
208
- <div class="method-heading">
209
- <span class="method-name">text=</span><span
210
- class="method-args">(str)</span>
211
- <span class="method-click-advice">click to toggle source</span>
212
- </div>
213
-
214
-
215
- <div class="method-description">
216
-
217
-
218
-
219
-
220
-
221
- <div class="method-source-code" id="text-3D-source">
222
- <pre><span class="ruby-comment"># File lib/bio/db/sam/sam.rb, line 38</span>
223
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">text=</span>(<span class="ruby-identifier">str</span>)
224
- <span class="ruby-ivar">@text</span> = <span class="ruby-constant">FFI</span><span class="ruby-operator">::</span><span class="ruby-constant">MemoryPointer</span>.<span class="ruby-identifier">from_string</span>(<span class="ruby-identifier">str</span>)
225
- <span class="ruby-keyword">self</span>[<span class="ruby-value">:text</span>] = <span class="ruby-ivar">@text</span>
226
- <span class="ruby-keyword">end</span></pre>
227
- </div><!-- text-3D-source -->
228
-
229
- </div>
230
-
231
-
232
-
233
-
234
- </div><!-- text-3D-method -->
235
-
236
-
237
- </section><!-- public-instance-method-details -->
238
-
239
- </section><!-- 5Buntitled-5D -->
240
-
241
- </div><!-- documentation -->
242
-
243
-
244
- <footer id="validator-badges">
245
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
246
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
247
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
248
- </footer>
249
-