00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_JUNCTIONCMP_HPP_
00016 #define CGA_TOOLS_COMMAND_JUNCTIONCMP_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022
00023 namespace cgatools { namespace command {
00024
00025 class JunctionCmpConfig {
00026 public:
00027 JunctionCmpConfig()
00028 : calcFileStat_(false),
00029 distanceTolerance_(0)
00030 {}
00031
00032 bool calcFileStat_;
00033 std::string referenceFileName_;
00034 std::string outPrefix_;
00035 std::vector<std::string> junctionFiles_;
00036 std::vector<size_t> scoreThresholds_;
00037 uint32_t distanceTolerance_;
00038 };
00039
00040 class JunctionCmp : public Command
00041 {
00042 public:
00043 JunctionCmp(const std::string& name);
00044
00045 protected:
00046 int run(po::variables_map& vm);
00047
00048 private:
00049 JunctionCmpConfig config_;
00050 };
00051
00052 } }
00053
00054 #endif // CGA_TOOLS_COMMAND_JUNCTIONCMP_HPP_