-
Notifications
You must be signed in to change notification settings - Fork 6
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
index out of bounds error #7
Comments
This error looks strange, in my opinion what it means is that the length of TPM and NumReads columns in the sailfish quantification output file is different, which doesn't make sense. |
Sorry for the delay in my response. I've been making some more tests and it 2016-07-27 19:35 GMT+02:00 Avi Srivastava notifications@github.com:
|
You are right, RapClust is designed with the assumptions or rather motivation that quantification information is already present from different conditions separately. However, you should not get error like this while running Sailfish (i.e. different number of TPM and Num Reads in .sf file). |
Hi again, 2016-08-08 5:45 GMT+02:00 Avi Srivastava notifications@github.com:
|
Glad to hear. |
Hi,
I'm trying to run Sailfish + Rapclust in my data. I had some RNAseq samples from several conditions and I assembled with Trinity each condition separately, obtaining 4 different transcriptomes. Now, I'm trying to cluster them together in order to get a unique transcriptome for the specie (instead of 1 per each condition), so I concatenated all the transcriptomes in a single multifasta file and tried to run sailfish and Rapclust as I usually do. I indexed the combined transcriptome with sailfish and quantified each sample without getting any error. But when I run Rapclust, I get the following error:
Traceback (most recent call last):
File "/apps/RAPCLUST/0.1/bin/RapClust", line 89, in
processQuant()
File "/apps/RAPCLUST/0.1/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(_args, *_kwargs)
File "/apps/RAPCLUST/0.1/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/apps/RAPCLUST/0.1/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, *_ctx.params)
File "/apps/RAPCLUST/0.1/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(_args, **kwargs)
File "/apps/RAPCLUST/0.1/bin/RapClust", line 54, in processQuant
eqnet.buildNetFile(sampleDirs, netFile, cutoff)
File "/apps/RAPCLUST/0.1/lib/python2.7/site-packages/rapclust/eqnet.py", line 100, in buildNetFile
if (diagCounts[i] > cutoff):
IndexError: index 1423084 is out of bounds for axis 0 with size 1423084
Do you know why is this happening? How can I fix this error?
Thanks a lot,
Jèssica
The text was updated successfully, but these errors were encountered: