vg
tools for working with variation graphs
Classes | Namespaces | Enumerations | Functions
hts_alignment_emitter.hpp File Reference
#include <mutex>
#include <thread>
#include <vector>
#include <deque>
#include <htslib/hfile.h>
#include <htslib/hts.h>
#include <htslib/sam.h>
#include <vg/vg.pb.h>
#include <vg/io/protobuf_emitter.hpp>
#include <vg/io/stream_multiplexer.hpp>
#include "handle.hpp"
#include "vg/io/alignment_emitter.hpp"

Classes

class  vg::HTSWriter
 
class  vg::HTSAlignmentEmitter
 
class  vg::SplicedHTSAlignmentEmitter
 

Namespaces

 vg
 

Enumerations

enum  vg::alignment_emitter_flags_t {
  vg::ALIGNMENT_EMITTER_FLAG_NONE = 0, vg::ALIGNMENT_EMITTER_FLAG_HTS_RAW = 1, vg::ALIGNMENT_EMITTER_FLAG_HTS_SPLICED = 2, vg::ALIGNMENT_EMITTER_FLAG_HTS_PRUNE_SUSPICIOUS_ANCHORS = 4,
  vg::ALIGNMENT_EMITTER_FLAG_VG_USE_SEGMENT_NAMES = 8
}
 

Functions

unique_ptr< AlignmentEmitter > vg::get_alignment_emitter (const string &filename, const string &format, const vector< tuple< path_handle_t, size_t, size_t >> &paths, size_t max_threads, const HandleGraph *graph, int flags)
 
vector< tuple< path_handle_t, size_t, size_t > > vg::get_sequence_dictionary (const string &filename, const vector< string > &path_names, const PathPositionHandleGraph &graph)
 
pair< vector< pair< string, int64_t > >, unordered_map< string, int64_t > > vg::extract_path_metadata (const vector< tuple< path_handle_t, size_t, size_t >> &paths, const PathPositionHandleGraph &graph, bool subpath_support)