Mercurial > repos > rliterman > csp2
diff CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/mash/CommandTaxScreen.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/mash/CommandTaxScreen.h Tue Mar 18 17:55:14 2025 -0400 @@ -0,0 +1,60 @@ +// Copyright © 2015, Battelle National Biodefense Institute (BNBI); +// all rights reserved. Authored by: Brian Ondov, Todd Treangen, +// Sergey Koren, and Adam Phillippy +// +// See the LICENSE.txt file included with this software for license information. + +#ifndef INCLUDED_CommandTaxScreen +#define INCLUDED_CommandTaxScreen + +#include "Command.h" +#include "Sketch.h" +#include <list> +#include <string> +#include <vector> +#include <atomic> +#include <unordered_set> +#include <unordered_map> +#include "MinHashHeap.h" +#include "CommandScreen.h" + + +using std::string; +using std::cerr; +using std::cout; +using std::endl; +using std::list; +using std::string; +using std::unordered_map; +using std::unordered_set; +using std::vector; + + +namespace mash { + +using TaxID = uint64_t; + +class CommandTaxScreen : public Command +{ +public: + + CommandTaxScreen(); + + int run() const; // override + +private: + + struct Reference + { + Reference(uint64_t amerCountNew, std::string nameNew, std::string commentNew) + : amerCount(amerCountNew), name(nameNew), comment(commentNew) {} + + uint64_t amerCount; + std::string name; + std::string comment; + }; +}; + +} // namespace mash + +#endif