/***************************************************************************** fastaFromBed.h (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licenced under the GNU General Public License 2.0 license. ******************************************************************************/ #ifndef FASTAFROMBED_H #define FASTAFROMBED_H #include "bedFile.h" #include "sequenceUtils.h" #include #include #include using namespace std; //************************************************ // Class methods and elements //************************************************ class Bed2Fa { public: // constructor Bed2Fa(bool &useName, string &dbFile, string &bedFile, string &fastaOutFile, bool &useFasta, bool &useStrand); // destructor ~Bed2Fa(void); void ExtractDNA(); void ReportDNA(const BED &bed, const string &currDNA, const string &currChrom); private: bool _useName; string _dbFile; string _bedFile; string _fastaOutFile; bool _useFasta; bool _useStrand; // instance of a bed file class. BedFile *_bed; ostream *_faOut; }; #endif