00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_LISTVARIANTS_HPP_
00016 #define CGA_TOOLS_COMMAND_LISTVARIANTS_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/variants/Call.hpp"
00023 #include "cgatools/reference/CrrFile.hpp"
00024
00025 namespace cgatools { namespace command {
00026
00027 class ListVariants : public Command
00028 {
00029 public:
00030 ListVariants(const std::string& name);
00031
00032 protected:
00033 int run(po::variables_map& vm);
00034
00035 private:
00036 void retireCall(std::ostream& out, const variants::Call& call,
00037 const reference::CrrFile& crr, size_t& variantId) const;
00038
00039 std::string referenceFileName_;
00040 std::string outputFileName_;
00041
00042 std::vector<std::string> variantFileNames_;
00043 std::vector<std::string> variantListingFileNames_;
00044 bool listLongVariants_;
00045 };
00046
00047 } }
00048
00049 #endif // CGA_TOOLS_COMMAND_LISTVARIANTS_HPP_