mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Big change iin the data model, and a first version of obiuniq
This commit is contained in:
@ -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