ContextSV v1.0.0
Loading...
Searching...
No Matches
ReferenceGenome Class Reference

#include <fasta_query.h>

Collaboration diagram for ReferenceGenome:
Collaboration graph

Public Member Functions

 ReferenceGenome (std::shared_mutex &shared_mutex)
 
int setFilepath (std::string fasta_filepath)
 
std::string getFilepath () const
 
std::string_view query (const std::string &chr, uint32_t pos_start, uint32_t pos_end) const
 
bool compare (const std::string &chr, uint32_t pos_start, uint32_t pos_end, const std::string &compare_seq, float match_threshold) const
 
std::string getContigHeader () const
 
std::vector< std::string > getChromosomes () const
 
uint32_t getChromosomeLength (std::string chr) const
 

Constructor & Destructor Documentation

◆ ReferenceGenome()

ReferenceGenome::ReferenceGenome ( std::shared_mutex &  shared_mutex)
inline

Member Function Documentation

◆ compare()

bool ReferenceGenome::compare ( const std::string &  chr,
uint32_t  pos_start,
uint32_t  pos_end,
const std::string &  compare_seq,
float  match_threshold 
) const
Here is the call graph for this function:

◆ getChromosomeLength()

uint32_t ReferenceGenome::getChromosomeLength ( std::string  chr) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getChromosomes()

std::vector< std::string > ReferenceGenome::getChromosomes ( ) const

◆ getContigHeader()

std::string ReferenceGenome::getContigHeader ( ) const

◆ getFilepath()

std::string ReferenceGenome::getFilepath ( ) const

◆ query()

std::string_view ReferenceGenome::query ( const std::string &  chr,
uint32_t  pos_start,
uint32_t  pos_end 
) const

◆ setFilepath()

int ReferenceGenome::setFilepath ( std::string  fasta_filepath)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: