"@SQ SN:chr1 LN:12345"</code></pre></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/metainfo.jl#L45-L70">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.MetaInfo-Tuple{AbstractString}"href="#XAM.SAM.MetaInfo-Tuple{AbstractString}"><code>XAM.SAM.MetaInfo</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">MetaInfo(str::AbstractString)</code></pre><p>Create a SAM metainfo from <code>str</code>.</p><p><strong>Examples</strong></p><pre><codeclass="language-none">julia> SAM.MetaInfo("@CO some comment")
value: SN=chr1 LN=12345</code></pre></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/metainfo.jl#L23-L40">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.Reader-Tuple{IO}"href="#XAM.SAM.Reader-Tuple{IO}"><code>XAM.SAM.Reader</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">SAM.Reader(input::IO)</code></pre><p>Create a data reader of the SAM file format.</p><p><strong>Arguments</strong></p><ul><li><code>input</code>: data source</li></ul></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/reader.jl#L22-L29">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.Record-Tuple{AbstractString}"href="#XAM.SAM.Record-Tuple{AbstractString}"><code>XAM.SAM.Record</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">SAM.Record(str::AbstractString)</code></pre><p>Create a SAM record from <code>str</code>. This function verifies the format and indexes fields for accessors.</p></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/record.jl#L63-L68">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.Record-Tuple{Array{UInt8,1}}"href="#XAM.SAM.Record-Tuple{Array{UInt8,1}}"><code>XAM.SAM.Record</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">SAM.Record(data::Vector{UInt8})</code></pre><p>Create a SAM record from <code>data</code>. This function verifies the format and indexes fields for accessors. Note that the ownership of <code>data</code> is transferred to a new record object.</p></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/record.jl#L39-L45">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.Record-Tuple{}"href="#XAM.SAM.Record-Tuple{}"><code>XAM.SAM.Record</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">SAM.Record()</code></pre><p>Create an unfilled SAM record.</p></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/record.jl#L23-L27">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="XAM.SAM.Writer"href="#XAM.SAM.Writer"><code>XAM.SAM.Writer</code></a> — <spanclass="docstring-category">Type</span></header><section><div><pre><codeclass="language-julia">Writer(output::IO, header::Header=Header())</code></pre><p>Create a data writer of the SAM file format.</p><p><strong>Arguments</strong></p><ul><li><code>output</code>: data sink</li><li><code>header=Header()</code>: SAM header object</li></ul></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/writer.jl#L4-L12">source</a></section></article><articleclass="docstring"><header><aclass="docstring-binding"id="Base.findall-Tuple{XAM.SAM.Header,AbstractString}"href="#Base.findall-Tuple{XAM.SAM.Header,AbstractString}"><code>Base.findall</code></a> — <spanclass="docstring-category">Method</span></header><section><div><pre><codeclass="language-julia">find(header::Header, key::AbstractString)::Vector{MetaInfo}</code></pre><p>Find metainfo objects satisfying <code>SAM.tag(metainfo) == key</code>.</p></div><aclass="docs-sourcelink"target="_blank"href="https://github.com/BioJulia/XAM.jl/blob/cc2af1976bf0199b9da3f6ba0417285c7e8089da/src/sam/header.jl#L36-L40">source</a></section></article><article