Skip to content

long command lines in header #83

@grenaud

Description

@grenaud

minor request. Is it possible to allow for very long lines in the @pg for bam files ? I always get:

terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted

When I gdb it I get:
#7 0x00000000004283e1 in BamTools::Internal::SamFormatParser::ParseSQLine(std::string const&) ()
#8 0x0000000000428bc0 in BamTools::Internal::SamFormatParser::ParseSamLine(std::string const&) ()
#9 0x0000000000428f50 in BamTools::Internal::SamFormatParser::Parse(std::string const&) ()
#10 0x000000000041a993 in BamTools::SamHeader::SetHeaderText(std::string const&) ()
#11 0x0000000000432edf in BamTools::Internal::BamHeader::ReadHeaderText(BamTools::Internal::BgzfStream*, unsigned int const&) ()
#12 0x0000000000433051 in BamTools::Internal::BamHeader::Load(BamTools::Internal::BgzfStream*) ()
#13 0x0000000000421a8d in BamTools::Internal::BamReaderPrivate::Open(std::string const&) ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions