Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Bifrost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "ColoredCDBG.hpp"

using namespace std;
using namespace Bifrost;

void PrintVersion() {

Expand Down
6 changes: 6 additions & 0 deletions src/BitContainer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "BitContainer.hpp"

using namespace Bifrost;

namespace Bifrost {

BitContainer::BitContainer() : setBits(localBitVector) {}

BitContainer::BitContainer(const BitContainer& o) {
Expand Down Expand Up @@ -1043,3 +1047,5 @@ const size_t BitContainer::shiftMaskBits = 3;

const uintptr_t BitContainer::flagMask = 0x7;
const uintptr_t BitContainer::pointerMask = 0xFFFFFFFFFFFFFFF8;

}
3 changes: 3 additions & 0 deletions src/BitContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "roaring.hh"
#include "TinyBitmap.hpp"

namespace Bifrost {

class BitContainer {

Expand Down Expand Up @@ -200,4 +201,6 @@ class BitContainer {
uintptr_t setBits;
};

}

#endif
6 changes: 6 additions & 0 deletions src/BlockedBloomFilter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "BlockedBloomFilter.hpp"

using namespace Bifrost;

namespace Bifrost {

#if defined(__AVX2__)

BlockedBloomFilter::BlockedBloomFilter() : table_(nullptr), blocks_(0), k_(0) {
Expand Down Expand Up @@ -1152,3 +1156,5 @@ bool BlockedBloomFilter::insert_unpar(uint64_t kmer_hash, const uint64_t min_has
}

#endif

}
4 changes: 4 additions & 0 deletions src/BlockedBloomFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <x86intrin.h>
#endif

namespace Bifrost {

class BlockedBloomFilter {

public:
Expand Down Expand Up @@ -120,4 +122,6 @@ class BlockedBloomFilter {
bool insert_unpar(const uint64_t kmer_hash, const uint64_t min_hash);
};

}

#endif // BFG_BLOCKEDBLOOMFILTER_HPP
2 changes: 2 additions & 0 deletions src/ColorSet.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "ColorSet.hpp"

using namespace Bifrost;

UnitigColors::UnitigColors() : setBits(localBitVector) {}

UnitigColors::UnitigColors(const UnitigColors& o) {
Expand Down
4 changes: 4 additions & 0 deletions src/ColorSet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "CompactedDBG.hpp"
#include "TinyBitmap.hpp"

namespace Bifrost {

/** @file src/ColorSet.hpp
* Interface for UnitigColors, the unitig container of k-mer color sets used in ColoredCDBG.
* Code snippets using this interface are provided in snippets/test.cpp.
Expand Down Expand Up @@ -473,4 +475,6 @@ struct UnitigColorsHash {
}
};

}

#endif
4 changes: 4 additions & 0 deletions src/ColoredCDBG.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

#include "getRSS.h"

namespace Bifrost {

/** @file src/ColoredCDBG.hpp
* Interface for the Colored and Compacted de Bruijn graph API.
* Code snippets using this interface are provided in test/snippets.hpp.
Expand Down Expand Up @@ -356,6 +358,8 @@ class ColoredCDBG : public CompactedDBG<DataAccessor<Unitig_data_t>, DataStorage
bool invalid;
};

}

#include "ColoredCDBG.tcc"

#endif
Loading