vg
tools for working with variation graphs
Classes | Namespaces | Functions
xg.cpp File Reference
#include "xg.hpp"
#include "mmmultimap.hpp"
#include <bitset>
#include <arpa/inet.h>
#include <mutex>
#include <handlegraph/util.hpp>
#include "gfakluge.hpp"

Classes

struct  xg::temp_file::Handler
 

Namespaces

 xg
 
 xg::temp_file
 

Functions

int xg::dna3bit (char c)
 
char xg::revdna3bit (int i)
 
std::string xg::temp_file::create (const std::string &base)
 Create a temporary file starting with the given base name. More...
 
std::string xg::temp_file::create ()
 Create a temporary file. More...
 
void xg::temp_file::remove (const std::string &filename)
 Remove a temporary file. More...
 
void xg::temp_file::forget ()
 Forget about all current temporary files and directories without deleting them. More...
 
void xg::temp_file::set_dir (const std::string &new_temp_dir)
 Set a temp dir, overriding system defaults and environment variables. More...
 
std::string xg::temp_file::get_dir ()
 Get the current temp dir. More...
 
int xg::get_thread_count (void)
 Uses OMP to get the count of threads. More...