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.
- 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
@@ -1,117 +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>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/Pileup.html">Bio::DB::Pileup</a>
|
69
|
-
|
70
|
-
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
71
|
-
|
72
|
-
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
73
|
-
|
74
|
-
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
75
|
-
|
76
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
77
|
-
|
78
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
79
|
-
|
80
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
81
|
-
|
82
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
83
|
-
|
84
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
85
|
-
|
86
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
87
|
-
|
88
|
-
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
89
|
-
|
90
|
-
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
91
|
-
|
92
|
-
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
93
|
-
|
94
|
-
<li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
|
95
|
-
|
96
|
-
<li><a href="../../../../LibC.html">LibC</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
|
-
|
@@ -1,115 +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>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/Pileup.html">Bio::DB::Pileup</a>
|
69
|
-
|
70
|
-
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
71
|
-
|
72
|
-
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
73
|
-
|
74
|
-
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
75
|
-
|
76
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
77
|
-
|
78
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
79
|
-
|
80
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
81
|
-
|
82
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
83
|
-
|
84
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
85
|
-
|
86
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
87
|
-
|
88
|
-
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
89
|
-
|
90
|
-
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
91
|
-
|
92
|
-
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
93
|
-
|
94
|
-
<li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
|
95
|
-
|
96
|
-
<li><a href="../../../../LibC.html">LibC</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
|
-
|
@@ -1,171 +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>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
|
-
|
@@ -1,121 +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>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/Pileup.html">Bio::DB::Pileup</a>
|
69
|
-
|
70
|
-
<li><a href="../../../../Bio/DB/SAM.html">Bio::DB::SAM</a>
|
71
|
-
|
72
|
-
<li><a href="../../../../Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a>
|
73
|
-
|
74
|
-
<li><a href="../../../../Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a>
|
75
|
-
|
76
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a>
|
77
|
-
|
78
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a>
|
79
|
-
|
80
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a>
|
81
|
-
|
82
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a>
|
83
|
-
|
84
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a>
|
85
|
-
|
86
|
-
<li><a href="../../../../Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a>
|
87
|
-
|
88
|
-
<li><a href="../../../../Bio/DB/SAMException.html">Bio::DB::SAMException</a>
|
89
|
-
|
90
|
-
<li><a href="../../../../Bio/DB/Sam.html">Bio::DB::Sam</a>
|
91
|
-
|
92
|
-
<li><a href="../../../../Bio/DB/Tag.html">Bio::DB::Tag</a>
|
93
|
-
|
94
|
-
<li><a href="../../../../Bio/DB/Vcf.html">Bio::DB::Vcf</a>
|
95
|
-
|
96
|
-
<li><a href="../../../../LibC.html">LibC</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
|
-
|