From e98d569d630c30d1ac3608eb6337bcec4765a724 Mon Sep 17 00:00:00 2001 From: Kathryn Iverson Date: Wed, 20 Jun 2012 16:56:35 -0400 Subject: [PATCH] added createRabund function to mgcluster --- mgclustercommand.cpp | 11 ++++++++--- mgclustercommand.h | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mgclustercommand.cpp b/mgclustercommand.cpp index c4cdb50..a0f33d6 100644 --- a/mgclustercommand.cpp +++ b/mgclustercommand.cpp @@ -235,12 +235,12 @@ int MGClusterCommand::execute(){ RAbundVector* rabund = NULL; if(large) { map nameMapCounts = m->readNames(namefile); - RAbundVector* rabund = newFunctionToCreateRabund(list, nameMapCounts); + RAbundVector* rabund = createRabund(list, nameMapCounts); }else { RAbundVector* rabund = new RAbundVector(list->getRAbundVector()); } - + //list = new ListVector(nameMap->getListVector()); //RAbundVector* rabund = new RAbundVector(list->getRAbundVector()); @@ -709,7 +709,12 @@ void MGClusterCommand::sortHclusterFiles(string unsortedDist, string unsortedOve //********************************************************************************************************************** +RAbundVector MGClusterCommand::createRabund(ListVector list, map nameMapCounts){ + for(int i = 0; i < list->getNumBins(); i++) { + + } +} - +//********************************************************************************************************************** diff --git a/mgclustercommand.h b/mgclustercommand.h index ea2c1de..889586a 100644 --- a/mgclustercommand.h +++ b/mgclustercommand.h @@ -61,6 +61,7 @@ private: ListVector* mergeOPFs(map, float); void sortHclusterFiles(string, string); vector getSeqs(ifstream&); + RAbundVector createRabund(ListVector, map); }; -- 2.39.2