mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-07 16:20:27 +00:00
correct the fastq detector for distinguish with a csv ngsfilter
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user