jpayne@69: // Copyright © 2015, Battelle National Biodefense Institute (BNBI); jpayne@69: // all rights reserved. Authored by: Brian Ondov, Todd Treangen, jpayne@69: // Sergey Koren, and Adam Phillippy jpayne@69: // jpayne@69: // See the LICENSE.txt file included with this software for license information. jpayne@69: jpayne@69: #ifndef INCLUDED_CommandInfo jpayne@69: #define INCLUDED_CommandInfo jpayne@69: jpayne@69: #include "Command.h" jpayne@69: #include "Sketch.h" jpayne@69: jpayne@69: namespace mash { jpayne@69: jpayne@69: class CommandInfo : public Command jpayne@69: { jpayne@69: public: jpayne@69: jpayne@69: CommandInfo(); jpayne@69: jpayne@69: int run() const; // override jpayne@69: jpayne@69: private: jpayne@69: jpayne@69: int printCounts(const Sketch & sketch) const; jpayne@69: int writeJson(const Sketch & sketch) const; jpayne@69: }; jpayne@69: jpayne@69: } // namespace mash jpayne@69: jpayne@69: #endif