mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
change the model for representing paired reads and extend its usage to other commands
This commit is contained in:
1 parent
ebb05fcdf7
commit
072b85e155
23 files changed
+598
-338
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user