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,43 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Classes
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Classes</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Classes</h1>
22
- <div id="index-entries">
23
- <a href="classes/Bio.html">Bio</a><br />
24
- <a href="classes/Bio/DB.html">Bio::DB</a><br />
25
- <a href="classes/Bio/DB/Alignment.html">Bio::DB::Alignment</a><br />
26
- <a href="classes/Bio/DB/SAM.html">Bio::DB::SAM</a><br />
27
- <a href="classes/Bio/DB/SAM/Library.html">Bio::DB::SAM::Library</a><br />
28
- <a href="classes/Bio/DB/SAM/Tools.html">Bio::DB::SAM::Tools</a><br />
29
- <a href="classes/Bio/DB/SAM/Tools/Bam1CoreT.html">Bio::DB::SAM::Tools::Bam1CoreT</a><br />
30
- <a href="classes/Bio/DB/SAM/Tools/Bam1T.html">Bio::DB::SAM::Tools::Bam1T</a><br />
31
- <a href="classes/Bio/DB/SAM/Tools/BamHeaderT.html">Bio::DB::SAM::Tools::BamHeaderT</a><br />
32
- <a href="classes/Bio/DB/SAM/Tools/BamPileup1T.html">Bio::DB::SAM::Tools::BamPileup1T</a><br />
33
- <a href="classes/Bio/DB/SAM/Tools/SamfileT.html">Bio::DB::SAM::Tools::SamfileT</a><br />
34
- <a href="classes/Bio/DB/SAM/Tools/SamfileTX.html">Bio::DB::SAM::Tools::SamfileTX</a><br />
35
- <a href="classes/Bio/DB/SAMException.html">Bio::DB::SAMException</a><br />
36
- <a href="classes/Bio/DB/Sam.html">Bio::DB::Sam</a><br />
37
- <a href="classes/Bio/DB/Tag.html">Bio::DB::Tag</a><br />
38
- <a href="classes/LibC.html">LibC</a><br />
39
- <a href="classes/Pileup.html">Pileup</a><br />
40
- </div>
41
- </div>
42
- </body>
43
- </html>
@@ -1,33 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Files
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Files</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Files</h1>
22
- <div id="index-entries">
23
- <a href="files/lib/bio-samtools_rb.html">lib/bio-samtools.rb</a><br />
24
- <a href="files/lib/bio/db/sam_rb.html">lib/bio/db/sam.rb</a><br />
25
- <a href="files/lib/bio/db/sam/bam_rb.html">lib/bio/db/sam/bam.rb</a><br />
26
- <a href="files/lib/bio/db/sam/faidx_rb.html">lib/bio/db/sam/faidx.rb</a><br />
27
- <a href="files/lib/bio/db/sam/library_rb.html">lib/bio/db/sam/library.rb</a><br />
28
- <a href="files/lib/bio/db/sam/pileup_rb.html">lib/bio/db/sam/pileup.rb</a><br />
29
- <a href="files/lib/bio/db/sam/sam_rb.html">lib/bio/db/sam/sam.rb</a><br />
30
- </div>
31
- </div>
32
- </body>
33
- </html>
@@ -1,58 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Methods
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Methods</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Methods</h1>
22
- <div id="index-entries">
23
- <a href="classes/Bio/DB/Sam.html#M000024">average_coverage (Bio::DB::Sam)</a><br />
24
- <a href="classes/Bio/DB/SAM/Tools.html#M000007">bam_sort (Bio::DB::SAM::Tools)</a><br />
25
- <a href="classes/Bio/DB/Sam.html#M000025">chromosome_coverage (Bio::DB::Sam)</a><br />
26
- <a href="classes/Bio/DB/Sam.html#M000020">close (Bio::DB::Sam)</a><br />
27
- <a href="classes/Pileup.html#M000005">consensus (Pileup)</a><br />
28
- <a href="classes/Bio/DB/Sam.html#M000032">deprecated_pileup (Bio::DB::Sam)</a><br />
29
- <a href="classes/Bio/DB/Sam.html#M000028">fetch (Bio::DB::Sam)</a><br />
30
- <a href="classes/Bio/DB/Sam.html#M000026">fetch_reference (Bio::DB::Sam)</a><br />
31
- <a href="classes/Bio/DB/Sam.html#M000029">fetch_with_function (Bio::DB::Sam)</a><br />
32
- <a href="classes/Bio/DB/SAM/Library.html#M000006">filename (Bio::DB::SAM::Library)</a><br />
33
- <a href="classes/Bio/DB/Alignment.html#M000013">finalize (Bio::DB::Alignment)</a><br />
34
- <a href="classes/Bio/DB/Sam.html#M000021">finalize (Bio::DB::Sam)</a><br />
35
- <a href="classes/Bio/DB/Sam.html#M000022">load_index (Bio::DB::Sam)</a><br />
36
- <a href="classes/Bio/DB/Sam.html#M000023">load_reference (Bio::DB::Sam)</a><br />
37
- <a href="classes/Bio/DB/Sam.html#M000030">merge (Bio::DB::Sam)</a><br />
38
- <a href="classes/Bio/DB/Sam.html#M000031">mpileup (Bio::DB::Sam)</a><br />
39
- <a href="classes/Bio/DB/Sam.html#M000017">new (Bio::DB::Sam)</a><br />
40
- <a href="classes/Pileup.html#M000001">new (Pileup)</a><br />
41
- <a href="classes/Bio/DB/Alignment.html#M000012">new (Bio::DB::Alignment)</a><br />
42
- <a href="classes/Bio/DB/SAMException.html#M000016">new (Bio::DB::SAMException)</a><br />
43
- <a href="classes/Pileup.html#M000003">non_ref_count (Pileup)</a><br />
44
- <a href="classes/Pileup.html#M000002">non_refs (Pileup)</a><br />
45
- <a href="classes/Bio/DB/Sam.html#M000018">open (Bio::DB::Sam)</a><br />
46
- <a href="classes/Bio/DB/SAM/Tools/Bam1T.html#M000010">qname (Bio::DB::SAM::Tools::Bam1T)</a><br />
47
- <a href="classes/Bio/DB/Sam.html#M000027">query_string (Bio::DB::Sam)</a><br />
48
- <a href="classes/Pileup.html#M000004">ref_count (Pileup)</a><br />
49
- <a href="classes/Bio/DB/Alignment.html#M000015">sam= (Bio::DB::Alignment)</a><br />
50
- <a href="classes/Bio/DB/Alignment.html#M000014">set (Bio::DB::Alignment)</a><br />
51
- <a href="classes/Bio/DB/Tag.html#M000011">set (Bio::DB::Tag)</a><br />
52
- <a href="classes/Bio/DB/SAM/Tools/BamHeaderT.html#M000009">text (Bio::DB::SAM::Tools::BamHeaderT)</a><br />
53
- <a href="classes/Bio/DB/SAM/Tools/BamHeaderT.html#M000008">text= (Bio::DB::SAM::Tools::BamHeaderT)</a><br />
54
- <a href="classes/Bio/DB/Sam.html#M000019">to_s (Bio::DB::Sam)</a><br />
55
- </div>
56
- </div>
57
- </body>
58
- </html>
@@ -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/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
- <h1 id="label-Bio%3A%3ADB%3A%3APileup+"><a href="../../../Bio/DB/Pileup.html">Bio::DB::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>Pileup 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&lt;;;7=&lt;&lt;&lt;&lt;&lt;”
159
- Pileup provides accessors for all columns (6 or 10 column format) and a few
160
- 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
- <p>require ‘rubygems’ require ‘ffi’</p>
107
-
108
- <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'bio/db/sam/faidx'</span>
109
- <span class="ruby-identifier">require</span> <span class="ruby-string">'bio/db/sam/sam'</span>
110
- </pre>
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
-