// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ---------------------------------------------------------------------------
-// Last modified: 5 October 2010
+// Last modified: 12 October 2010
// ---------------------------------------------------------------------------
// Prints general alignment statistics for BAM file(s).
// ***************************************************************************
#include <numeric>
#include <string>
#include <vector>
-
#include "bamtools_stats.h"
#include "bamtools_options.h"
#include "BamMultiReader.h"
// plow through file, keeping track of stats
BamAlignment al;
- while ( reader.GetNextAlignmentCore(al) ) {
+ while ( reader.GetNextAlignmentCore(al) )
ProcessAlignment(al);
- }
// print stats
PrintStats();
, m_impl(0)
{
// set program details
- Options::SetProgramInfo("bamtools stats", "prints general alignment statistics", "[-in <filename> -in <filename> ... ]");
+ Options::SetProgramInfo("bamtools stats", "prints general alignment statistics", "[-in <filename> -in <filename> ...] [statsOptions]");
// set up options
OptionGroup* IO_Opts = Options::CreateOptionGroup("Input & Output");