Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
button-up v21
Browse files Browse the repository at this point in the history
cl and formatting
  • Loading branch information
ctsa committed May 9, 2014
1 parent ca5cc3a commit 3287f2d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
v0.21.0
- MANTA-167 semi-mapped som pair correction
- MANTA-156 filter out assm poison reads
- MANTA-161 make assembly robust to seed k-mer selection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ private:
// additional 'load balancing' structures:
count_t _avgBinTotalCount;

std::vector<count_t> _binTotalCount;
std::vector<count_t> _binTotalCount;
};
2 changes: 1 addition & 1 deletion src/c++/lib/applications/GenerateSVCandidates/SVScorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ getRefAltFromFrag(
else
{
isPairUsable = ((fragev.read1.isScanned && fragev.read2.isScanned) &&
(fragev.read1.isAnchored(isPermissive) || fragev.read2.isAnchored(isPermissive)));
(fragev.read1.isAnchored(isPermissive) || fragev.read2.isAnchored(isPermissive)));
}

if (isPairUsable)
Expand Down
11 changes: 6 additions & 5 deletions src/c++/lib/assembly/SmallAssembler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ wordHashToDot(
BOOST_FOREACH(const char symbol, alphabet)
{
const std::string newKey(addBase(tmp,symbol,isEnd));
if (wordCount.find(newKey) != wordCount.end()) {
if (wordCount.find(newKey) != wordCount.end())
{
os << aliasH[word] << " -- " << aliasH[newKey] << ";\n";
}
}
Expand Down Expand Up @@ -274,7 +275,7 @@ getKmerCounts(
if (readWordOffset.find(word) != readWordOffset.end())
{
#ifdef DEBUG_ASBL
log_os << logtag << "word " << word << " repeated in read " << readIndex << "\n";
log_os << logtag << "word " << word << " repeated in read " << readIndex << "\n";
#endif
if (isFindRepeatReads)
{
Expand Down Expand Up @@ -382,11 +383,11 @@ buildContigs(
//
std::set<std::string> seenBefore; // records k-mers already encountered during extension

while(! maxWords.empty())
while (! maxWords.empty())
{
#ifdef DEBUG_ASBL
#ifdef DEBUG_ASBL
log_os << logtag << "Seeding kmer : " << maxWord << "\n";
#endif
#endif

maxWord=(*maxWords.begin());
maxWords.erase(maxWords.begin());
Expand Down

0 comments on commit 3287f2d

Please sign in to comment.