<commit_before>#include <iostream>
#include <seqan/bam_io.h>

int main()
{
    seqan::BamStream bamInStream("example.sam");

    for (unsigned i = 0; i < length(bamInStream.header.sequenceInfos); ++i)
        std::cout << bamInStream.header.sequenceInfos[i].i1 << '\t'
                  << bamInStream.header.sequenceInfos[i].i2 << '\n';

    return 0;
}
<commit_msg>[DOC] Adjustment to Basic SAM/BAM I/O `example2.cpp`.<commit_after>#include <iostream>
#include <seqan/bam_io.h>

int main()
{
    seqan::BamStream bamInStream("example.bam");

    for (unsigned i = 0; i < length(bamInStream.header.sequenceInfos); ++i)
        std::cout << bamInStream.header.sequenceInfos[i].i1 << '\t'
                  << bamInStream.header.sequenceInfos[i].i2 << '\n';

    return 0;
}

{'fraction_non_alphanumeric': 0.1731266149870801, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 3.329608938547486, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7484613', 'n_tokens_mistral': 302, 'n_tokens_neox': 287, 'n_words': 50}