Changes

From Genome Analysis Wiki
Jump to navigationJump to search
69 bytes added ,  16:59, 23 August 2010
Line 180: Line 180:  
== Statistics ==
 
== Statistics ==
 
=== Statistic Generation ===
 
=== Statistic Generation ===
 +
 +
The following statistics can be optionally recorded when reading a SamFile by specifying <code>SamFile::GenerateStatistics()</code> and displayed with <code>SamFile::PrintStatistics()</code>
    
The statistics only reflect alignments that were successfully read from the BAM file.  Alignments that failed to parse from the file are not reflected in the statistics, but alignments that are invalid for other reasons may show up in the statistics.
 
The statistics only reflect alignments that were successfully read from the BAM file.  Alignments that failed to parse from the file are not reflected in the statistics, but alignments that are invalid for other reasons may show up in the statistics.
  −
The following Statistics are generated by the BAM Validator if the <code>--disableStatistics</code> option is not set:
      
{| style="margin: 1em 1em 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" border="1"
 
{| style="margin: 1em 1em 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" border="1"
Line 243: Line 243:     
NOTE: If the TotalReads is greater than 10^6, then the Read Counts and Base Counts specify the total counts divided by 10^6.  This is indicated in the output with a (e6) appended to the field name.
 
NOTE: If the TotalReads is greater than 10^6, then the Read Counts and Base Counts specify the total counts divided by 10^6.  This is indicated in the output with a (e6) appended to the field name.
  −
  −
      
== Usage Examples ==
 
== Usage Examples ==
 
[[Sam Library Usage Examples]]
 
[[Sam Library Usage Examples]]

Navigation menu