mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Adds the obimicrosat command
This commit is contained in:
1 parent
3f57935328
commit
bdb96dda94
11 files changed
+419
-5
No files matched your search
@@ -525,3 +525,11 @@ func (s *BioSequence) Grow(length int) {
|
||||
s.qualities = slices.Grow(s.qualities, length)
|
||||
}
|
||||
}
|
||||
|
||||
// SameAs checks if the sequence of the current BioSequence is the same as the sequence of the other BioSequence.
|
||||
//
|
||||
// other: a pointer to the other BioSequence.
|
||||
// Returns a boolean indicating whether the sequences are the same.
|
||||
func (s *BioSequence) SameAs(other *BioSequence) bool {
|
||||
return obiutils.UnsafeStringFromBytes(s.sequence) == obiutils.UnsafeStringFromBytes(other.sequence)
|
||||
}
|
||||
Reference in new issue
Block a user