Skip to content

Invalid tag name for GFAv1 specification  #2

Description

@cerebis

g.write('H\tVN:Z:1.0\t k:i:%d\n' %k) # includes the k-mer size

This line introduces an optional field, using a tag which is non-compliant with respect to the GFAv1 specification. Tags are required to be a two characters long, with the pattern: [a-zA-Z][a-zA-Z0-9]

https://github.com/GFA-spec/GFA-spec/blob/master/GFA1.md#optional-fields

I would suggest km but it is already being used for Segment. However, there is no reason you cannot use the same tag on two different records, with different meanings. Perhaps this is confusing. Tags are also case-sensitive, so you could disambiguate it slightly with KM.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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