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
data/doc/basic_styles.css
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
untitled
|
3
|
-
|
4
|
-
Created by macleand on 2011-10-14.
|
5
|
-
Copyright (c) 2011 Dan MacLean. All rights reserved.
|
6
|
-
*/
|
7
|
-
#main { margin: 40px 0 60px 0; overflow: hidden; }
|
8
|
-
#wrap { width: 800px; margin: 0 auto 50px; }
|
9
|
-
body { font: 12px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; color: #555; font-weight: normal; }
|
10
|
-
h1 { font-size: 38px; margin: 0 0 10px 0; }
|
11
|
-
h2 { font-size: 30px; margin: 0 0 10px 0; }
|
12
|
-
h3 { font-size: 24px; margin: 0 0 10px 0; }
|
13
|
-
h4 { font-size: 18px; margin: 0 0 10px 0; }
|
14
|
-
h5 { font-size: 16px; margin: 0 0 5px 0; }
|
15
|
-
h6 { font-size: 14px; margin: 0 0 5px 0; }
|
16
|
-
p { margin: 0 0 15px 0; }
|
17
|
-
a { text-decoration: none; color: #FF7200; }
|
18
|
-
a:hover { color: #222; }
|
19
|
-
em { font-style: italic; }
|
20
|
-
ul { margin: 0 0 15px 15px; list-style-type: circle; }
|
21
|
-
ol { margin: 15px 0 15px 20px; list-style-type: decimal; }
|
22
|
-
strong, b { font-weight: bold; }
|
23
|
-
.hide { display: none; }
|
24
|
-
#header { padding: 55px 0 0 0; margin: 0 0 40px 0; }
|
25
|
-
table {border: 1px solid black; text-align:left; padding:5px;}
|
26
|
-
th
|
27
|
-
{
|
28
|
-
background-color:#FF7200;
|
29
|
-
padding:5px;
|
30
|
-
}
|
31
|
-
td {padding: 5px;}
|
data/doc/classes/Bio.html
DELETED
@@ -1,139 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: Bio</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Bio</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/bio/db/sam/bam_rb.html">
|
59
|
-
lib/bio/db/sam/bam.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/bio/db/sam/faidx_rb.html">
|
63
|
-
lib/bio/db/sam/faidx.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/bio/db/sam/library_rb.html">
|
67
|
-
lib/bio/db/sam/library.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/bio/db/sam/sam_rb.html">
|
71
|
-
lib/bio/db/sam/sam.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/bio/db/sam_rb.html">
|
75
|
-
lib/bio/db/sam.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
|
81
|
-
</table>
|
82
|
-
</div>
|
83
|
-
<!-- banner header -->
|
84
|
-
|
85
|
-
<div id="bodyContent">
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<div id="contextContent">
|
90
|
-
|
91
|
-
<div id="description">
|
92
|
-
<pre>
|
93
|
-
sam.rb
|
94
|
-
|
95
|
-
Created by Ricardo Ramirez on 3/25/10.
|
96
|
-
</pre>
|
97
|
-
<p>
|
98
|
-
require ‘rubygems’ require‘ffi’ require
|
99
|
-
‘bio/db/sam/bam‘
|
100
|
-
</p>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
</div>
|
109
|
-
|
110
|
-
|
111
|
-
<!-- if includes -->
|
112
|
-
|
113
|
-
<div id="section">
|
114
|
-
|
115
|
-
<div id="class-list">
|
116
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
117
|
-
|
118
|
-
Class <a href="Bio/DB.html" class="link">Bio::DB</a><br />
|
119
|
-
|
120
|
-
</div>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
<!-- if method_list -->
|
129
|
-
|
130
|
-
|
131
|
-
</div>
|
132
|
-
|
133
|
-
|
134
|
-
<div id="validator-badges">
|
135
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
</body>
|
139
|
-
</html>
|
data/doc/classes/Bio/DB.html
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Bio::DB</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Bio::DB</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/bio/db/sam/bam_rb.html">
|
59
|
-
lib/bio/db/sam/bam.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../../files/lib/bio/db/sam/faidx_rb.html">
|
63
|
-
lib/bio/db/sam/faidx.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../../files/lib/bio/db/sam/library_rb.html">
|
67
|
-
lib/bio/db/sam/library.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../../files/lib/bio/db/sam/sam_rb.html">
|
71
|
-
lib/bio/db/sam/sam.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../../files/lib/bio/db/sam_rb.html">
|
75
|
-
lib/bio/db/sam.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
|
81
|
-
<tr class="top-aligned-row">
|
82
|
-
<td><strong>Parent:</strong></td>
|
83
|
-
<td>
|
84
|
-
Object
|
85
|
-
</td>
|
86
|
-
</tr>
|
87
|
-
</table>
|
88
|
-
</div>
|
89
|
-
<!-- banner header -->
|
90
|
-
|
91
|
-
<div id="bodyContent">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<div id="contextContent">
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
<!-- if includes -->
|
106
|
-
|
107
|
-
<div id="section">
|
108
|
-
|
109
|
-
<div id="class-list">
|
110
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
111
|
-
|
112
|
-
Module <a href="DB/SAM.html" class="link">Bio::DB::SAM</a><br />
|
113
|
-
Class <a href="DB/Alignment.html" class="link">Bio::DB::Alignment</a><br />
|
114
|
-
Class <a href="DB/SAMException.html" class="link">Bio::DB::SAMException</a><br />
|
115
|
-
Class <a href="DB/Sam.html" class="link">Bio::DB::Sam</a><br />
|
116
|
-
Class <a href="DB/Tag.html" class="link">Bio::DB::Tag</a><br />
|
117
|
-
|
118
|
-
</div>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<!-- if method_list -->
|
127
|
-
|
128
|
-
|
129
|
-
</div>
|
130
|
-
|
131
|
-
|
132
|
-
<div id="validator-badges">
|
133
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
</body>
|
137
|
-
</html>
|
@@ -1,441 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Bio::DB::Alignment</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Bio::DB::Alignment</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/bio/db/sam_rb.html">
|
59
|
-
lib/bio/db/sam.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000013">finalize</a>
|
90
|
-
<a href="#M000012">new</a>
|
91
|
-
<a href="#M000015">sam=</a>
|
92
|
-
<a href="#M000014">set</a>
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
|
99
|
-
<!-- if includes -->
|
100
|
-
|
101
|
-
<div id="section">
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<div id="attribute-list">
|
108
|
-
<h3 class="section-bar">Attributes</h3>
|
109
|
-
|
110
|
-
<div class="name-list">
|
111
|
-
<table>
|
112
|
-
<tr class="top-aligned-row context-row">
|
113
|
-
<td class="context-item-name">al</td>
|
114
|
-
<td class="context-item-value"> [RW] </td>
|
115
|
-
<td class="context-item-desc">
|
116
|
-
Attributes from the format
|
117
|
-
|
118
|
-
</td>
|
119
|
-
</tr>
|
120
|
-
<tr class="top-aligned-row context-row">
|
121
|
-
<td class="context-item-name">calend</td>
|
122
|
-
<td class="context-item-value"> [RW] </td>
|
123
|
-
<td class="context-item-desc">
|
124
|
-
Attributes pulled with the C library
|
125
|
-
|
126
|
-
</td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">cigar</td>
|
130
|
-
<td class="context-item-value"> [RW] </td>
|
131
|
-
<td class="context-item-desc">
|
132
|
-
Attributes from the format
|
133
|
-
|
134
|
-
</td>
|
135
|
-
</tr>
|
136
|
-
<tr class="top-aligned-row context-row">
|
137
|
-
<td class="context-item-name">failed_quality</td>
|
138
|
-
<td class="context-item-value"> [RW] </td>
|
139
|
-
<td class="context-item-desc">
|
140
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
141
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
142
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
143
|
-
is the negation of is_negative from the BAM format
|
144
|
-
|
145
|
-
</td>
|
146
|
-
</tr>
|
147
|
-
<tr class="top-aligned-row context-row">
|
148
|
-
<td class="context-item-name">first_in_pair</td>
|
149
|
-
<td class="context-item-value"> [RW] </td>
|
150
|
-
<td class="context-item-desc">
|
151
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
152
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
153
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
154
|
-
is the negation of is_negative from the BAM format
|
155
|
-
|
156
|
-
</td>
|
157
|
-
</tr>
|
158
|
-
<tr class="top-aligned-row context-row">
|
159
|
-
<td class="context-item-name">flag</td>
|
160
|
-
<td class="context-item-value"> [RW] </td>
|
161
|
-
<td class="context-item-desc">
|
162
|
-
Attributes from the format
|
163
|
-
|
164
|
-
</td>
|
165
|
-
</tr>
|
166
|
-
<tr class="top-aligned-row context-row">
|
167
|
-
<td class="context-item-name">is_duplicate</td>
|
168
|
-
<td class="context-item-value"> [RW] </td>
|
169
|
-
<td class="context-item-desc">
|
170
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
171
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
172
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
173
|
-
is the negation of is_negative from the BAM format
|
174
|
-
|
175
|
-
</td>
|
176
|
-
</tr>
|
177
|
-
<tr class="top-aligned-row context-row">
|
178
|
-
<td class="context-item-name">is_mapped</td>
|
179
|
-
<td class="context-item-value"> [RW] </td>
|
180
|
-
<td class="context-item-desc">
|
181
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
182
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
183
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
184
|
-
is the negation of is_negative from the BAM format
|
185
|
-
|
186
|
-
</td>
|
187
|
-
</tr>
|
188
|
-
<tr class="top-aligned-row context-row">
|
189
|
-
<td class="context-item-name">is_paired</td>
|
190
|
-
<td class="context-item-value"> [RW] </td>
|
191
|
-
<td class="context-item-desc">
|
192
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
193
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
194
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
195
|
-
is the negation of is_negative from the BAM format
|
196
|
-
|
197
|
-
</td>
|
198
|
-
</tr>
|
199
|
-
<tr class="top-aligned-row context-row">
|
200
|
-
<td class="context-item-name">isize</td>
|
201
|
-
<td class="context-item-value"> [RW] </td>
|
202
|
-
<td class="context-item-desc">
|
203
|
-
Attributes from the format
|
204
|
-
|
205
|
-
</td>
|
206
|
-
</tr>
|
207
|
-
<tr class="top-aligned-row context-row">
|
208
|
-
<td class="context-item-name">mapq</td>
|
209
|
-
<td class="context-item-value"> [RW] </td>
|
210
|
-
<td class="context-item-desc">
|
211
|
-
Attributes from the format
|
212
|
-
|
213
|
-
</td>
|
214
|
-
</tr>
|
215
|
-
<tr class="top-aligned-row context-row">
|
216
|
-
<td class="context-item-name">mate_strand</td>
|
217
|
-
<td class="context-item-value"> [RW] </td>
|
218
|
-
<td class="context-item-desc">
|
219
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
220
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
221
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
222
|
-
is the negation of is_negative from the BAM format
|
223
|
-
|
224
|
-
</td>
|
225
|
-
</tr>
|
226
|
-
<tr class="top-aligned-row context-row">
|
227
|
-
<td class="context-item-name">mate_unmapped</td>
|
228
|
-
<td class="context-item-value"> [RW] </td>
|
229
|
-
<td class="context-item-desc">
|
230
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
231
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
232
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
233
|
-
is the negation of is_negative from the BAM format
|
234
|
-
|
235
|
-
</td>
|
236
|
-
</tr>
|
237
|
-
<tr class="top-aligned-row context-row">
|
238
|
-
<td class="context-item-name">mpos</td>
|
239
|
-
<td class="context-item-value"> [RW] </td>
|
240
|
-
<td class="context-item-desc">
|
241
|
-
Attributes from the format
|
242
|
-
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
<tr class="top-aligned-row context-row">
|
246
|
-
<td class="context-item-name">mrnm</td>
|
247
|
-
<td class="context-item-value"> [RW] </td>
|
248
|
-
<td class="context-item-desc">
|
249
|
-
Attributes from the format
|
250
|
-
|
251
|
-
</td>
|
252
|
-
</tr>
|
253
|
-
<tr class="top-aligned-row context-row">
|
254
|
-
<td class="context-item-name">pos</td>
|
255
|
-
<td class="context-item-value"> [RW] </td>
|
256
|
-
<td class="context-item-desc">
|
257
|
-
Attributes from the format
|
258
|
-
|
259
|
-
</td>
|
260
|
-
</tr>
|
261
|
-
<tr class="top-aligned-row context-row">
|
262
|
-
<td class="context-item-name">primary</td>
|
263
|
-
<td class="context-item-value"> [RW] </td>
|
264
|
-
<td class="context-item-desc">
|
265
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
266
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
267
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
268
|
-
is the negation of is_negative from the BAM format
|
269
|
-
|
270
|
-
</td>
|
271
|
-
</tr>
|
272
|
-
<tr class="top-aligned-row context-row">
|
273
|
-
<td class="context-item-name">qlen</td>
|
274
|
-
<td class="context-item-value"> [RW] </td>
|
275
|
-
<td class="context-item-desc">
|
276
|
-
Attributes pulled with the C library
|
277
|
-
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
<tr class="top-aligned-row context-row">
|
281
|
-
<td class="context-item-name">qname</td>
|
282
|
-
<td class="context-item-value"> [RW] </td>
|
283
|
-
<td class="context-item-desc">
|
284
|
-
Attributes from the format
|
285
|
-
|
286
|
-
</td>
|
287
|
-
</tr>
|
288
|
-
<tr class="top-aligned-row context-row">
|
289
|
-
<td class="context-item-name">qual</td>
|
290
|
-
<td class="context-item-value"> [RW] </td>
|
291
|
-
<td class="context-item-desc">
|
292
|
-
Attributes from the format
|
293
|
-
|
294
|
-
</td>
|
295
|
-
</tr>
|
296
|
-
<tr class="top-aligned-row context-row">
|
297
|
-
<td class="context-item-name">query_strand</td>
|
298
|
-
<td class="context-item-value"> [RW] </td>
|
299
|
-
<td class="context-item-desc">
|
300
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
301
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
302
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
303
|
-
is the negation of is_negative from the BAM format
|
304
|
-
|
305
|
-
</td>
|
306
|
-
</tr>
|
307
|
-
<tr class="top-aligned-row context-row">
|
308
|
-
<td class="context-item-name">query_unmapped</td>
|
309
|
-
<td class="context-item-value"> [RW] </td>
|
310
|
-
<td class="context-item-desc">
|
311
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
312
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
313
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
314
|
-
is the negation of is_negative from the BAM format
|
315
|
-
|
316
|
-
</td>
|
317
|
-
</tr>
|
318
|
-
<tr class="top-aligned-row context-row">
|
319
|
-
<td class="context-item-name">rname</td>
|
320
|
-
<td class="context-item-value"> [RW] </td>
|
321
|
-
<td class="context-item-desc">
|
322
|
-
Attributes from the format
|
323
|
-
|
324
|
-
</td>
|
325
|
-
</tr>
|
326
|
-
<tr class="top-aligned-row context-row">
|
327
|
-
<td class="context-item-name">samstr</td>
|
328
|
-
<td class="context-item-value"> [RW] </td>
|
329
|
-
<td class="context-item-desc">
|
330
|
-
Attributes from the format
|
331
|
-
|
332
|
-
</td>
|
333
|
-
</tr>
|
334
|
-
<tr class="top-aligned-row context-row">
|
335
|
-
<td class="context-item-name">second_in_pair</td>
|
336
|
-
<td class="context-item-value"> [RW] </td>
|
337
|
-
<td class="context-item-desc">
|
338
|
-
Attrobites frp, the flag field (see chapter 2.2.2 of the sam file
|
339
|
-
documentation) query_strand and mate_strand are true if they are forward.
|
340
|
-
It is the opposite to the definition in the BAM format for clarity. primary
|
341
|
-
is the negation of is_negative from the BAM format
|
342
|
-
|
343
|
-
</td>
|
344
|
-
</tr>
|
345
|
-
<tr class="top-aligned-row context-row">
|
346
|
-
<td class="context-item-name">seq</td>
|
347
|
-
<td class="context-item-value"> [RW] </td>
|
348
|
-
<td class="context-item-desc">
|
349
|
-
Attributes from the format
|
350
|
-
|
351
|
-
</td>
|
352
|
-
</tr>
|
353
|
-
<tr class="top-aligned-row context-row">
|
354
|
-
<td class="context-item-name">tags</td>
|
355
|
-
<td class="context-item-value"> [RW] </td>
|
356
|
-
<td class="context-item-desc">
|
357
|
-
Attributes from the format
|
358
|
-
|
359
|
-
</td>
|
360
|
-
</tr>
|
361
|
-
</table>
|
362
|
-
</div>
|
363
|
-
</div>
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
<!-- if method_list -->
|
368
|
-
<div id="methods">
|
369
|
-
<h3 class="section-bar">Public Class methods</h3>
|
370
|
-
|
371
|
-
<div id="method-M000013" class="method-detail">
|
372
|
-
<a name="M000013"></a>
|
373
|
-
|
374
|
-
<div class="method-heading">
|
375
|
-
<a href="Alignment.src/M000013.html" target="Code" class="method-signature"
|
376
|
-
onclick="popupCode('Alignment.src/M000013.html');return false;">
|
377
|
-
<span class="method-name">finalize</span><span class="method-args">(object_id)</span>
|
378
|
-
</a>
|
379
|
-
</div>
|
380
|
-
|
381
|
-
<div class="method-description">
|
382
|
-
</div>
|
383
|
-
</div>
|
384
|
-
|
385
|
-
<div id="method-M000012" class="method-detail">
|
386
|
-
<a name="M000012"></a>
|
387
|
-
|
388
|
-
<div class="method-heading">
|
389
|
-
<a href="Alignment.src/M000012.html" target="Code" class="method-signature"
|
390
|
-
onclick="popupCode('Alignment.src/M000012.html');return false;">
|
391
|
-
<span class="method-name">new</span><span class="method-args">()</span>
|
392
|
-
</a>
|
393
|
-
</div>
|
394
|
-
|
395
|
-
<div class="method-description">
|
396
|
-
</div>
|
397
|
-
</div>
|
398
|
-
|
399
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
400
|
-
|
401
|
-
<div id="method-M000015" class="method-detail">
|
402
|
-
<a name="M000015"></a>
|
403
|
-
|
404
|
-
<div class="method-heading">
|
405
|
-
<a href="Alignment.src/M000015.html" target="Code" class="method-signature"
|
406
|
-
onclick="popupCode('Alignment.src/M000015.html');return false;">
|
407
|
-
<span class="method-name">sam=</span><span class="method-args">(sam)</span>
|
408
|
-
</a>
|
409
|
-
</div>
|
410
|
-
|
411
|
-
<div class="method-description">
|
412
|
-
</div>
|
413
|
-
</div>
|
414
|
-
|
415
|
-
<div id="method-M000014" class="method-detail">
|
416
|
-
<a name="M000014"></a>
|
417
|
-
|
418
|
-
<div class="method-heading">
|
419
|
-
<a href="Alignment.src/M000014.html" target="Code" class="method-signature"
|
420
|
-
onclick="popupCode('Alignment.src/M000014.html');return false;">
|
421
|
-
<span class="method-name">set</span><span class="method-args">(bam_alignment, header)</span>
|
422
|
-
</a>
|
423
|
-
</div>
|
424
|
-
|
425
|
-
<div class="method-description">
|
426
|
-
</div>
|
427
|
-
</div>
|
428
|
-
|
429
|
-
|
430
|
-
</div>
|
431
|
-
|
432
|
-
|
433
|
-
</div>
|
434
|
-
|
435
|
-
|
436
|
-
<div id="validator-badges">
|
437
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
438
|
-
</div>
|
439
|
-
|
440
|
-
</body>
|
441
|
-
</html>
|