X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blastalign.cpp;fp=blastalign.cpp;h=9af31dfa3e65e130d0bc347600aa28405f94b7f4;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=5e7fb61aa77e7c34ca7367393766b1a5455c9213;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/blastalign.cpp b/blastalign.cpp index 5e7fb61..9af31df 100644 --- a/blastalign.cpp +++ b/blastalign.cpp @@ -18,12 +18,11 @@ //**************************************************************************************************/ -BlastAlignment::BlastAlignment(float go, float ge, float m, float mm) : - match(m), // This is the score to award for two nucleotides matching (match >= 0) +BlastAlignment::BlastAlignment(float go, float ge, float ma, float mm) : + match(ma), // This is the score to award for two nucleotides matching (match >= 0) mismatch(mm) // This is the penalty to assess for a mismatch (mismatch <= 0) { - globaldata = GlobalData::getInstance(); - path = globaldata->argv; + path = m->argv; path = path.substr(0, (path.find_last_of('m'))); gapOpen = abs(go); // This is the penalty to assess for opening a gap (gapOpen >= 0)