#include "genesis/population/format/sam_flags.hpp"#include "genesis/utils/core/algorithm.hpp"#include "genesis/utils/text/string.hpp"#include <cassert>#include <cstdint>#include <cstring>#include <stdexcept>#include <unordered_map>#include <htslib/sam.h>Go to the source code of this file.
Namespaces | |
| genesis | |
| Container namespace for all symbols of genesis in order to keep them separate when used as a library. | |
| genesis::population | |
Functions | |
| std::string | sam_flag_to_string (int flags) |
| Turn a set of flags for sam/bam/cram reads into their textual representation. More... | |
| int | string_to_sam_flag (std::string const &value) |
| Parse a string as a set of flags for sam/bam/cram reads. More... | |
Variables | |
| static const std::unordered_map< std::string, int > | sam_flag_name_to_int_ |
| Map from sam flags to their numerical value, for different types of naming of the flags. More... | |