]> git.donarmstrong.com Git - mothur.git/blob - listseqscommand.h
added count file to trim.seqs, get.groups, get.lineage, get.seqs, heatmap.sim, list...
[mothur.git] / listseqscommand.h
1 #ifndef LISTSEQSCOMMAND_H
2 #define LISTSEQSCOMMAND_H
3
4 /*
5  *  listseqscommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 7/8/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15 class ListSeqsCommand : public Command {
16         
17         public:
18         
19                 ListSeqsCommand(string);
20                 ListSeqsCommand();      
21                 ~ListSeqsCommand(){}
22         
23                 vector<string> setParameters();
24                 string getCommandName()                 { return "list.seqs";                           }
25                 string getCommandCategory()             { return "Sequence Processing";         }
26                 string getOutputFileNameTag(string, string);
27         string getHelpString(); 
28                 string getCitation() { return "http://www.mothur.org/wiki/List.seqs"; }
29                 string getDescription()         { return "lists sequences from a list, fasta, name, group, alignreport or taxonomy file"; }
30
31                 int execute(); 
32                 void help() { m->mothurOut(getHelpString()); }  
33         
34         
35         private:
36                 vector<string> names, outputNames;
37                 string fastafile, namefile, groupfile, countfile, alignfile, inputFileName, outputDir, listfile, taxfile;
38                 bool abort;
39                 
40                 int readFasta();
41                 int readName();
42                 int readGroup();
43                 int readAlign();
44                 int readList();
45                 int readTax();
46         int readCount();
47                 
48 };
49
50 #endif
51