00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_SAM2READS_HPP_
00016 #define CGA_TOOLS_COMMAND_SAM2READS_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/util/RangeSet.hpp"
00023
00024 namespace cgatools { namespace command {
00025 class Sam2ReadsConfig
00026 {
00027 public:
00028 std::string inputSamFileName_;
00029 std::string outputDirName_;
00030 std::string recordsFrom_;
00031 std::string recordsTo_;
00032
00033 util::StringVector exportRegionList_;
00034 bool dumpDebugInfo_;
00035 };
00036
00037 class Sam2Reads : public Command
00038 {
00039 public:
00040 Sam2Reads(const std::string& name);
00041
00042 protected:
00043 int run(po::variables_map& vm);
00044
00045 private:
00046 boost::shared_ptr<Sam2ReadsConfig> config_;
00047 };
00048
00049 } }
00050
00051 #endif // CGA_TOOLS_COMMAND_SAM2READS_HPP_