Closed HenrikBengtsson closed 9 years ago
Add SequenceContigsInterface class with corresponding methods such as:
SequenceContigsInterface
nbrOfSeqs()
getSeqNames()
hasSeqLengths()
getSeqLengths()
getTotalSeqLength()
typeOfSeqOrdering()
getSeqsGenericSummary()
isCompatibleWithBySeqNames(..., other)
isCompatibleWithBySeqLengths(..., other)
isCompatibleWithBySeqs(..., other)
Have the following classes inherit from/implement this interface:
This will reduce the amount of redundant code noticeably.
Done. Got a working setup now.
Add
SequenceContigsInterface
class with corresponding methods such as:nbrOfSeqs()
getSeqNames()
hasSeqLengths()
getSeqLengths()
getTotalSeqLength()
typeOfSeqOrdering()
getSeqsGenericSummary()
isCompatibleWithBySeqNames(..., other)
isCompatibleWithBySeqLengths(..., other)
isCompatibleWithBySeqs(..., other)
Have the following classes inherit from/implement this interface:
This will reduce the amount of redundant code noticeably.