-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
Milestone
Description
We need to confirm the final contents of the string to digest. Right now, I think we had settled on these elements:
contents
- name (e.g.
chr1) - length
- topology
- sequence digest (refget digest)
constraints:
- Required: name, length, topology (sequence digest may be left blank)
- topology must be one of: 'linear' or 'circular'
- length must be an integer
- name must be a string, subject to the constraints determined in issue What characters should be allowed in sequence names? #2
Related to this, I initially described this with a JSON-schema that I use in my implementation, but this is a bit more complicated because it encodes the recursion (the fact that the sequence digest element is itself a top-level refgettable element., But, for reference if anyone's interested, it's here:
https://github.com/refgenie/seqcol/blob/master/seqcol/schemas/AnnotatedSequenceList.yaml
Open for discussion.