27namespace seqan3::detail
42template <
typename format_type>
43struct sam_file_output_format_exposer :
public format_type
49 template <
typename... ts>
50 void write_alignment_record(ts &&... args)
56 template <
typename stream_t,
typename header_type>
57 void write_header(stream_t & stream, sam_file_output_options
const & options, header_type & header)
59 format_type::write_header(stream, options, header);
82 std::ofstream & stream,
86 std::vector<phred42> &
qual,
89 std::optional<int32_t> &
ref_id,
91 std::vector<cigar> &
cigar,
94 std::tuple<std::optional<int32_t>, std::optional<int32_t>, int32_t> &
mate,
101 v.write_alignment_record(stream,
117 } -> std::same_as<void>;
122#if SEQAN3_DOXYGEN_ONLY(1) 0
191namespace seqan3::detail
200constexpr bool is_type_list_of_sam_file_output_formats_v =
false;
207template <
typename... ts>
216concept type_list_of_sam_file_output_formats = is_type_list_of_sam_file_output_formats_v<t>;
Provides aliases for qualified.
Provides the seqan3::cigar alphabet.
The seqan3::cigar semialphabet pairs a counter with a seqan3::cigar::operation letter.
Definition alphabet/cigar/cigar.hpp:57
The SAM tag dictionary class that stores all optional SAM fields.
Definition sam_tag_dictionary.hpp:327
Provides seqan3::dna5, container aliases and string literals.
sam_flag
An enum flag that describes the properties of an aligned read (given as a SAM record).
Definition sam_flag.hpp:73
@ flag
The alignment flag (bit information), uint16_t value.
Definition record.hpp:84
@ ref_offset
Sequence (seqan3::field::ref_seq) relative start position (0-based), unsigned value.
Definition record.hpp:81
@ ref_seq
The (reference) "sequence" information, usually a range of nucleotides or amino acids.
Definition record.hpp:80
@ mapq
The mapping quality of the seqan3::field::seq alignment, usually a Phred-scaled score.
Definition record.hpp:86
@ bit_score
The bit score (statistical significance indicator), unsigned value.
Definition record.hpp:90
@ mate
The mate pair information given as a std::tuple of reference name, offset and template length.
Definition record.hpp:85
@ ref_id
The identifier of the (reference) sequence that seqan3::field::seq was aligned to.
Definition record.hpp:79
@ id
The identifier, usually a string.
Definition record.hpp:63
@ seq
The "sequence", usually a range of nucleotides or amino acids.
Definition record.hpp:62
@ qual
The qualities, usually in Phred score notation.
Definition record.hpp:64
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
Provides seqan3::phred42 quality scores.
Provides seqan3::sam_file_output_options.
Provides helper data structures for the seqan3::sam_file_output.
Provides the seqan3::sam_tag_dictionary class and auxiliaries.
The options type defines various option members that influence the behavior of all or some formats.
Definition sam_file/output_options.hpp:23
Type that contains multiple types.
Definition type_list.hpp:26
Provides seqan3::type_list.