Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems uploading csv #45

Closed
avilella opened this issue Jan 25, 2017 · 8 comments
Closed

problems uploading csv #45

avilella opened this issue Jan 25, 2017 · 8 comments

Comments

@avilella
Copy link

Hi,

I am trying to upload an example csv of raw input data. I took the one in the example, but complained it didn't have enough lines. So I modified it and added more lines like so:

Gene ID, name, control rep1, control rep2, treatment A rep1, treatment A rep2, EC Number
gene001, flavodoxin, 60, 40, 200, 220, 3.1.-.-
gene002, p53, 0, 4, 20, 30,
gene003, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-
gene004, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-
gene005, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-
gene006, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-
gene007, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-
gene008, potassium uptake protein, 600, 633, 200, 220, 2.7.8.-

I then uploaded it to the system. I assign Gene ID and name as info columns, EC number column, select the treatment and controls, click 'Save' then click 'View'. See below.

The result is an empty page with no values/rows. See below.

Am I loading this data correctly?

screen shot 2017-01-25 at 14 06 29

screen shot 2017-01-25 at 14 07 23

@avilella
Copy link
Author

I tried it with combination of only 'Gene ID' as label, or only 'name' as label, no luck.

I tried it with a larger file with about 25000 rows, same result.

@colindaven
Copy link

I'm not a developer here, but have used extensively.

To me I would avoid having a space in the column names
try
control rep1
as
control_rep1

Colin

@avilella
Copy link
Author

avilella commented Jan 26, 2017 via email

@avilella
Copy link
Author

I see there are examples on the website for the analysed values. In my case I want to load a csv with the raw counts, but I can't get it to work. Any ideas?

@colindaven
Copy link

Thats a shame. Your data all look ok to me. We installed locally (very hard) and used extensively.

Chief problems were: spaces in any field, column names being the same as condition names (or similar), header being ignored, etc.

You definitely need to put a CSV with the raw counts in.

@avilella
Copy link
Author

avilella commented Jan 27, 2017 via email

@drpowell
Copy link
Member

Turns out the problem is that the space you have in the column names after the comma. Specifically, if it should be fine if the header row was this

Gene ID,name,control rep1,control rep2,treatment A rep1,treatment A rep2,EC Number

I'll raise a bug, and try and fix this properly soon. Also, there is newer beta version of degust with a few new features running here : http://dna.med.monash.edu:4000/

@drpowell
Copy link
Member

Bug raised for this : #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants