mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Big change iin the data model, and a first version of obiuniq
This commit is contained in:
1 parent
9737f97084
commit
2e7c1834b0
43 files changed
+664
-440
No files matched your search
@@ -49,12 +49,12 @@ func _parse_json_header_(header string, annotations obiseq.Annotation) string {
|
||||
return strings.TrimSpace(header[stop:])
|
||||
}
|
||||
|
||||
func ParseFastSeqJsonHeader(sequence obiseq.BioSequence) {
|
||||
func ParseFastSeqJsonHeader(sequence *obiseq.BioSequence) {
|
||||
sequence.SetDefinition(_parse_json_header_(sequence.Definition(),
|
||||
sequence.Annotations()))
|
||||
}
|
||||
|
||||
func FormatFastSeqJsonHeader(sequence obiseq.BioSequence) string {
|
||||
func FormatFastSeqJsonHeader(sequence *obiseq.BioSequence) string {
|
||||
annotations := sequence.Annotations()
|
||||
|
||||
if annotations != nil {
|
||||
|
||||
Reference in new issue
Block a user