2022-01-13 23:27:39 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2025-01-24 11:47:59 +01:00
|
|
|
"os"
|
2022-01-13 23:27:39 +01:00
|
|
|
|
2025-01-27 17:12:45 +01:00
|
|
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitax"
|
2025-01-24 18:09:59 +01:00
|
|
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiutils"
|
2023-11-29 12:14:37 +01:00
|
|
|
)
|
2022-11-15 08:21:46 +01:00
|
|
|
|
2022-01-13 23:27:39 +01:00
|
|
|
func main() {
|
|
|
|
|
2025-01-27 17:12:45 +01:00
|
|
|
obitax.DetectTaxonomyFormat(os.Args[1])
|
2025-01-24 18:09:59 +01:00
|
|
|
println(obiutils.RemoveAllExt("toto/tutu/test.txt"))
|
|
|
|
println(obiutils.Basename("toto/tutu/test.txt"))
|
|
|
|
|
2022-01-13 23:27:39 +01:00
|
|
|
}
|