correct the fastq detector for distinguish with a csv ngsfilter

This commit is contained in:
Eric Coissac
2025-08-06 15:52:54 -04:00
parent f239e8da92
commit 997b6e8c01

View File

@@ -78,7 +78,7 @@ func RegisterOBIMimeType() {
}
fastqDetector := func(raw []byte, limit uint32) bool {
ok, err := regexp.Match("^@[^ ].*\n[A-Za-z.-]+", raw)
ok, err := regexp.Match("^@[^ ].*\n[A-Za-z.-]+\n\\+", raw)
return ok && err == nil
}