bio-samtools 0.6.2 → 2.0.3
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.
- checksums.yaml +4 -4
- data/Gemfile +3 -2
- data/README.md +4 -7
- data/VERSION +1 -1
- data/bio-samtools.gemspec +47 -105
- data/doc/Bio.html +68 -131
- data/doc/Bio/DB.html +51 -111
- data/doc/Bio/DB/Alignment.html +135 -363
- data/doc/Bio/DB/Pileup.html +183 -170
- data/doc/Bio/DB/SAM.html +1396 -820
- data/doc/Bio/DB/SAM/Library.html +73 -123
- data/doc/Bio/DB/SAM/Tools.html +51 -273
- data/doc/Bio/DB/Tag.html +78 -124
- data/doc/Bio/DB/Vcf.html +111 -147
- data/doc/LICENSE_txt.html +113 -148
- data/doc/created.rid +9 -10
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/index.html +48 -54
- data/doc/js/darkfish.js +9 -22
- data/doc/js/search.js +20 -5
- data/doc/js/search_index.js +1 -1
- data/doc/rdoc.css +255 -218
- data/doc/table_of_contents.html +256 -137
- data/ext/Rakefile +57 -0
- data/lib/bio-samtools.rb +7 -2
- data/lib/bio/BIOExtensions.rb +89 -0
- data/lib/bio/db/alignment.rb +59 -0
- data/lib/bio/db/fastadb.rb +255 -0
- data/lib/bio/db/pileup.rb +221 -172
- data/lib/bio/db/sam.rb +639 -589
- data/lib/bio/db/sam/{faidx.rb → faidx_old.rb} +0 -0
- data/lib/bio/db/vcf.rb +69 -68
- data/test/.gitignore +1 -0
- data/test/{test_basic.rb → old_test_basic.rb} +33 -1
- data/test/samples/small/dupes.bam +0 -0
- data/test/samples/small/dupes.sam +274 -0
- data/test/samples/small/map_for_reheader.sam +8 -0
- data/test/samples/small/map_to_merge1.bam +0 -0
- data/test/samples/small/map_to_merge1.bam.bai +0 -0
- data/test/samples/small/map_to_merge1.sam +8 -0
- data/test/samples/small/map_to_merge2.bam +0 -0
- data/test/samples/small/map_to_merge2.bam.bai +0 -0
- data/test/samples/small/map_to_merge2.sam +8 -0
- data/test/samples/small/no_md.sam +8 -0
- data/test/samples/small/test_chr.fasta.1.bt2 +0 -0
- data/test/samples/small/test_chr.fasta.2.bt2 +0 -0
- data/test/samples/small/test_chr.fasta.3.bt2 +0 -0
- data/test/samples/small/test_chr.fasta.4.bt2 +0 -0
- data/test/samples/small/test_chr.fasta.rev.1.bt2 +0 -0
- data/test/samples/small/test_chr.fasta.rev.2.bt2 +0 -0
- data/test/samples/small/test_cov.svg +273 -0
- data/test/samples/small/testu.bam.bai +0 -0
- data/test/svg +133 -0
- data/test/test_pileup.rb +84 -0
- data/test/test_sam.rb +331 -0
- data/test/test_vcf.rb +11 -0
- data/{doc → tutorial}/tutorial.html +0 -0
- data/{doc → tutorial}/tutorial.pdf +0 -0
- metadata +56 -114
- data/doc/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -159
- data/doc/Bio/DB/SAM/Tools/Bam1T.html +0 -220
- data/doc/Bio/DB/SAM/Tools/BamHeaderT.html +0 -249
- data/doc/Bio/DB/SAM/Tools/BamPileup1T.html +0 -159
- data/doc/Bio/DB/SAM/Tools/SamfileT.html +0 -171
- data/doc/Bio/DB/SAM/Tools/SamfileTX.html +0 -159
- data/doc/Bio/DB/SAMException.html +0 -205
- data/doc/LibC.html +0 -155
- data/doc/Pileup.html +0 -571
- data/doc/Vcf.html +0 -473
- data/doc/basic_styles.css +0 -31
- data/doc/classes/Bio.html +0 -139
- data/doc/classes/Bio/DB.html +0 -137
- data/doc/classes/Bio/DB/Alignment.html +0 -441
- data/doc/classes/Bio/DB/Alignment.src/M000012.html +0 -19
- data/doc/classes/Bio/DB/Alignment.src/M000013.html +0 -27
- data/doc/classes/Bio/DB/Alignment.src/M000014.html +0 -45
- data/doc/classes/Bio/DB/Alignment.src/M000015.html +0 -40
- data/doc/classes/Bio/DB/SAM.html +0 -510
- data/doc/classes/Bio/DB/SAM/Library.html +0 -135
- data/doc/classes/Bio/DB/SAM/Library.src/M000006.html +0 -28
- data/doc/classes/Bio/DB/SAM/Tools.html +0 -278
- data/doc/classes/Bio/DB/SAM/Tools.src/M000007.html +0 -20
- data/doc/classes/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -111
- data/doc/classes/Bio/DB/SAM/Tools/Bam1T.html +0 -150
- data/doc/classes/Bio/DB/SAM/Tools/Bam1T.src/M000010.html +0 -20
- data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.html +0 -169
- data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000008.html +0 -19
- data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000009.html +0 -18
- data/doc/classes/Bio/DB/SAM/Tools/BamPileup1T.html +0 -111
- data/doc/classes/Bio/DB/SAM/Tools/SamfileT.html +0 -129
- data/doc/classes/Bio/DB/SAM/Tools/SamfileTX.html +0 -111
- data/doc/classes/Bio/DB/SAMException.html +0 -140
- data/doc/classes/Bio/DB/SAMException.src/M000016.html +0 -18
- data/doc/classes/Bio/DB/Sam.src/M000017.html +0 -43
- data/doc/classes/Bio/DB/Sam.src/M000018.html +0 -42
- data/doc/classes/Bio/DB/Sam.src/M000019.html +0 -18
- data/doc/classes/Bio/DB/Sam.src/M000020.html +0 -22
- data/doc/classes/Bio/DB/Sam.src/M000021.html +0 -19
- data/doc/classes/Bio/DB/Sam.src/M000022.html +0 -25
- data/doc/classes/Bio/DB/Sam.src/M000023.html +0 -28
- data/doc/classes/Bio/DB/Sam.src/M000024.html +0 -28
- data/doc/classes/Bio/DB/Sam.src/M000025.html +0 -46
- data/doc/classes/Bio/DB/Sam.src/M000026.html +0 -24
- data/doc/classes/Bio/DB/Sam.src/M000027.html +0 -19
- data/doc/classes/Bio/DB/Sam.src/M000028.html +0 -24
- data/doc/classes/Bio/DB/Sam.src/M000029.html +0 -41
- data/doc/classes/Bio/DB/Sam.src/M000030.html +0 -31
- data/doc/classes/Bio/DB/Sam.src/M000031.html +0 -86
- data/doc/classes/Bio/DB/Sam.src/M000032.html +0 -34
- data/doc/classes/Bio/DB/Tag.html +0 -160
- data/doc/classes/Bio/DB/Tag.src/M000011.html +0 -21
- data/doc/classes/LibC.html +0 -105
- data/doc/classes/Pileup.html +0 -374
- data/doc/classes/Pileup.src/M000001.html +0 -34
- data/doc/classes/Pileup.src/M000002.html +0 -21
- data/doc/classes/Pileup.src/M000003.html +0 -21
- data/doc/classes/Pileup.src/M000004.html +0 -21
- data/doc/classes/Pileup.src/M000005.html +0 -31
- data/doc/files/lib/bio-samtools_rb.html +0 -109
- data/doc/files/lib/bio/db/sam/bam_rb.html +0 -108
- data/doc/files/lib/bio/db/sam/faidx_rb.html +0 -108
- data/doc/files/lib/bio/db/sam/library_rb.html +0 -101
- data/doc/files/lib/bio/db/sam/pileup_rb.html +0 -178
- data/doc/files/lib/bio/db/sam/sam_rb.html +0 -113
- data/doc/files/lib/bio/db/sam_rb.html +0 -111
- data/doc/fr_class_index.html +0 -43
- data/doc/fr_file_index.html +0 -33
- data/doc/fr_method_index.html +0 -58
- data/doc/lib/bio-samtools_rb.html +0 -115
- data/doc/lib/bio/db/pileup_rb.html +0 -171
- data/doc/lib/bio/db/sam/bam_rb.html +0 -121
- data/doc/lib/bio/db/sam/faidx_rb.html +0 -117
- data/doc/lib/bio/db/sam/library_rb.html +0 -115
- data/doc/lib/bio/db/sam/pileup_rb.html +0 -171
- data/doc/lib/bio/db/sam/sam_rb.html +0 -121
- data/doc/lib/bio/db/sam/vcf_rb.html +0 -124
- data/doc/lib/bio/db/sam_rb.html +0 -115
- data/doc/lib/bio/db/vcf_rb.html +0 -124
- data/doc/rdoc-style.css +0 -208
- data/lib/bio/db/sam/bam.rb +0 -210
- data/lib/bio/db/sam/sam.rb +0 -86
- data/test/samples/pipe_char/test.bam +0 -0
- data/test/samples/pipe_char/test.bam.bai +0 -0
- data/test/samples/pipe_char/test.tam +0 -10
- data/test/samples/pipe_char/test_chr.fasta +0 -1000
- data/test/samples/pipe_char/test_chr.fasta.fai +0 -1
- data/test/samples/small/test +0 -0
- data/test/samples/small/test.bam +0 -0
- data/test/samples/small/test.fa +0 -20
- data/test/samples/small/test.fai +0 -0
data/doc/Bio/DB/SAM/Library.html
CHANGED
|
@@ -2,139 +2,86 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>module Bio::DB::SAM::Library - Pileup</title>
|
|
8
8
|
|
|
9
|
-
<link
|
|
9
|
+
<link href="../../../fonts.css" rel="stylesheet">
|
|
10
|
+
<link href="../../../rdoc.css" rel="stylesheet">
|
|
10
11
|
|
|
11
12
|
<script type="text/javascript">
|
|
12
13
|
var rdoc_rel_prefix = "../../../";
|
|
13
14
|
</script>
|
|
14
15
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
<script
|
|
18
|
-
<script
|
|
19
|
-
<script
|
|
20
|
-
<script
|
|
16
|
+
<script src="../../../js/jquery.js"></script>
|
|
17
|
+
<script src="../../../js/navigation.js"></script>
|
|
18
|
+
<script src="../../../js/search_index.js"></script>
|
|
19
|
+
<script src="../../../js/search.js"></script>
|
|
20
|
+
<script src="../../../js/searcher.js"></script>
|
|
21
|
+
<script src="../../../js/darkfish.js"></script>
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
<body id="top" class="module">
|
|
24
|
-
<nav
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
<body id="top" role="document" class="module">
|
|
25
|
+
<nav role="navigation">
|
|
26
|
+
<div id="project-navigation">
|
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
|
+
<h2>
|
|
29
|
+
<a href="../../../index.html" rel="home">Home</a>
|
|
30
|
+
</h2>
|
|
31
|
+
|
|
32
|
+
<div id="table-of-contents-navigation">
|
|
33
|
+
<a href="../../../table_of_contents.html#pages">Pages</a>
|
|
28
34
|
<a href="../../../table_of_contents.html#classes">Classes</a>
|
|
29
35
|
<a href="../../../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
33
38
|
|
|
34
|
-
|
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
41
|
+
<div id="search-field-wrapper">
|
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
41
|
-
|
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
-
</nav>
|
|
46
|
+
</div>
|
|
44
47
|
|
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
|
49
|
+
aria-busy="false" aria-expanded="false"
|
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
+
</form>
|
|
52
|
+
</div>
|
|
45
53
|
|
|
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/library.rb
|
|
51
|
-
</ul>
|
|
52
|
-
</nav>
|
|
53
|
-
|
|
54
|
-
|
|
55
54
|
</div>
|
|
56
55
|
|
|
56
|
+
|
|
57
|
+
|
|
57
58
|
<div id="class-metadata">
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
|
|
62
|
+
|
|
61
63
|
<!-- Method Quickref -->
|
|
62
|
-
<
|
|
63
|
-
<h3
|
|
64
|
+
<div id="method-list-section" class="nav-section">
|
|
65
|
+
<h3>Methods</h3>
|
|
64
66
|
|
|
65
|
-
<ul class="link-list">
|
|
67
|
+
<ul class="link-list" role="directory">
|
|
66
68
|
|
|
67
|
-
<li><a href="#method-c-filename">::filename</a>
|
|
69
|
+
<li ><a href="#method-c-filename">::filename</a>
|
|
68
70
|
|
|
69
71
|
</ul>
|
|
70
|
-
</
|
|
72
|
+
</div>
|
|
71
73
|
|
|
72
74
|
</div>
|
|
73
|
-
|
|
74
|
-
<div id="project-metadata">
|
|
75
|
-
<nav id="fileindex-section" class="section project-section">
|
|
76
|
-
<h3 class="section-header">Pages</h3>
|
|
77
|
-
|
|
78
|
-
<ul>
|
|
79
|
-
|
|
80
|
-
<li class="file"><a href="../../../LICENSE_txt.html">LICENSE</a>
|
|
81
|
-
|
|
82
|
-
</ul>
|
|
83
75
|
</nav>
|
|
84
76
|
|
|
85
|
-
|
|
86
|
-
<
|
|
77
|
+
<main role="main" aria-labelledby="module-Bio::DB::SAM::Library">
|
|
78
|
+
<h1 id="module-Bio::DB::SAM::Library" class="module">
|
|
79
|
+
module Bio::DB::SAM::Library
|
|
80
|
+
</h1>
|
|
87
81
|
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
<li><a href="../../../Bio.html">Bio</a>
|
|
91
|
-
|
|
92
|
-
<li><a href="../../../Bio/DB.html">Bio::DB</a>
|
|
93
|
-
|
|
94
|
-
<li><a href="../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
|
95
|
-
|
|
96
|
-
<li><a href="../../../Bio/DB/Pileup.html">Bio::DB::Pileup</a>
|
|
97
|
-
|
|
98
|
-
<li><a href="../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
|
99
|
-
|
|
100
|
-
<li><a href="../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
|
101
|
-
|
|
102
|
-
<li><a href="../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
|
103
|
-
|
|
104
|
-
<li><a href="../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
|
105
|
-
|
|
106
|
-
<li><a href="../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
|
107
|
-
|
|
108
|
-
<li><a href="../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
|
109
|
-
|
|
110
|
-
<li><a href="../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
|
111
|
-
|
|
112
|
-
<li><a href="../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
|
113
|
-
|
|
114
|
-
<li><a href="../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
|
115
|
-
|
|
116
|
-
<li><a href="../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
|
117
|
-
|
|
118
|
-
<li><a href="../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
|
119
|
-
|
|
120
|
-
<li><a href="../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
|
121
|
-
|
|
122
|
-
<li><a href="../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
|
|
123
|
-
|
|
124
|
-
<li><a href="../../../LibC.html">LibC</a>
|
|
125
|
-
|
|
126
|
-
</ul>
|
|
127
|
-
</nav>
|
|
128
|
-
|
|
129
|
-
</div>
|
|
130
|
-
</nav>
|
|
131
|
-
|
|
132
|
-
<div id="documentation">
|
|
133
|
-
<h1 class="module">module Bio::DB::SAM::Library</h1>
|
|
134
|
-
|
|
135
|
-
<div id="description" class="description">
|
|
82
|
+
<section class="description">
|
|
136
83
|
|
|
137
|
-
</
|
|
84
|
+
</section>
|
|
138
85
|
|
|
139
86
|
|
|
140
87
|
|
|
@@ -148,10 +95,11 @@
|
|
|
148
95
|
|
|
149
96
|
|
|
150
97
|
|
|
151
|
-
<!-- Methods -->
|
|
152
98
|
|
|
153
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
154
|
-
|
|
99
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
100
|
+
<header>
|
|
101
|
+
<h3>Public Class Methods</h3>
|
|
102
|
+
</header>
|
|
155
103
|
|
|
156
104
|
|
|
157
105
|
<div id="method-c-filename" class="method-detail ">
|
|
@@ -159,7 +107,9 @@
|
|
|
159
107
|
<div class="method-heading">
|
|
160
108
|
<span class="method-name">filename</span><span
|
|
161
109
|
class="method-args">()</span>
|
|
110
|
+
|
|
162
111
|
<span class="method-click-advice">click to toggle source</span>
|
|
112
|
+
|
|
163
113
|
</div>
|
|
164
114
|
|
|
165
115
|
|
|
@@ -168,6 +118,7 @@
|
|
|
168
118
|
<p>Return the path with the file name of the library for the specific
|
|
169
119
|
operating system</p>
|
|
170
120
|
|
|
121
|
+
|
|
171
122
|
|
|
172
123
|
|
|
173
124
|
<div class="method-source-code" id="filename-source">
|
|
@@ -175,43 +126,42 @@ operating system</p>
|
|
|
175
126
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">filename</span>
|
|
176
127
|
<span class="ruby-comment">#TODO refactor this piece of code in all the files</span>
|
|
177
128
|
<span class="ruby-identifier">lib_os</span> = <span class="ruby-keyword">case</span> <span class="ruby-constant">RUBY_PLATFORM</span>
|
|
178
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp"
|
|
179
|
-
<span class="ruby-string"
|
|
180
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp"
|
|
181
|
-
<span class="ruby-string"
|
|
182
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp"
|
|
183
|
-
<span class="ruby-string"
|
|
129
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/linux/</span>
|
|
130
|
+
<span class="ruby-string">'so.1'</span>
|
|
131
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/darwin/</span>
|
|
132
|
+
<span class="ruby-string">'1.dylib'</span>
|
|
133
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/windows/</span>
|
|
134
|
+
<span class="ruby-string">'dll'</span>
|
|
184
135
|
<span class="ruby-keyword">else</span>
|
|
185
136
|
<span class="ruby-keyword">case</span> <span class="ruby-constant">RUBY_DESCRIPTION</span>
|
|
186
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp"
|
|
187
|
-
<span class="ruby-string"
|
|
188
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp"
|
|
189
|
-
<span class="ruby-string"
|
|
137
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/jruby.*darwin/</span>
|
|
138
|
+
<span class="ruby-string">'1.dylib'</span>
|
|
139
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/jruby.*linux/</span>
|
|
140
|
+
<span class="ruby-string">'so.1'</span>
|
|
190
141
|
<span class="ruby-keyword">end</span>
|
|
191
142
|
<span class="ruby-keyword">end</span>
|
|
192
143
|
|
|
193
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword">__FILE__</span>)),<span class="ruby-string"
|
|
144
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword">__FILE__</span>)),<span class="ruby-string">'external'</span>,<span class="ruby-node">"libbam.#{lib_os}"</span>)
|
|
194
145
|
<span class="ruby-keyword">end</span></pre>
|
|
195
|
-
</div
|
|
146
|
+
</div>
|
|
196
147
|
|
|
197
148
|
</div>
|
|
198
149
|
|
|
199
150
|
|
|
200
151
|
|
|
201
152
|
|
|
202
|
-
</div
|
|
153
|
+
</div>
|
|
203
154
|
|
|
204
155
|
|
|
205
|
-
</section
|
|
156
|
+
</section>
|
|
206
157
|
|
|
207
|
-
</section
|
|
208
|
-
|
|
209
|
-
</div><!-- documentation -->
|
|
158
|
+
</section>
|
|
159
|
+
</main>
|
|
210
160
|
|
|
211
161
|
|
|
212
|
-
<footer id="validator-badges">
|
|
213
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
214
|
-
<p>Generated by <a href="
|
|
215
|
-
<p>
|
|
162
|
+
<footer id="validator-badges" role="contentinfo">
|
|
163
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
164
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
|
165
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
216
166
|
</footer>
|
|
217
167
|
|
data/doc/Bio/DB/SAM/Tools.html
CHANGED
|
@@ -2,141 +2,87 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>module Bio::DB::SAM::Tools - Pileup</title>
|
|
8
8
|
|
|
9
|
-
<link
|
|
9
|
+
<link href="../../../fonts.css" rel="stylesheet">
|
|
10
|
+
<link href="../../../rdoc.css" rel="stylesheet">
|
|
10
11
|
|
|
11
12
|
<script type="text/javascript">
|
|
12
13
|
var rdoc_rel_prefix = "../../../";
|
|
13
14
|
</script>
|
|
14
15
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
<script
|
|
18
|
-
<script
|
|
19
|
-
<script
|
|
20
|
-
<script
|
|
16
|
+
<script src="../../../js/jquery.js"></script>
|
|
17
|
+
<script src="../../../js/navigation.js"></script>
|
|
18
|
+
<script src="../../../js/search_index.js"></script>
|
|
19
|
+
<script src="../../../js/search.js"></script>
|
|
20
|
+
<script src="../../../js/searcher.js"></script>
|
|
21
|
+
<script src="../../../js/darkfish.js"></script>
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
<body id="top" class="module">
|
|
24
|
-
<nav
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
<body id="top" role="document" class="module">
|
|
25
|
+
<nav role="navigation">
|
|
26
|
+
<div id="project-navigation">
|
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
|
+
<h2>
|
|
29
|
+
<a href="../../../index.html" rel="home">Home</a>
|
|
30
|
+
</h2>
|
|
31
|
+
|
|
32
|
+
<div id="table-of-contents-navigation">
|
|
33
|
+
<a href="../../../table_of_contents.html#pages">Pages</a>
|
|
28
34
|
<a href="../../../table_of_contents.html#classes">Classes</a>
|
|
29
35
|
<a href="../../../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
33
38
|
|
|
34
|
-
|
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
40
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
41
|
+
<div id="search-field-wrapper">
|
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
45
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
41
|
-
|
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
-
</nav>
|
|
44
|
-
|
|
46
|
+
</div>
|
|
45
47
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<li>lib/bio/db/sam/faidx.rb
|
|
52
|
-
<li>lib/bio/db/sam/sam.rb
|
|
53
|
-
</ul>
|
|
54
|
-
</nav>
|
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
|
49
|
+
aria-busy="false" aria-expanded="false"
|
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
+
</form>
|
|
52
|
+
</div>
|
|
55
53
|
|
|
56
|
-
|
|
57
54
|
</div>
|
|
58
55
|
|
|
56
|
+
|
|
57
|
+
|
|
59
58
|
<div id="class-metadata">
|
|
60
59
|
|
|
61
60
|
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
<
|
|
65
|
-
<h3 class="section-header">Methods</h3>
|
|
62
|
+
<div id="extends-section" class="nav-section">
|
|
63
|
+
<h3>Extended With Modules</h3>
|
|
66
64
|
|
|
67
65
|
<ul class="link-list">
|
|
68
66
|
|
|
69
|
-
<li><a href="#method-c-bam_sort">::bam_sort</a>
|
|
70
|
-
|
|
71
|
-
</ul>
|
|
72
|
-
</nav>
|
|
73
|
-
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<div id="project-metadata">
|
|
77
|
-
<nav id="fileindex-section" class="section project-section">
|
|
78
|
-
<h3 class="section-header">Pages</h3>
|
|
79
|
-
|
|
80
|
-
<ul>
|
|
81
|
-
|
|
82
|
-
<li class="file"><a href="../../../LICENSE_txt.html">LICENSE</a>
|
|
83
|
-
|
|
84
|
-
</ul>
|
|
85
|
-
</nav>
|
|
86
|
-
|
|
87
|
-
<nav id="classindex-section" class="section project-section">
|
|
88
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
89
|
-
|
|
90
|
-
<ul class="link-list">
|
|
91
|
-
|
|
92
|
-
<li><a href="../../../Bio.html">Bio</a>
|
|
93
67
|
|
|
94
|
-
<li><
|
|
68
|
+
<li><span class="extend">FFI::Library</span>
|
|
95
69
|
|
|
96
|
-
<li><a href="../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
|
97
|
-
|
|
98
|
-
<li><a href="../../../Bio/DB/Pileup.html">Bio::DB::Pileup</a>
|
|
99
|
-
|
|
100
|
-
<li><a href="../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
|
101
|
-
|
|
102
|
-
<li><a href="../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
|
103
|
-
|
|
104
|
-
<li><a href="../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
|
105
|
-
|
|
106
|
-
<li><a href="../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
|
107
|
-
|
|
108
|
-
<li><a href="../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
|
109
|
-
|
|
110
|
-
<li><a href="../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
|
111
|
-
|
|
112
|
-
<li><a href="../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
|
113
|
-
|
|
114
|
-
<li><a href="../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
|
115
|
-
|
|
116
|
-
<li><a href="../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
|
117
|
-
|
|
118
|
-
<li><a href="../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
|
119
|
-
|
|
120
|
-
<li><a href="../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
|
121
|
-
|
|
122
|
-
<li><a href="../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
|
123
|
-
|
|
124
|
-
<li><a href="../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
|
|
125
|
-
|
|
126
|
-
<li><a href="../../../LibC.html">LibC</a>
|
|
127
70
|
|
|
128
71
|
</ul>
|
|
129
|
-
</
|
|
72
|
+
</div>
|
|
130
73
|
|
|
74
|
+
|
|
131
75
|
</div>
|
|
132
76
|
</nav>
|
|
133
77
|
|
|
134
|
-
<
|
|
135
|
-
<h1
|
|
78
|
+
<main role="main" aria-labelledby="module-Bio::DB::SAM::Tools">
|
|
79
|
+
<h1 id="module-Bio::DB::SAM::Tools" class="module">
|
|
80
|
+
module Bio::DB::SAM::Tools
|
|
81
|
+
</h1>
|
|
136
82
|
|
|
137
|
-
<
|
|
83
|
+
<section class="description">
|
|
138
84
|
|
|
139
|
-
</
|
|
85
|
+
</section>
|
|
140
86
|
|
|
141
87
|
|
|
142
88
|
|
|
@@ -147,185 +93,17 @@
|
|
|
147
93
|
|
|
148
94
|
|
|
149
95
|
|
|
150
|
-
<!-- Constants -->
|
|
151
|
-
<section id="constants-list" class="section">
|
|
152
|
-
<h3 class="section-header">Constants</h3>
|
|
153
|
-
<dl>
|
|
154
|
-
|
|
155
|
-
<dt id="BAM_CDEL">BAM_CDEL
|
|
156
|
-
|
|
157
|
-
<dd class="description">
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
<dt id="BAM_CHARD_CLIP">BAM_CHARD_CLIP
|
|
161
|
-
|
|
162
|
-
<dd class="description">
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<dt id="BAM_CIGAR_MASK">BAM_CIGAR_MASK
|
|
166
|
-
|
|
167
|
-
<dd class="description">
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
<dt id="BAM_CIGAR_SHIFT">BAM_CIGAR_SHIFT
|
|
171
|
-
|
|
172
|
-
<dd class="description">
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
<dt id="BAM_CINS">BAM_CINS
|
|
176
|
-
|
|
177
|
-
<dd class="description">
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<dt id="BAM_CMATCH">BAM_CMATCH
|
|
181
|
-
|
|
182
|
-
<dd class="description">
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<dt id="BAM_CPAD">BAM_CPAD
|
|
186
|
-
|
|
187
|
-
<dd class="description">
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
<dt id="BAM_CREF_SKIP">BAM_CREF_SKIP
|
|
191
|
-
|
|
192
|
-
<dd class="description">
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
<dt id="BAM_CSOFT_CLIP">BAM_CSOFT_CLIP
|
|
196
|
-
|
|
197
|
-
<dd class="description">
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
<dt id="BAM_DEF_MASK">BAM_DEF_MASK
|
|
201
|
-
|
|
202
|
-
<dd class="description">
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
<dt id="BAM_FDUP">BAM_FDUP
|
|
206
|
-
|
|
207
|
-
<dd class="description">
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
<dt id="BAM_FMREVERSE">BAM_FMREVERSE
|
|
211
|
-
|
|
212
|
-
<dd class="description">
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<dt id="BAM_FMUNMAP">BAM_FMUNMAP
|
|
216
|
-
|
|
217
|
-
<dd class="description">
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
<dt id="BAM_FPAIRED">BAM_FPAIRED
|
|
221
|
-
|
|
222
|
-
<dd class="description">
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
<dt id="BAM_FPROPER_PAIR">BAM_FPROPER_PAIR
|
|
226
|
-
|
|
227
|
-
<dd class="description">
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
<dt id="BAM_FQCFAIL">BAM_FQCFAIL
|
|
231
|
-
|
|
232
|
-
<dd class="description">
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
<dt id="BAM_FREAD1">BAM_FREAD1
|
|
236
|
-
|
|
237
|
-
<dd class="description">
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
<dt id="BAM_FREAD2">BAM_FREAD2
|
|
241
|
-
|
|
242
|
-
<dd class="description">
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
<dt id="BAM_FREVERSE">BAM_FREVERSE
|
|
246
|
-
|
|
247
|
-
<dd class="description">
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
<dt id="BAM_FSECONDARY">BAM_FSECONDARY
|
|
251
|
-
|
|
252
|
-
<dd class="description">
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
<dt id="BAM_FUNMAP">BAM_FUNMAP
|
|
256
|
-
|
|
257
|
-
<dd class="description">
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
<dt id="BAM_OFDEC">BAM_OFDEC
|
|
261
|
-
|
|
262
|
-
<dd class="description">
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
<dt id="BAM_OFHEX">BAM_OFHEX
|
|
266
|
-
|
|
267
|
-
<dd class="description">
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
<dt id="BAM_OFSTR">BAM_OFSTR
|
|
271
|
-
|
|
272
|
-
<dd class="description">
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
</dl>
|
|
276
|
-
</section>
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
<!-- Methods -->
|
|
282
|
-
|
|
283
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
|
284
|
-
<h3 class="section-header">Public Class Methods</h3>
|
|
285
96
|
|
|
286
97
|
|
|
287
|
-
<div id="method-c-bam_sort" class="method-detail ">
|
|
288
|
-
|
|
289
|
-
<div class="method-heading">
|
|
290
|
-
<span class="method-name">bam_sort</span><span
|
|
291
|
-
class="method-args">(bam_filename, bam_output_prefix)</span>
|
|
292
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
293
|
-
</div>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
<div class="method-description">
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
<div class="method-source-code" id="bam_sort-source">
|
|
303
|
-
<pre><span class="ruby-comment"># File lib/bio/db/sam/bam.rb, line 172</span>
|
|
304
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">bam_sort</span>(<span class="ruby-identifier">bam_filename</span>, <span class="ruby-identifier">bam_output_prefix</span>)
|
|
305
|
-
<span class="ruby-identifier">is_by_name</span> = <span class="ruby-value">0</span>
|
|
306
|
-
<span class="ruby-identifier">max_mem</span> = <span class="ruby-value">500000000</span>
|
|
307
|
-
<span class="ruby-identifier">bam_sort_core</span>(<span class="ruby-identifier">is_by_name</span>, <span class="ruby-identifier">bam_filename</span>, <span class="ruby-identifier">bam_output_prefix</span>, <span class="ruby-identifier">max_mem</span>)
|
|
308
|
-
<span class="ruby-keyword">end</span></pre>
|
|
309
|
-
</div><!-- bam_sort-source -->
|
|
310
|
-
|
|
311
|
-
</div>
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
</div><!-- bam_sort-method -->
|
|
317
98
|
|
|
318
99
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
</section><!-- 5Buntitled-5D -->
|
|
322
|
-
|
|
323
|
-
</div><!-- documentation -->
|
|
100
|
+
</section>
|
|
101
|
+
</main>
|
|
324
102
|
|
|
325
103
|
|
|
326
|
-
<footer id="validator-badges">
|
|
327
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
328
|
-
<p>Generated by <a href="
|
|
329
|
-
<p>
|
|
104
|
+
<footer id="validator-badges" role="contentinfo">
|
|
105
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
106
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
|
107
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
330
108
|
</footer>
|
|
331
109
|
|