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