Skip to content

GFA wrong integer value for KC tag #46

Description

@vepain

Bug description

Any tag with the type i for integer must have an integer value not written in exponential mode.

In fact, when I use gfapy, an exponential value for the i fields is unexpected.
gfapy output an error for one of the file created by Skesa gfa_connector, particularly concerning the KC field:

FormatError: Field: KC
Datatype: i
Content: 1.42337e+06
the string does not represent a valid integer

Solution

Make sure explicit integer notation is used in gfa_connector

References

https://gfa-spec.github.io/GFA-spec/GFA1.html#optional-fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions