|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_SEQUENCE_FUNCTIONS_DICT_H_
2 #define GENESIS_SEQUENCE_FUNCTIONS_DICT_H_
155 SequenceDict
const& lhs,
156 SequenceDict
const& rhs,
170 bool verify( SequenceDict
const& dict, SequenceSet
const& set,
bool match_first_word =
false );
175 #endif // include guard
@ kSharedOnly
Either reference set can contain sequences that are not in the other. Only the shared ones are used f...
@ kLeftSuperset
The left hand reference set is allowed to contain sequences that are not in the right hand side....
bool verify(SequenceDict const &dict, SequenceSet const &set, bool match_first_word)
Verify that a SequenceDict fits a SequenceSet.
SequenceDict sequence_set_to_dict(SequenceSet const &set)
Get the sequence dict/index information of a given set of Sequences.
SequenceDict reference_genome_to_dict(ReferenceGenome const &rg)
Get the sequence dict/index information of a given set of Sequences that are stored in a ReferenceGen...
bool compatible_references(SequenceDict const &lhs, SequenceDict const &rhs, ReferenceComparisonMode mode)
Verify that a SequenceDict fits a SequenceSet.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
ReferenceComparisonMode
Chose how to deal with sub-/super-sets when comparing references.
@ kStrict
Both compared reference sets have to contain the exact same sequence names.
SequenceDict read_sequence_dict(std::shared_ptr< utils::BaseInputSource > source)
Read a .dict sequence dictionary file, describing, e.g., reference genome sequence properties.
SequenceDict read_sequence_fai(std::shared_ptr< utils::BaseInputSource > source)
Read a .fai sequence index file, describing, e.g., reference genome sequence properties.
@ kRightSuperset
The right hand reference set is allowed to contain sequences that are not in the lefthand side....