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

Issue with number of columns in matrix upload #380

Open
felipead6 opened this issue May 31, 2021 · 1 comment
Open

Issue with number of columns in matrix upload #380

felipead6 opened this issue May 31, 2021 · 1 comment
Labels
waiting_on_submitter More information is needed from the submitter before proceeding

Comments

@felipead6
Copy link

I try to upload a matrix with expression analysis with 16 columns, one column is the file name and the rest 15 is the data.

I have uploaded biomaterial with 15 samples, matching the names of the samples.

My issue is that when I upload the matrix I get the following notice:

"Notice: Undefined index: re_stop in tripal_expression_data_loader->run() (line 350 of /var/www/clients/client31/web132/web/sites/all/modules/tripal_analysis_expression/tripal_analysis_expression/includes/TripalImporter/tripal_expression_data_loader.inc)."

and in the jobs description I get:
"Loading complete: 0%. Memory: 29,262,080 bytes.
Expression data in the data section of the matrix format must have a feature name followed by tab separated expression values. The number of expression values for each feature must equal the number of biomaterials in the matrix file header. Example matrix format:
...
Loader failed on the following line:
seq1 58.31 49.35 31.57 28.39 27.09 16.95 31.89 39.82 28.33 25.85 23.47 36.57 34.74 28.97 33.1

. Expected 17 columns but only found 16 column(s).

Done.
Committing Transaction..."

Please advise me on how to proceed

@spficklin
Copy link
Member

@felipead6 I've rewritten the Expression loader with this PR #397. If you'd like to test your file again (provided you are still having the problem) and see if the issue is fixed with that PR.

But also, I believe the input matrix file header must have one fewer element than the rest of the rows because the first column of the data rows is the gene name. I don't think that was the source of the problem you hit on but it may cause some problems.

@spficklin spficklin added the waiting_on_submitter More information is needed from the submitter before proceeding label Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting_on_submitter More information is needed from the submitter before proceeding
Projects
None yet
Development

No branches or pull requests

2 participants