|
| | SplicedHTSAlignmentEmitter (const string &filename, const string &format, const vector< pair< string, int64_t > > &path_order_and_length, const unordered_map< string, int64_t > &subpath_to_length, const PathPositionHandleGraph &graph, size_t max_threads) |
| |
| | ~SplicedHTSAlignmentEmitter ()=default |
| |
| | HTSAlignmentEmitter (const string &filename, const string &format, const vector< pair< string, int64_t > > &path_order_and_length, const unordered_map< string, int64_t > &subpath_to_length, size_t max_threads) |
| |
| | ~HTSAlignmentEmitter ()=default |
| | Tear down an HTSAlignmentEmitter and destroy HTSlib structures.
|
| |
| | HTSAlignmentEmitter (const HTSAlignmentEmitter &other)=delete |
| |
| HTSAlignmentEmitter & | operator= (const HTSAlignmentEmitter &other)=delete |
| |
| | HTSAlignmentEmitter (HTSAlignmentEmitter &&other)=delete |
| |
| HTSAlignmentEmitter & | operator= (HTSAlignmentEmitter &&other)=delete |
| |
| void | emit_singles (vector< Alignment > &&aln_batch) |
| | Emit a batch of Alignments.
|
| |
| void | emit_mapped_singles (vector< vector< Alignment > > &&alns_batch) |
| |
| void | emit_pairs (vector< Alignment > &&aln1_batch, vector< Alignment > &&aln2_batch, vector< int64_t > &&tlen_limit_batch) |
| | Emit a batch of pairs of Alignments.
|
| |
| void | emit_mapped_pairs (vector< vector< Alignment > > &&alns1_batch, vector< vector< Alignment > > &&alns2_batch, vector< int64_t > &&tlen_limit_batch) |
| |
| virtual void | emit_extra_message (const std::string &tag, std::string &&data) |
| | Emit some extra type-tagged data, if the backing format supports it.
|
| |
| virtual void | emit_single (Alignment &&aln) |
| | Emit a single Alignment.
|
| |
| virtual void | emit_mapped_single (vector< Alignment > &&alns) |
| | Emit a single Alignment with secondaries. All secondaries must have is_secondary set already.
|
| |
| virtual void | emit_pair (Alignment &&aln1, Alignment &&aln2, int64_t tlen_limit=0) |
| |
| virtual void | emit_mapped_pair (vector< Alignment > &&alns1, vector< Alignment > &&alns2, int64_t tlen_limit=0) |
| |
| virtual | ~AlignmentEmitter ()=default |
| | Allow destruction through base class pointer.
|
| |
| | HTSWriter (const string &filename, const string &format, const vector< pair< string, int64_t > > &path_order_and_length, const unordered_map< string, int64_t > &subpath_to_length, size_t max_threads) |
| |
| | ~HTSWriter () |
| | Tear down an HTSWriter and destroy HTSlib structures.
|
| |
| | HTSWriter (const HTSWriter &other)=delete |
| |
| HTSWriter & | operator= (const HTSWriter &other)=delete |
| |
| | HTSWriter (HTSWriter &&other)=delete |
| |
| HTSWriter & | operator= (HTSWriter &&other)=delete |
| |
|
| void | save_records (bam_hdr_t *header, vector< bam1_t * > &records, size_t thread_number) |
| |
| bam_hdr_t * | ensure_header (const string &read_group, const string &sample_name, size_t thread_number) |
| |
| void | initialize_sam_file (bam_hdr_t *header, size_t thread_number, bool keep_header=false) |
| |
| unique_ptr< ofstream > | out_file |
| | If we are doing output to a file, this will hold the open file. Otherwise (for stdout) it will be empty.
|
| |
| vg::io::StreamMultiplexer | multiplexer |
| |
| string | format |
| | This holds our format name, for later error messages.
|
| |
| vector< pair< string, int64_t > > | path_order_and_length |
| | Store the path names and lengths in the order to put them in the header.
|
| |
| unordered_map< string, int64_t > | subpath_to_length |
| |
| vector< hFILE * > | backing_files |
| |
| vector< samFile * > | sam_files |
| |
| atomic< bam_hdr_t * > | atomic_header |
| | We need a header.
|
| |
| string | sam_header |
| |
| mutex | header_mutex |
| | If the header isn't present when we want to write, we need a mutex to control creating it.
|
| |
| bool | output_is_bgzf |
| |
| string | hts_mode |
| | Remember the HTSlib mode string we need to open our files.
|
| |
| static const size_t | BGZF_FOOTER_LENGTH = 28 |
| | We hack about with htslib's BGZF EOF footers, so we need to know how long they are.
|
| |