Skip to content

Feature Request: Tidy Output #28

@nlubock

Description

@nlubock

I was wondering if it would be possible to output clusters in a tidy format rather than the existing wide format. For example:

> cat test.tsv
GGGG	50
AGGG	10
AAGG	5
AAAG	20
TGGG	20
TTTT	100

>  starcode -q -d1 --sphere --print-clusters -i test.tsv
TTTT	100	TTTT
GGGG	80	GGGG,AGGG,TGGG
AAAG	25	AAAG,AAGG

> starcode -q -d1 --sphere --print-tidy-clusters -i test.tsv
TTTT    100     TTTT    100
GGGG    80      GGGG    50
GGGG    80      AGGG    10
GGGG    80      TGGG    20
AAAG    25      AAAG    20
AAAG    25      AAGG    5

Obviously this not critical, but I think it would be a useful feature.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions