Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to create a reference object for all reference operations in Foghorn. More...
#include <reference_map.h>
Public Member Functions | |
ReferenceMap (const std::string &filename) | |
opens a fasta/fastq reference file and creates a ReferenceMap from it More... | |
std::string | get_sequence (const Interval &interval, const bool reverse_strand=false) const |
locates the DNA sequence for a given Interval More... | |
Utility class to create a reference object for all reference operations in Foghorn.
It hash table stores chr -> sequence as strings internally.
gamgee::ReferenceMap::ReferenceMap | ( | const std::string & | filename | ) |
opens a fasta/fastq reference file and creates a ReferenceMap from it
filename | reference genome fasta or fastq file |
string gamgee::ReferenceMap::get_sequence | ( | const Interval & | interval, |
const bool | reverse_strand = false |
||
) | const |
locates the DNA sequence for a given Interval
interval | location in the genome |
reverse_strand | which strand, releative to the reference genome, to produce the sequence for |