1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
//
// dataset.h
// Mothur
//
// Created by Sarah Westcott on 3/24/16.
// Copyright (c) 2016 Schloss Lab. All rights reserved.
//
#ifndef __Mothur__dataset__
#define __Mothur__dataset__
#include "sequence.hpp"
#include "counttable.h"
#include "groupmap.h"
#include "sharedrabundvector.hpp"
#include "fastqdataset.h"
#include "utils.hpp"
class TestDataSet {
public:
TestDataSet();
vector<Sequence> getSeqs() { fillSeqs(); return seqs; }
map<string, string> getNameMap() { fillNames(); return nameMap; }
GroupMap* getGroupMap() { fillGroup(); return gMap; }
CountTable* getCountTable() { createCountTable(); return ct; }
vector<SharedRAbundVector*> getLookup() { fillLookup(); return lookup; }
vector<string> getSubsetFNGFiles(); //Fasta, name, group returned - containing 100 seqs
string getSubsetFNGDistFile();
string getSubsetFNGPhylipDistFile();
vector<string> getOptiRefFiles(); //fasta, count, column, phylip, list, betweendist
vector<string> getOligosFiles(); //single, paired, indexes, comboNamesTest
string getSharedFile(); //shared
string getRelabundFile(); //relabund
string getCountTableFile(); //count
private:
MothurOut* m;
Utils util;
TestFastqDataSet fastqData;
vector<Sequence> seqs;
map<string, string> nameMap;
CountTable* ct;
GroupMap* gMap;
vector<SharedRAbundVector*> lookup;
string testDir;
void fillNames();
void fillSeqs();
void fillGroup();
void createCountTable();
void fillLookup();
};
#endif /* defined(__Mothur__dataset__) */
|