change the model for representing paired reads and extend its usage to other commands

This commit is contained in:
coissac committed 2023-02-23 23:35:58 +01:00
1 parent ebb05fcdf7
commit 072b85e155
23 files changed
+598 -338

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ func NewBioSequenceSlice(size ...int) *BioSequenceSlice {
slice := _BioSequenceSlicePool.Get().(*BioSequenceSlice)
if len(size) > 0 {
s := size[0]
slice.InsureCapacity(s)
slice = slice.InsureCapacity(s)
(*slice)=(*slice)[0:s]
}
return slice