I am trying to upload some data sets that are in csv format and I am having issues with galaxy formatting the inputted data as a table. Can Galaxy read the csv into a table or do I need to do some file conversions? Thanks!
Hello,
Try replacing the commas with tabs using the tool "Convert delimiters to TAB".
If this still produces odd visual formatting, the contents of the uploaded dataset may be inconsistent for some reason. An inconsistent number of "columns" (in this case, commas) or the presence non-printing characters are common issues. Try to standardize the file or strip out these extra characters before loading to see if the problem resolves.
Best, Jen, Galaxy team
Hello Jennifier,
I am having a similar issue with using csv files directly in Galaxy, without having to use an external application to convert them first. When I use the Convert delimiters to TAB tool, it splits the file on all commas, including those within double quoted strings which skewes some of the rows. Is there another way to convert csv to tab delimited? If not, is there a possibility you can develop the upload tool to convert csv to tabular, maintaining any commas within strings?
Many thanks
Hello - This functionality is expected with the current tool, but this is probably important enough to consider either modifying the current wrapper or creating a new one. I opened an enhancement request on Github here - please feel free to add comments! https://github.com/galaxyproject/tools-devteam/issues/250
Next time it might be best to post suggestions like this as a new question and reference prior related Q&A with a link.
Thanks, Jen, Galaxy team