fastq_to_fasta
A template for creation of SeqAn3 apps, with a FASTQ to FASTA example app.
chopper_pack_record.hpp
Go to the documentation of this file.
1// --------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2022, Knut Reinert & MPI für molekulare Genetik
4// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5// shipped with this file and also available at: https://github.com/seqan/raptor/blob/main/LICENSE.md
6// --------------------------------------------------------------------------------------------------
7
8#pragma once
9
10#include <string>
11#include <tuple>
12#include <vector>
13
14namespace raptor::hibf
15{
16
18{
19 std::vector<std::string> filenames{};
20 std::vector<size_t> bin_indices{};
21 std::vector<size_t> number_of_bins{};
22 std::vector<size_t> estimated_sizes{};
23
24 bool operator==(chopper_pack_record const & other) const
25 {
27 == std::tie(other.filenames, other.bin_indices, other.number_of_bins, other.estimated_sizes);
28 }
29
30 bool operator!=(chopper_pack_record const & other) const
31 {
33 != std::tie(other.filenames, other.bin_indices, other.number_of_bins, other.estimated_sizes);
34 }
35};
36
37} // namespace raptor::hibf
Must be first include.
Definition: bin_prefixes.hpp:13
Definition: chopper_pack_record.hpp:18
std::vector< size_t > bin_indices
Definition: chopper_pack_record.hpp:20
std::vector< size_t > number_of_bins
Definition: chopper_pack_record.hpp:21
std::vector< std::string > filenames
Definition: chopper_pack_record.hpp:19
bool operator!=(chopper_pack_record const &other) const
Definition: chopper_pack_record.hpp:30
bool operator==(chopper_pack_record const &other) const
Definition: chopper_pack_record.hpp:24
std::vector< size_t > estimated_sizes
Definition: chopper_pack_record.hpp:22