Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
46a450d
working mechanic bshash
Dec 4, 2025
fe4e9d0
seq.hpp: add bisulfite conversion utility declaration
jwcodee Dec 4, 2025
bd8e422
seq.cpp: add bisulfite conversion utility definition
jwcodee Dec 4, 2025
a5ee9ae
Update seq.hpp
jwcodee Dec 4, 2025
e781544
Update seq.cpp
jwcodee Dec 4, 2025
41dc966
Update seq.cpp
jwcodee Dec 6, 2025
2d96301
update seq
Dec 6, 2025
b56e3ff
update working version
Dec 7, 2025
a9326ef
final bshash directional: pre name change and additional test and ref…
Dec 7, 2025
d07cede
bshash_conversion: odd number of dimer version
Dec 8, 2025
5f4886d
renamed files
Dec 8, 2025
0d0491b
bshash_conversion: final version
Dec 9, 2025
41454d2
azure-pipelines.yml: pin cmake
jwcodee Dec 9, 2025
2403e3a
azure-pipelines.yml: pin meson and ninja
jwcodee Dec 9, 2025
3300cf2
bshash: hashing internals
Dec 9, 2025
e743272
bshash test: spacing fixed
Dec 9, 2025
f0e5d8a
seq: add comment and fixed spacing bs conversion utility
Dec 9, 2025
770fbb3
nthash: tidy up changes and made spacing
Dec 9, 2025
659dae1
bshash: spacing changes
Dec 9, 2025
02fd42a
mi_bloom_filter.cpp: fix compilation error
jwcodee Dec 9, 2025
908e084
seq.cpp: add bs conversion tests
jwcodee Dec 9, 2025
9cc3b5c
seq.cpp: fix const bug
jwcodee Dec 9, 2025
205f4fa
seq.hpp: fix const bug
jwcodee Dec 9, 2025
52638b5
Update mi_bloom_filter.cpp
jwcodee Dec 9, 2025
c28f5e2
Update mi_bloom_filter.cpp
jwcodee Dec 9, 2025
2549292
mi_bloom_filter.cpp: clang-format
Dec 9, 2025
fc93c13
Update meson.build
jwcodee Dec 9, 2025
569c240
seq.cpp: fix test case
jwcodee Dec 9, 2025
325d46c
azure-pipelines.yml: unpin cmake
jwcodee Dec 9, 2025
1f4eb17
azure-pipelines.yml: repin cmake and unpin ninja
jwcodee Dec 9, 2025
a27a2a3
azure-pipelines.yml: upgrade meson
jwcodee Dec 9, 2025
01a6108
azure-pipelines.yml: unpin cmake
jwcodee Dec 10, 2025
7ff5c2c
azure-pipelines.yml: pin cmake
jwcodee Dec 10, 2025
3759177
bshash_hashing_internals.hpp: remove log information
jwcodee Dec 11, 2025
65b1410
bshash_hashing_internals.hpp: clang-format
Dec 15, 2025
eed8cb3
bshash_kmer.hpp: use string_view
Dec 16, 2025
afb3000
bshash_kmer.hpp: fix condition
Dec 17, 2025
3f34e9b
bshash_kmer: fix boundaries and init conditions
Dec 17, 2025
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
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- script: |
source activate btllib_CI
conda install --yes -c conda-forge mamba
mamba install --yes -c conda-forge -c bioconda libcxx compilers clang llvm clang-format=18 clang-tools boost samtools coreutils xz lrzip meson ninja cmake openmp
mamba install --yes -c conda-forge -c bioconda libcxx compilers clang llvm clang-format=18 clang-tools boost samtools coreutils xz lrzip meson=1.9 ninja cmake=3.29.3 openmp
pip install gcovr
displayName: Install dependencies

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- script: |
source activate btllib_CI
mamba install --yes -c conda-forge -c bioconda libcxx compilers llvm clang-format clang-tools boost 'samtools>=1.14' coreutils xz lrzip meson ninja cmake openmp gcovr
mamba install --yes -c conda-forge -c bioconda libcxx compilers llvm clang-format clang-tools boost 'samtools>=1.14' coreutils xz lrzip meson=1.9 ninja cmake=3.29.3 openmp gcovr
displayName: 'Install required software'

- script: |
Expand Down
26 changes: 26 additions & 0 deletions include/btllib/bshash.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#pragma once

#include <array>
#include <cstdint>
#include <cstring>
#include <deque>
#include <memory>
#include <string>
#include <string_view>
#include <vector>

#include <btllib/bshash_kmer.hpp>
#include <btllib/bshash_kmer_directional.hpp>
#include <btllib/hashing_internals.hpp>
#include <btllib/status.hpp>

namespace btllib {

/**
* String representing the hash function's name. Only change if hash outputs
* are different from the previous version. Useful for tracking differences in
* saved hashes, e.g., in Bloom filters.
*/
static const char* const BSHASH_FN_NAME = "bsHash_v1";

} // namespace btllib
2,727 changes: 2,727 additions & 0 deletions include/btllib/bshash_hashing_internals.hpp

Large diffs are not rendered by default.

Loading
Loading