Sha256: e33d1a215ee71d1240a11a2ba152da7507961bddebdc30241b0fc4eeaa84ae4b
Contents?: true
Size: 1.12 KB
Versions: 12
Compression:
Stored size: 1.12 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>non_ref_count (Pileup)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/bio/db/sam/pileup.rb, line 64</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">non_ref_count</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@non_ref_count</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-ivar">@non_ref_count</span> = <span class="ruby-ivar">@read_bases</span>.<span class="ruby-identifier">count</span>(<span class="ruby-value str">"ATGCatgc"</span>).<span class="ruby-identifier">to_f</span> <span class="ruby-keyword kw">end</span> <span class="ruby-ivar">@non_ref_count</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
12 entries across 12 versions & 1 rubygems