Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Remove unused code, add reference to BamUtil
Line 4: Line 4:  
= Usage Examples =
 
= Usage Examples =
 
This page contains examples on how to use the [[C++ Library: libStatGen|SAM/BAM Library]].
 
This page contains examples on how to use the [[C++ Library: libStatGen|SAM/BAM Library]].
 +
 +
See [[BamUtil]] for more examples of how it uses libStatGen to perform many operations.
    
== Simple Read/Write SAM/BAM files ==
 
== Simple Read/Write SAM/BAM files ==
Line 37: Line 39:     
   SamRecord samRecord;
 
   SamRecord samRecord;
  SamValidationErrors samInvalidErrors;
      
     // Set returnStatus to success.  It will be changed
 
     // Set returnStatus to success.  It will be changed
Line 91: Line 92:     
   SamRecord samRecord;
 
   SamRecord samRecord;
  SamValidationErrors samInvalidErrors;
      
   // Loop through each Reference.
 
   // Loop through each Reference.

Navigation menu