5 * Created by Pat Schloss on 12/19/10.
6 * Copyright 2010 Schloss Lab. All rights reserved.
10 #include "reportfile.h"
12 /**************************************************************************************************/
14 ReportFile::ReportFile(){
16 m = MothurOut::getInstance();
19 m->errorOut(e, "ReportFile", "ReportFile");
24 /**************************************************************************************************/
26 ReportFile::ReportFile(ifstream& repFile, string repFileName){
28 m = MothurOut::getInstance();
30 m->openInputFile(repFileName, repFile);
34 m->errorOut(e, "ReportFile", "ReportFile");
40 /**************************************************************************************************/
42 ReportFile::ReportFile(ifstream& repFile){
45 m = MothurOut::getInstance();
48 repFile >> queryLength;
49 repFile >> templateName;
50 repFile >> templateLength;
51 repFile >> searchMethod;
52 repFile >> searchScore;
53 repFile >> alignmentMethod;
54 repFile >> queryStart;
56 repFile >> templateStart;
57 repFile >> templateEnd;
58 repFile >> pairwiseAlignmentLength;
59 repFile >> gapsInQuery;
60 repFile >> gapsInTemplate;
61 repFile >> longestInsert;
62 repFile >> simBtwnQueryAndTemplate;
67 m->errorOut(e, "ReportFile", "ReportFile");
73 /**************************************************************************************************/