00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_COMMAND_FASTA2CRR_HPP_
00016 #define CGA_TOOLS_COMMAND_FASTA2CRR_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021 #include "cgatools/command/Command.hpp"
00022
00023 namespace cgatools { namespace command {
00024
00025 class Fasta2Crr : public Command
00026 {
00027 public:
00028 Fasta2Crr(const std::string& name);
00029
00030 protected:
00031 int run(po::variables_map& vm);
00032
00033 private:
00034 std::string parseFastaHeader(const std::string& line) const;
00035
00036 std::vector<std::string> inputFileNames_;
00037 std::string outputFileName_;
00038 std::string circularChromosomes_;
00039 };
00040
00041 } }
00042
00043 #endif // CGA_TOOLS_COMMAND_FASTA2CRR_HPP_