Skip to content

Commit

Permalink
get the new lasso class to work
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Oct 8, 2018
1 parent ad6b99e commit 8df4664
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEploid-Lasso-lib
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ common_src = src/random/fastfunc.cpp \
src/export/dEploidIOExport.cpp \
src/export/dEploidIOExportPosteriorProb.cpp \
src/export/writeMcmcRelated.cpp \
DEploid-Lasso-lib/src/lasso.cpp \
DEploid-Lasso-lib/src/dEploidLasso.cpp

debug_src = src/debug/mcmcDebug.cpp src/debug/vcfReaderDebug.cpp \
DEploid-Lasso-lib/src/dEploidLassoDBG.cpp
DEploid-Lasso-lib/src/lassoDBG.cpp

dEploid_SOURCES = src/dEploid.cpp $(common_src)
dEploid_dbg_SOURCES = $(debug_src) $(dEploid_SOURCES)
Expand Down
3 changes: 2 additions & 1 deletion src/dEploidIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ void DEploidIO::dEploidLasso() {
vector < vector <double> > tmpPanel = lassoSubsetPanel(start, length);
DEploidLASSO dummy(tmpPanel, wsaf, 250);

////dummy.printResults();
//lassoPanels.push_back();
dummy.printResults();

// for loop, for each chromosome
// First produce reference panels
Expand Down
3 changes: 3 additions & 0 deletions src/dEploidIO.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ class DEploidIO{
bool doComputeLLK_;
void setDoComputeLLK( const bool setTo ) { this->doComputeLLK_ = setTo; }

// Lasso Related
vector < vector < vector <double> > > lassoPanels;

// Parameters
double missCopyProb_;
double averageCentimorganDistance_;// = 15000.0,
Expand Down

0 comments on commit 8df4664

Please sign in to comment.