]> git.donarmstrong.com Git - mothur.git/blob - reportfile.h
pat's changes to seq.error command
[mothur.git] / reportfile.h
1 #ifndef REPORTFILE
2 #define REPORTFILE
3
4 /*
5  *  reportfile.h
6  *  Mothur
7  *
8  *  Created by Pat Schloss on 7/12/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14 #include "mothur.h"
15 #include "mothurout.h"
16
17 /**************************************************************************************************/
18
19 class ReportFile {
20 public:
21         ReportFile();
22         ReportFile(ifstream&);
23         ReportFile(ifstream&, string);
24         
25         string getQueryName()                           {       return queryName;                               }
26         string getTemplateName()                        {       return templateName;                    }
27         string getSearchMethod()                        {       return searchMethod;                    }
28         string getAlignmentMethod()                     {       return alignmentMethod;                 }
29         
30         int getQueryLength()                            {       return queryLength;                             }
31         int getTemplateLength()                         {       return templateLength;                  }
32         int getQueryStart()                                     {       return queryStart;                              }
33         int getQueryEnd()                                       {       return queryEnd;                                }
34         int getTemplateStart()                          {       return templateStart;                   }
35         int getTemplateEnd()                            {       return templateEnd;                             }
36         int getPairwiseAlignmentLength()        {       return pairwiseAlignmentLength; }
37         int getGapsInQuery()                            {       return gapsInQuery;                             }
38         int getGapsInTemplate()                         {       return gapsInTemplate;                  }
39         int getLongestInsert()                          {       return longestInsert;                   }
40         
41         float getSearchScore()                          {       return searchScore;                             }
42         float getSimBtwnQueryAndTemplate()      {       return simBtwnQueryAndTemplate; }
43         
44
45 private:
46         
47         MothurOut* m;
48                 
49         string queryName, templateName, searchMethod, alignmentMethod;
50         int queryLength, templateLength, queryStart, queryEnd, templateStart, templateEnd, pairwiseAlignmentLength, gapsInQuery, gapsInTemplate, longestInsert;
51         float searchScore, simBtwnQueryAndTemplate;
52         
53 };
54
55 /**************************************************************************************************/
56
57 #endif