mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Write results as a csv file
This commit is contained in:
1 parent
f36b39bfa3
commit
882cc82f23
1 file changed
+5
-5
@@ -45,17 +45,17 @@ func main() {
|
||||
|
||||
black.Run()
|
||||
|
||||
fmt.Print("entity,n\n")
|
||||
|
||||
if obicount.CLIIsPrintingVariantCount() {
|
||||
fmt.Printf(" %d", counter.Variants)
|
||||
fmt.Printf("variants,%d\n", counter.Variants)
|
||||
}
|
||||
|
||||
if obicount.CLIIsPrintingReadCount() {
|
||||
fmt.Printf(" %d", counter.Reads)
|
||||
fmt.Printf("reads,%d\n", counter.Reads)
|
||||
}
|
||||
|
||||
if obicount.CLIIsPrintingSymbolCount() {
|
||||
fmt.Printf(" %d", counter.Nucleotides)
|
||||
fmt.Printf("nucleotides,%d\n", counter.Nucleotides)
|
||||
}
|
||||
|
||||
fmt.Printf("\n")
|
||||
}
|
||||
Reference in new issue
Block a user