INNER CODE UNIT · C

sum

aquaskyline/SOAPdenovo2 · fusion/attachPEinfo.c:148

          sum = connect->weightNotInherit * connect->gapLen + gap * weight;
          connect->gapLen = sum / (connect->weightNotInherit + weight);

          if(connect->weightNotInherit + weight <= 255)
            connect->weightNotInherit += weight;
          else if(connect->weightNotInherit < 255)
            connect->weightNotInherit = 255;
        }
      else
        {
          sum = connect->weight * connect->gapLen + gap * weight;
          connect->gapLen = sum / (connect->weight + weight);

          if(!connect->inherit)
            {
              connect->maxSingleWeight = connect->weightNotInherit;
            }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…