]> git.donarmstrong.com Git - mothur.git/blob - nseqs.h
added concensus command and updated calcs
[mothur.git] / nseqs.h
1 #ifndef NSEQS_H
2 #define NSEQS_H
3
4 /*
5  *  nseqs.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 3/16/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13
14
15 #include "calculator.h"
16
17 /***********************************************************************/
18
19 class NSeqs : public Calculator {
20
21 public:
22         NSeqs() : Calculator("NSeqs", 1, false) {};
23         EstOutput getValues(SAbundVector* rank){
24                 data.resize(1,0);
25                 data[0] = (double)rank->getNumSeqs();
26                 return data;
27         }
28         EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
29 };
30
31 /***********************************************************************/
32
33 #endif