1 // ***************************************************************************
2 // bamtools_utilities.h (c) 2010 Derek Barnett, Erik Garrison
3 // Marth Lab, Department of Biology, Boston College
4 // All rights reserved.
5 // ---------------------------------------------------------------------------
6 // Last modified: 2 June 2010
7 // ---------------------------------------------------------------------------
8 // Provides general utilities used by BamTools sub-tools.
9 // ***************************************************************************
11 #ifndef BAMTOOLS_UTILITIES_H
12 #define BAMTOOLS_UTILITIES_H
30 // Parses a region string, uses reader to do validation (valid ID's, positions), stores in Region struct
31 static bool ParseRegionString(const std::string& regionString, const BamReader& reader, Region& region);
34 } // namespace BamTools
36 #endif // BAMTOOLS_UTILITIES_H