mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Write results as a csv file
This commit is contained in:
@ -45,17 +45,17 @@ func main() {
|
|||||||
|
|
||||||
black.Run()
|
black.Run()
|
||||||
|
|
||||||
|
fmt.Print("entity,n\n")
|
||||||
|
|
||||||
if obicount.CLIIsPrintingVariantCount() {
|
if obicount.CLIIsPrintingVariantCount() {
|
||||||
fmt.Printf(" %d", counter.Variants)
|
fmt.Printf("variants,%d\n", counter.Variants)
|
||||||
}
|
}
|
||||||
|
|
||||||
if obicount.CLIIsPrintingReadCount() {
|
if obicount.CLIIsPrintingReadCount() {
|
||||||
fmt.Printf(" %d", counter.Reads)
|
fmt.Printf("reads,%d\n", counter.Reads)
|
||||||
}
|
}
|
||||||
|
|
||||||
if obicount.CLIIsPrintingSymbolCount() {
|
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