mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
change the model for representing paired reads and extend its usage to other commands
This commit is contained in:
@@ -55,6 +55,7 @@ type BioSequence struct {
|
||||
sequence []byte // The sequence itself, it is accessible by the methode Sequence
|
||||
qualities []byte // The quality scores of the sequence.
|
||||
feature []byte
|
||||
paired *BioSequence // A pointer to the paired sequence
|
||||
annotations Annotation
|
||||
}
|
||||
|
||||
@@ -69,6 +70,7 @@ func MakeEmptyBioSequence() BioSequence {
|
||||
sequence: nil,
|
||||
qualities: nil,
|
||||
feature: nil,
|
||||
paired: nil,
|
||||
annotations: nil,
|
||||
}
|
||||
}
|
||||
@@ -275,3 +277,4 @@ func (s *BioSequence) WriteByte(data byte) error {
|
||||
func (s *BioSequence) Clear() {
|
||||
s.sequence = s.sequence[0:0]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user