You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seqkit split2 -p 2 -1 2016_1.fa.gz -2 2016_2.fa.gz --force
[INFO] flag -1/--read1 and -2/--read2 given, ignore: -
[INFO] split seqs from 2016_1.fa.gz and 2016_2.fa.gz
[INFO] split into 2 parts
panic: runtime error: slice bounds out of range [122:60]
Prerequisites
seqkit version
Describe your issue
seqkit v2.3.0
seqkit split2 -p 2 -1 2016_1.fa.gz -2 2016_2.fa.gz --force
[INFO] flag -1/--read1 and -2/--read2 given, ignore: -
[INFO] split seqs from 2016_1.fa.gz and 2016_2.fa.gz
[INFO] split into 2 parts
panic: runtime error: slice bounds out of range [122:60]
goroutine 93 [running]:
bytes.(*Buffer).Write(0x565335?, {0xc001814078?, 0xc0001b0000?, 0x10000?})
/usr/local/go/src/bytes/buffer.go:172 +0xd6
github.com/shenwei356/bio/seqio/fastx.wrapByteSlice({0xc001814000?, 0x96, 0xa00000}, 0x3c, 0xc0003300d0?)
/home/shenwei/shenwei/scripts/go/pkg/mod/github.com/shenwei356/bio@v0.7.0/seqio/fastx/records.go:182 +0x1a6
github.com/shenwei356/bio/seqio/fastx.(*Record).FormatToWriter(0xc00013c0a0, 0xc0003d60c0, 0x3c)
/home/shenwei/shenwei/scripts/go/pkg/mod/github.com/shenwei356/bio@v0.7.0/seqio/fastx/records.go:138 +0x1eb
github.com/shenwei356/seqkit/v2/seqkit/cmd.glob..func32.1({0x7ffcd946da92?, 0xc?})
/home/shenwei/shenwei/scripts/go/src/github.com/shenwei356/seqkit/seqkit/cmd/split2.go:394 +0x1518
created by github.com/shenwei356/seqkit/v2/seqkit/cmd.glob..func32
/home/shenwei/shenwei/scripts/go/src/github.com/shenwei356/seqkit/seqkit/cmd/split2.go:217 +0x186a
The text was updated successfully, but these errors were encountered: