00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_EVIDENCE2SAM_HPP_
00016 #define CGA_TOOLS_COMMAND_EVIDENCE2SAM_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/util/RangeSet.hpp"
00023 #include "cgatools/mapping/SamRecord.hpp"
00024
00025 namespace cgatools { namespace command {
00026
00027 class Evidence2SamConfig {
00028 public:
00029 Evidence2SamConfig()
00030 :keepDuplicates_(false)
00031
00032
00033 ,verboseOutput_(false)
00034 {}
00035
00036 bool keepDuplicates_;
00037
00038
00039 bool verboseOutput_;
00040
00041 util::StringVector exportRegions_;
00042
00043 std::string evidenceDnbsFileName_;
00044 std::string inputLibFileName_;
00045 std::string referenceFileName_;
00046 std::string outputFileName_;
00047
00048 std::string commandLine_;
00049
00050 mapping::SamGeneratorConfig samGeneratorConfig_;
00051 };
00052
00053 class Evidence2Sam : public Command
00054 {
00055 public:
00056 Evidence2Sam(const std::string& name);
00057
00058 protected:
00059 int run(po::variables_map& vm);
00060
00061 private:
00062 Evidence2SamConfig config_;
00063 };
00064
00065 } }
00066
00067 #endif // CGA_TOOLS_COMMAND_EVIDENCE2SAM_HPP_