-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error in running diff_length.R #37
Comments
Hi Raj, Can you send me a Chris |
I appreciate your swift response Chris, Input file:
Metadata file:
Feel free to let me know if you need anything else |
Hmm, I may need your full files to discover what's wrong. I'm trying to resolve this same issue with someone else's data as well Edit: The other issue is not the same as yours |
Hello Chris, Any update on what the issue may be? Unfortunately I am unable to send the full files as it is patient data. But I could provide you metrics such as the size of the file or the order of the samples. Thank you for your diligence, |
It looks as simple as a delimiter issue but from what you showed me, it doesn't seem like that's the case. |
At this point I am reasonably sure it is something with your input data or your command. I've successfully just run a bunch of other data without issues |
I appreciate you double checking Chris, Could it be that my sample order is different in the input and metadata files? Thank you for your assistance, |
No, my metadata is also pretty scrambled, and it merges with the data via your library ID anyway |
So weird, I am using the exact same command and it works for the "format" test data but gives error for mine. Test:
Error:
I will check for extra whitespace and how the tabs are formatted to confirm that it is not an issue with a delimiter. Also, file size should not be a problem, correct? I have 17+ million lines in the input file. |
No, size shouldn't be an issue code-wise. Were you able to try debugging line by line yourself? |
Hello Maragkakis Lab,
Error in names(x) <- value :
'names' attribute [2] must be the same length as the vector [1]
Calls: nanoplen -> colnames<-
Execution halted
Conda environment installed successfully and active. Nanoplen R package runs properly with test data. My data is in the same format. But the samples in the metadata file are in a different order than they appear in the input file.
R version 4.2.2 (2022-10-31) running on Ubuntu 20.04.5 LTS
Thank you in advance for your help,
Raj
The text was updated successfully, but these errors were encountered: