mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-10 09:40:27 +00:00
Adds possibility to provide the ngsfilter configuration as a CSV file
Former-commit-id: f0fd2cb1a7b149ae2a330edc5087b21be2c4585b
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obingslibrary"
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitools/obiconvert"
|
||||
"github.com/DavidGamba/go-getoptions"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var _NGSFilterFile = ""
|
||||
@@ -74,6 +76,7 @@ func CLINGSFIlter() (obingslibrary.NGSLibrary, error) {
|
||||
return nil, fmt.Errorf("open file error: %v", err)
|
||||
}
|
||||
|
||||
log.Infof("Reading NGSFilter file: %s", _NGSFilterFile)
|
||||
ngsfiler, err := obiformats.ReadNGSFilter(file)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user