Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFA wrong integer value for KC tag #46

Open
vepain opened this issue Dec 20, 2024 · 0 comments
Open

GFA wrong integer value for KC tag #46

vepain opened this issue Dec 20, 2024 · 0 comments

Comments

@vepain
Copy link

vepain commented Dec 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant