00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_JUNCTION2VCF_HPP_
00016 #define CGA_TOOLS_COMMAND_JUNCTION2VCF_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022 #include "cgatools/reference/CrrFile.hpp"
00023 #include "cgatools/junctions/Junction.hpp"
00024 #include <boost/shared_ptr.hpp>
00025
00026 namespace cgatools { namespace command {
00027
00028 class Junction2Vcf : public Command
00029 {
00030 public:
00031
00032 Junction2Vcf(const std::string& name);
00033
00034 protected:
00035
00036 int run(po::variables_map& vm);
00037 void saveVcf ( std::ostream& out );
00038
00039 std::string referenceFileName_;
00040 std::string outputFileName_;
00041 std::string junctionsFileName_;
00042 size_t scoreThreshold_;
00043 size_t minJunctionLength_;
00044
00045 boost::shared_ptr<reference::CrrFile> reference_;
00046 boost::shared_ptr<junctions::JunctionFiles> junctionFiles_;
00047 };
00048 }}
00049
00050 #endif // CGA_TOOLS_COMMAND_JUNCTION2VCF_HPP_