]> git.donarmstrong.com Git - mothur.git/blob - parsefastaqcommand.h
added modify names parameter to set.dir
[mothur.git] / parsefastaqcommand.h
1 #ifndef PARSEFASTAQCOMMAND_H
2 #define PARSEFASTAQCOMMAND_H
3
4 /*
5  *  parsefastaqcommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 9/30/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14 #include "command.hpp"
15
16 class ParseFastaQCommand : public Command {
17
18 public:
19         ParseFastaQCommand(string);
20         ParseFastaQCommand();
21         ~ParseFastaQCommand() {}
22         
23         vector<string> setParameters();
24         string getCommandName()                 { return "fastq.info";          }
25         string getCommandCategory()             { return "Sequence Processing"; }
26         
27         string getHelpString(); 
28     string getOutputPattern(string);    
29         string getCitation() { return "http://www.mothur.org/wiki/Parse.fastq"; }
30         string getDescription()         { return "reads a fastq file and creates a fasta and quality file"; }
31
32         
33         int execute(); 
34         void help() { m->mothurOut(getHelpString()); }          
35 private:
36
37         vector<string> outputNames;     
38         string outputDir, fastaQFile, format;
39         bool abort, fasta, qual, pacbio;
40         
41         vector<int> convertQual(string);
42     vector<char> convertTable;
43 };
44
45 #endif
46
47