1 #ifndef DECONVOLUTECOMMAND_H
2 #define DECONVOLUTECOMMAND_H
7 * Created by Sarah Westcott on 1/21/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
12 #include "command.hpp"
14 #include "counttable.h"
16 /* The unique.seqs command reads a fasta file, finds the duplicate sequences and outputs a names file
17 containing 2 columns. The first being the groupname and the second the list of identical sequence names. */
20 class DeconvoluteCommand : public Command {
23 DeconvoluteCommand(string);
25 ~DeconvoluteCommand() {}
27 vector<string> setParameters();
28 string getCommandName() { return "unique.seqs"; }
29 string getCommandCategory() { return "Sequence Processing"; }
30 string getOutputFileNameTag(string, string);
31 string getHelpString();
32 string getCitation() { return "http://www.mothur.org/wiki/Unique.seqs"; }
33 string getDescription() { return "creates a fasta containing the unique sequences as well as a namesfile with the names each sequence represents"; }
37 void help() { m->mothurOut(getHelpString()); }
41 string inFastaName, oldNameMapFName, outputDir, countfile;
42 vector<string> outputNames;