bio-samtools 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bio-samtools.gemspec +60 -6
- data/doc/Bio.html +171 -0
- data/doc/Bio/DB.html +163 -0
- data/doc/Bio/DB/Alignment.html +780 -0
- data/doc/Bio/DB/SAM.html +1241 -0
- data/doc/Bio/DB/SAM/Library.html +217 -0
- data/doc/Bio/DB/SAM/Tools.html +331 -0
- data/doc/Bio/DB/SAM/Tools/Bam1CoreT.html +159 -0
- data/doc/Bio/DB/SAM/Tools/Bam1T.html +220 -0
- data/doc/Bio/DB/SAM/Tools/BamHeaderT.html +249 -0
- data/doc/Bio/DB/SAM/Tools/BamPileup1T.html +159 -0
- data/doc/Bio/DB/SAM/Tools/SamfileT.html +171 -0
- data/doc/Bio/DB/SAM/Tools/SamfileTX.html +159 -0
- data/doc/Bio/DB/SAMException.html +205 -0
- data/doc/Bio/DB/Tag.html +254 -0
- data/doc/LICENSE_txt.html +881 -0
- data/doc/LibC.html +153 -0
- data/doc/Pileup.html +571 -0
- data/doc/Vcf.html +473 -0
- data/doc/created.rid +10 -1
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +109 -21
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/lib/bio-samtools_rb.html +115 -0
- data/doc/lib/bio/db/sam/bam_rb.html +121 -0
- data/doc/lib/bio/db/sam/faidx_rb.html +117 -0
- data/doc/lib/bio/db/sam/library_rb.html +115 -0
- data/doc/lib/bio/db/sam/pileup_rb.html +171 -0
- data/doc/lib/bio/db/sam/sam_rb.html +121 -0
- data/doc/lib/bio/db/sam/vcf_rb.html +124 -0
- data/doc/lib/bio/db/sam_rb.html +115 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +186 -0
- data/ext/Makefile-bioruby.patch +1 -1
- data/ext/Rakefile +8 -1
- data/ext/mkrf_conf.rb +8 -1
- data/lib/bio/db/sam.rb +140 -27
- data/lib/bio/db/sam/vcf.rb +0 -1
- data/test/basictest.rb +4 -4
- data/test/test_basic.rb +50 -34
- metadata +79 -25
- data/test/coverage.rb +0 -26
- data/test/coverage_plot.rb +0 -28
- data/test/feature.rb +0 -0
- data/test/test_pileup.rb +0 -68
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>LICENSE</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 class="file">
|
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="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="../../../../Bio.html">Bio</a>
|
63
|
+
|
64
|
+
<li><a href="../../../../Bio/DB.html">Bio::DB</a>
|
65
|
+
|
66
|
+
<li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
67
|
+
|
68
|
+
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
69
|
+
|
70
|
+
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
71
|
+
|
72
|
+
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
73
|
+
|
74
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
75
|
+
|
76
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
77
|
+
|
78
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
79
|
+
|
80
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
81
|
+
|
82
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
83
|
+
|
84
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
85
|
+
|
86
|
+
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
87
|
+
|
88
|
+
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
89
|
+
|
90
|
+
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
91
|
+
|
92
|
+
<li><a href="../../../../LibC.html">LibC</a>
|
93
|
+
|
94
|
+
<li><a href="../../../../Pileup.html">Pileup</a>
|
95
|
+
|
96
|
+
<li><a href="../../../../Vcf.html">Vcf</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<div id="documentation" class="description">
|
105
|
+
|
106
|
+
<p>require ‘rubygems’ require’ffi’ require ‘bio/db/sam/bam’</p>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
<footer id="validator-badges">
|
113
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
114
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
115
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
116
|
+
</footer>
|
117
|
+
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>LICENSE</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 class="file">
|
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="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="../../../../Bio.html">Bio</a>
|
63
|
+
|
64
|
+
<li><a href="../../../../Bio/DB.html">Bio::DB</a>
|
65
|
+
|
66
|
+
<li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
67
|
+
|
68
|
+
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
69
|
+
|
70
|
+
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
71
|
+
|
72
|
+
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
73
|
+
|
74
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
75
|
+
|
76
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
77
|
+
|
78
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
79
|
+
|
80
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
81
|
+
|
82
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
83
|
+
|
84
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
85
|
+
|
86
|
+
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
87
|
+
|
88
|
+
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
89
|
+
|
90
|
+
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
91
|
+
|
92
|
+
<li><a href="../../../../LibC.html">LibC</a>
|
93
|
+
|
94
|
+
<li><a href="../../../../Pileup.html">Pileup</a>
|
95
|
+
|
96
|
+
<li><a href="../../../../Vcf.html">Vcf</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<div id="documentation" class="description">
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<footer id="validator-badges">
|
111
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
112
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
113
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
114
|
+
</footer>
|
115
|
+
|
@@ -0,0 +1,171 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>LICENSE</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 class="file">
|
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="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="../../../../Bio.html">Bio</a>
|
63
|
+
|
64
|
+
<li><a href="../../../../Bio/DB.html">Bio::DB</a>
|
65
|
+
|
66
|
+
<li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
67
|
+
|
68
|
+
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
69
|
+
|
70
|
+
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
71
|
+
|
72
|
+
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
73
|
+
|
74
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
75
|
+
|
76
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
77
|
+
|
78
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
79
|
+
|
80
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
81
|
+
|
82
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
83
|
+
|
84
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
85
|
+
|
86
|
+
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
87
|
+
|
88
|
+
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
89
|
+
|
90
|
+
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
91
|
+
|
92
|
+
<li><a href="../../../../LibC.html">LibC</a>
|
93
|
+
|
94
|
+
<li><a href="../../../../Pileup.html">Pileup</a>
|
95
|
+
|
96
|
+
<li><a href="../../../../Vcf.html">Vcf</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<div id="documentation" class="description">
|
105
|
+
|
106
|
+
<h1 id="label-Pileup+"><a href="../../../../Pileup.html">Pileup</a> </h1>
|
107
|
+
|
108
|
+
<p>A class representing information in SAMTools pileup format</p>
|
109
|
+
<dl class="rdoc-list note-list"><dt>Author
|
110
|
+
<dd>
|
111
|
+
<p>Dan MacLean (tsl at dan.maclean.ac.uk)</p>
|
112
|
+
</dd></dl>
|
113
|
+
|
114
|
+
<p><a href="../../../../Pileup.html">Pileup</a> is described at <a
|
115
|
+
href="http://sourceforge.net/apps/mediawiki/samtools/index.php?title=SAM_FAQ#I_do_not_understand_the_columns_in_the_pileup_output">sourceforge.net/apps/mediawiki/samtools/index.php?title=SAM_FAQ#I_do_not_understand_the_columns_in_the_pileup_output</a>.
|
116
|
+
Briefly (when you invoke pileup with the -c option):</p>
|
117
|
+
<ul><li>
|
118
|
+
<p>1 reference sequence name</p>
|
119
|
+
</li><li>
|
120
|
+
<p>2 reference coordinate</p>
|
121
|
+
</li><li>
|
122
|
+
<p>(3) reference base, or `*‘ for an indel line</p>
|
123
|
+
</li><li>
|
124
|
+
<p>(4) genotype where heterozygotes are encoded in the IUB code: M=A/C, R=A/G,
|
125
|
+
W=A/T, S=C/G, Y=C/T and K=G/T; indels are indicated by, for example, +A,
|
126
|
+
-A or +CC/-C. There is no difference between */+A or +A/*.</p>
|
127
|
+
</li><li>
|
128
|
+
<p>(5) Phred-scaled likelihood that the genotype is wrong, which is also
|
129
|
+
called `consensus quality’.</p>
|
130
|
+
</li><li>
|
131
|
+
<p>(6) Phred-scaled likelihood that the genotype is identical to the
|
132
|
+
reference, which is also called `SNP quality’. Suppose the reference base
|
133
|
+
is A and in alignment we see 17 G and 3 A. We will get a low consensus
|
134
|
+
quality because it is difficult to distinguish an A/G heterozygote from a
|
135
|
+
G/G homozygote. We will get a high SNP quality, though, because the
|
136
|
+
evidence of a SNP is very strong.</p>
|
137
|
+
</li><li>
|
138
|
+
<p>(7) root mean square (RMS) mapping quality</p>
|
139
|
+
</li><li>
|
140
|
+
<p>8 # reads covering the position</p>
|
141
|
+
</li><li>
|
142
|
+
<p>9 read bases at a SNP line (check the manual page for more information);
|
143
|
+
the 1st indel allele otherwise</p>
|
144
|
+
</li><li>
|
145
|
+
<p>10 base quality at a SNP line; the 2nd indel allele otherwise</p>
|
146
|
+
</li><li>
|
147
|
+
<p>(11) indel line only: # reads directly supporting the 1st indel allele</p>
|
148
|
+
</li><li>
|
149
|
+
<p>(12) indel line only: # reads directly supporting the 2nd indel allele</p>
|
150
|
+
</li><li>
|
151
|
+
<p>(13) indel line only: # reads supporting a third indel allele</p>
|
152
|
+
</li></ul>
|
153
|
+
|
154
|
+
<p>If pileup is invoked without `-c’, indel lines and columns between 3 and
|
155
|
+
7 inclusive will not be outputted.</p>
|
156
|
+
|
157
|
+
<p>NB mpileup uses the 6 column output format eg
|
158
|
+
“seq2t151tGtGt36t0t99t12t.….……At:9<;;7=<<<<<”
|
159
|
+
<a href="../../../../Pileup.html">Pileup</a> provides accessors for all
|
160
|
+
columns (6 or 10 column format) and a few other useful methods</p>
|
161
|
+
|
162
|
+
</div>
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<footer id="validator-badges">
|
167
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
168
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
169
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
170
|
+
</footer>
|
171
|
+
|
@@ -0,0 +1,121 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>LICENSE</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 class="file">
|
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="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="../../../../LICENSE_txt.html">LICENSE</a>
|
53
|
+
|
54
|
+
</ul>
|
55
|
+
</nav>
|
56
|
+
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="../../../../Bio.html">Bio</a>
|
63
|
+
|
64
|
+
<li><a href="../../../../Bio/DB.html">Bio::DB</a>
|
65
|
+
|
66
|
+
<li><a href="../../../../Bio/DB/Alignment.html">Bio::DB::Alignment</a>
|
67
|
+
|
68
|
+
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
69
|
+
|
70
|
+
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
71
|
+
|
72
|
+
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
73
|
+
|
74
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
75
|
+
|
76
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
77
|
+
|
78
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
79
|
+
|
80
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
81
|
+
|
82
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
83
|
+
|
84
|
+
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
85
|
+
|
86
|
+
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
87
|
+
|
88
|
+
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
89
|
+
|
90
|
+
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
91
|
+
|
92
|
+
<li><a href="../../../../LibC.html">LibC</a>
|
93
|
+
|
94
|
+
<li><a href="../../../../Pileup.html">Pileup</a>
|
95
|
+
|
96
|
+
<li><a href="../../../../Vcf.html">Vcf</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<div id="documentation" class="description">
|
105
|
+
|
106
|
+
<pre>sam.rb
|
107
|
+
|
108
|
+
Created by Ricardo Ramirez on 3/25/10.</pre>
|
109
|
+
|
110
|
+
<p>require ‘rubygems’ require’ffi’ require ‘bio/db/sam/bam’</p>
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
<footer id="validator-badges">
|
117
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
118
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
119
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
120
|
+
</footer>
|
121
|
+
|