Skip to content

Commit

Permalink
Some small include cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed Apr 8, 2024
1 parent d28746b commit 2e25adf
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 15 deletions.
9 changes: 7 additions & 2 deletions src/common/kmer_index/kmer_counting.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@

#pragma once

#include "ph_map/storing_traits.hpp"
#include "io/reads/read_processor.hpp" // FIXME: remove use of ReadProcessor

#include "sequence/rtseq.hpp"
#include "sequence/sequence.hpp"

#include "adt/cyclichash.hpp"
#include "adt/hll.hpp"
#include "adt/cqf.hpp"
#include "ph_map/storing_traits.hpp"
#include "io/reads/read_processor.hpp"

#include "utils/parallel/openmp_wrapper.h"
#include "utils/logger/logger.hpp"

Expand Down
1 change: 0 additions & 1 deletion src/common/kmer_index/kmer_mph/kmer_index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//* See file LICENSE for details.
//***************************************************************************

#include "kmer_index_traits.hpp"
#include "kmer_buckets.hpp"

#include <boomphf/BooPHF.h>
Expand Down
3 changes: 0 additions & 3 deletions src/common/kmer_index/kmer_mph/kmer_index_builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
#include "io/binary/binary.hpp"

#include "utils/parallel/openmp_wrapper.h"
#include "utils/memory_limit.hpp"
#include "utils/logger/logger.hpp"
#include "utils/filesystem/path_helper.hpp"
#include "utils/filesystem/file_limit.hpp"
#include "utils/perf/timetracer.hpp"

#include "adt/kmer_vector.hpp"
Expand Down
4 changes: 3 additions & 1 deletion src/common/kmer_index/kmer_mph/kmer_splitters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#pragma once

#include "kmer_splitter.hpp"
#include "io/reads/io_helper.hpp"
#include "io/reads/read_stream_vector.hpp"
#include "sequence/rtseq.hpp"
#include "sequence/sequence.hpp"
#include "adt/iterator_range.hpp"

namespace kmers {
Expand Down
3 changes: 2 additions & 1 deletion src/common/kmer_index/ph_map/cqf_hash_map.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#pragma once
//***************************************************************************
//* Copyright (c) 2023-2024 SPAdes team
//* Copyright (c) 2020-2022 Saint Petersburg State University
//* All Rights Reserved
//* See file LICENSE for details.
//***************************************************************************

#pragma once

#include "perfect_hash_map.hpp"
#include "adt/cqf.hpp"

Expand Down
3 changes: 2 additions & 1 deletion src/common/kmer_index/ph_map/kmer_maps.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#pragma once
//***************************************************************************
//* Copyright (c) 2023-2024 SPAdes team
//* Copyright (c) 2020-2022 Saint Petersburg State University
//* All Rights Reserved
//* See file LICENSE for details.
//***************************************************************************

#pragma once

#include "perfect_hash_map.hpp"
#include "io/kmers/kmer_iterator.hpp"
#include "utils/logger/logger.hpp"
Expand Down
8 changes: 5 additions & 3 deletions src/common/kmer_index/ph_map/perfect_hash_map.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
//***************************************************************************
//* Copyright (c) 2023-2024 SPAdes team
//* Copyright (c) 2015-2022 Saint Petersburg State University
Expand All @@ -7,15 +6,18 @@
//* See file LICENSE for details.
//***************************************************************************

#pragma once

#include "key_with_hash.hpp"
#include "storing_traits.hpp"
#include "kmer_index/kmer_mph/kmer_index.hpp"
#include "kmer_index/kmer_mph/kmer_index_traits.hpp"

#include "io/binary/binary.hpp"
#include "utils/verify.hpp"
#include "utils/parallel/openmp_wrapper.h"

#include <vector>
#include <cstdlib>
#include <cstdint>

namespace kmers {

Expand Down
3 changes: 2 additions & 1 deletion src/common/kmer_index/ph_map/perfect_hash_map_builder.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#pragma once
//***************************************************************************
//* Copyright (c) 2023-2024 SPAdes team
//* Copyright (c) 2016-2022 Saint Petersburg State University
//* All Rights Reserved
//* See file LICENSE for details.
//***************************************************************************

#pragma once

#include "perfect_hash_map.hpp"
#include "kmer_maps.hpp"
#include "cqf_hash_map.hpp"
Expand Down
3 changes: 2 additions & 1 deletion src/projects/hammer/kmer_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
#define __HAMMER_KMER_DATA_HPP__

#include "kmer_stat.hpp"
#include "adt/array_vector.hpp"

#include "kmer_index/kmer_mph/kmer_index.hpp"
#include "kmer_index/kmer_mph/kmer_index_traits.hpp"
#include "utils/logger/logger.hpp"
#include "adt/array_vector.hpp"

#include <vector>

Expand Down
1 change: 1 addition & 0 deletions src/projects/ionhammer/kmer_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include "config_struct.hpp"
#include "kmer_index/kmer_mph/kmer_index.hpp"
#include "kmer_index/kmer_mph/kmer_index_traits.hpp"
#include "utils/logger/logger.hpp"

#include "hkmer.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/projects/mts/contig_abundance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//***************************************************************************

#include "contig_abundance.hpp"
#include "kmer_index/kmer_mph/kmer_splitters.hpp"
#include "math/xmath.h"
#include "utils/stl_utils.hpp"

namespace debruijn_graph {

Expand Down

0 comments on commit 2e25adf

Please sign in to comment.