mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
correct the fastq detector for distinguish with a csv ngsfilter
This commit is contained in:
1 parent
f239e8da92
commit
997b6e8c01
1 file changed
+1
-1
@@ -78,7 +78,7 @@ func RegisterOBIMimeType() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fastqDetector := func(raw []byte, limit uint32) bool {
|
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
|
return ok && err == nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user