Connect the command line options to the algorithm of obipairing

This commit is contained in:
2022-01-16 17:30:30 +01:00
parent 576a9f4d2d
commit 64676db3f4
7 changed files with 89 additions and 43 deletions

View File

@@ -127,6 +127,10 @@ func (s BioSequence) Features() string {
return string(s.sequence.feature)
}
func (s BioSequence) HasAnnotation() bool {
return len(s.sequence.annotations) > 0
}
func (s BioSequence) Annotations() Annotation {
if s.sequence.annotations == nil {
s.sequence.annotations = GetAnnotation()

View File

@@ -1,4 +1,3 @@
package obiseq
type BioSequenceSlice []BioSequence