vg
tools for working with variation graphs
Loading...
Searching...
No Matches
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

namespace  xg
 
namespace  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.
 
std::string xg::temp_file::create ()
 Create a temporary file.
 
void xg::temp_file::remove (const std::string &filename)
 Remove a temporary file.
 
void xg::temp_file::forget ()
 Forget about all current temporary files and directories without deleting them.
 
void xg::temp_file::set_dir (const std::string &new_temp_dir)
 Set a temp dir, overriding system defaults and environment variables.
 
std::string xg::temp_file::get_dir ()
 Get the current temp dir.
 
int xg::get_thread_count (void)
 Uses OMP to get the count of threads.