SeqAn3
The Modern C++ library for sequence analysis.
seqan3::alignment_file_output_options Struct Reference

The options type defines various option members that influence the behavior of all or some formats. More...

#include <seqan3/io/alignment_file/output_options.hpp>

Public Attributes

bool add_carriage_return = false
 The default plain text line-ending is "\n", but on Windows an additional carriage return is recommended ("\r\n" for line-ending).
 
bool sam_require_header = true
 Whether to require a header for SAM files. More...
 

Detailed Description

The options type defines various option members that influence the behavior of all or some formats.

Member Data Documentation

◆ sam_require_header

bool seqan3::alignment_file_output_options::sam_require_header = true

Whether to require a header for SAM files.

In the official SAM format the header is optional but we highly recommend to always specify the header nonetheless to be consistent with BAM files (where the header is always required). If you explicitly want the header not to be written and no related checks to be done (e.g. the record reference name must be present in the reference dictionary of the header) you may set this variable to false.


The documentation for this struct was generated from the following file: