Closed garfinjm closed 4 years ago
Hi @garfinjm , thanks for your feedback!
I added TSV export just now in #160
If I remember correctly, our primary justification for choosing ;
as a delimiter was that some of the values we don't control (they come from the user) and may contain tabs. My version of Excel also gets confused by the mixture of ;
and ,
, so I am not against trying tab delimiter as well.
The serialization library we are using, papaparse, should automatically quote fields in case any of them contain delimiter characters, so TSV should be safe even if, for example, sequence name contain a stray tab character. Hopefully, Excel and other tools should understand the quotation marks in this case.
Please try the new development version of the app deployed to: https://nextclade-git-feat-tsv-export.neherlab.vercel.app/ and let us know if it works for you.
I will let @rneher to make the final judgement, double-check and merge if okay. If approved, we can release this new version right away.
@garfinjm We released TSV exports in 0.3.7 just now.
Thanks @ivan-aksamentov and @rneher! :thumbsup:
Hello,
Nextclade is a fantastic tool and has saved me tons of time.
One small request, the "Export to CSV" output seems to be using semicolons as the field separator instead of commas. This formatting does weird things if you try to import it into excel or parse it with
cut
.A "Export to TSV" option where the semicolons are replaced with tabs would be great and increase compatibility with many tools!