00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_EVIDENCE2CACHE_HPP_
00016 #define CGA_TOOLS_COMMAND_EVIDENCE2CACHE_HPP_
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/util/RangeSet.hpp"
00023 #include "cgatools/reference/CrrFile.hpp"
00024 #include "boost/scoped_ptr.hpp"
00025
00026 namespace cgatools { namespace command {
00027
00028 class Evidence2CacheConfig {
00029 public:
00030 Evidence2CacheConfig()
00031 :verboseOutput_(false)
00032 {}
00033
00034 void init();
00035
00036 bool addAlleleId_;
00037 bool verboseOutput_;
00038
00039 boost::scoped_ptr<util::FastRangeSet>
00040 exportRegions_;
00041 util::StringVector exportRegionList_;
00042 reference::CrrFile reference_;
00043
00044 std::string referenceFileName_;
00045 std::string outputDirName_;
00046 std::string exportRootDirName_;
00047 };
00048
00049 class Evidence2Cache : public Command
00050 {
00051 public:
00052 Evidence2Cache(const std::string& name);
00053
00054 protected:
00055 int run(po::variables_map& vm);
00056
00057 private:
00058 Evidence2CacheConfig config_;
00059 };
00060
00061 } }
00062
00063 #endif // CGA_TOOLS_COMMAND_EVIDENCE2CACHE_HPP_