Question: Having issues uploading csv files as tables into galaxy
gravatar for ewmartin
2.5 years ago by
United States
ewmartin0 wrote:

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!

get data • 817 views
ADD COMMENTlink modified 2.5 years ago by Jennifer Hillman Jackson24k • written 2.5 years ago by ewmartin0
gravatar for Jennifer Hillman Jackson
2.5 years ago by
United States
Jennifer Hillman Jackson24k wrote:


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

ADD COMMENTlink written 2.5 years ago by Jennifer Hillman Jackson24k

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

ADD REPLYlink written 2.4 years ago by joanna70

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!

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

ADD REPLYlink modified 2.4 years ago • written 2.4 years ago by Jennifer Hillman Jackson24k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 91 users visited in the last hour