-
Notifications
You must be signed in to change notification settings - Fork 45
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: wrong number of template arguments #107
Comments
Hi @studident, I anticipate that there will be difficulties building 0.7.6 from source. The reason is that there is an external dependency that doesn't have a properly tagged version (i.e. a version frozen with the interface used in 0.7.6). However, I was just able to successfully build the last tagged release (v0.10.0) from source after making a small modification to use a newer version of TBB (TBB's build, itself, seems to have some problems for older versions as Guillaume pointed out). Specifically, I replaced the
Then, after cleaning the build directory, I was able to successfully build from source without any other modifications. I am using gcc 5.5.0:
and am running on ubuntu 16.10:
Can you see if this build works for you? |
Hi Rob, thanks for your answer. How exactly do I replace the ExternalProject_Add for litbb? Sorry for the inconveniences. Just started this whole coding thing. |
Hi @studident, Absolutely no need to apologize! The whole coding thing isn't easy, and Sailfish isn't a particularly simple piece of software to build. Anyway, a somewhat easier solution is to simply replace the file Best, |
Hi Rob, thanks again. I'm actually scared to paste it as the errors might fill pages. So this is an excerpt: So sorry but I hope you can take a look when you find the time. |
Hi @studident, It seems you are still trying to compile the older version. Can you try the following?
This should be the process required to try and build the latest release from source on your system. Can you let me know if that works (or at least gives you a different error)? If it's not successful, can you tell me what compiler and version of linux you have? You can check the compiler version with Thanks, |
Hi Rob, I started from scratch and now the code ran all the way through with one error left:
Any way to fix this? PS: My compiler version:
|
I don't know exactly why but I accidentally repeated the
Now I'm a bit confused as it seems like the previous error has disappeared? |
Hi Rob, I'm finally done, all errors are gone and installation went smoothly. Nevertheless, I'm missing the Best, |
Hi Steve, Great; I'm glad to hear you passed all of the hurdles of building Sailfish. The last problem should be easy to solve. When you issue a command from your command line in an "unqualified" way (i.e., without giving the full path to the file), linux looks for the command in a set of directories that is specified by the
where Best, |
Hi Rob, this is awesome support here. Thank you so much! Indexing tells me that Sailfish couldn't resolve upgrade information in the alotted time. By the way, can you specify how the Also in the quantification step it tells me that sailfish quant was invoked improperly. Just to make sure how to use the Just assuming that I did it right, it tells me to file a bug report on GitHub:
Best, |
Hi Steve, I'm glad to hear you're able to get things to run now! To address your questions; the size of The fact that it can't find the Regarding the last question, if "knownGene.fasta" is the file you indexed, then you do not have to pass it to quant. The index contains the relevant information about the reference transcripts. During quantification, you pass the index you built and the read files. If you have single end reads, then you pass that in as the "unmated" read file. On the other hand, if you have paired end reads, you pass them to Sailfish as the left and right read files --Rob |
Hi Rob, thanks again for being patient with me. This might be a dumb question but could you check following code?
The line to index would be:
And for quantification it would be:
Is this correct? |
Hi Steve, No worries. I'm glad you got the index issue resolved. So, your indexing command looks OK, though I'd typically suggest giving the index a descriptive name, so something like
Generally, I would not recommend indexing with a k value as small as 9. The default is 31, and should be suitable for reads >= 75bp. I you have 50bp or shorter reads, then I'd probably go with k=23 or k=25. However, there's no real benefit in going shorter than that. For quantification, assuming you used the index location (I.e.
Note that this differs from your command in that I do not provide Best, |
Hi Rob, sorry been busy in lab and couldn't get back to you. Are you by chance familiar with Java threading as well and would let me ask some questions? Best, |
Using Cmake's make command on Sailfish following errors are returned:
/usr/tools/SailfishBeta-0.7.6_Linux-x86-64/bin/sailfish/include/SailfishIndex.hpp:125:66: error: wrong number of template arguments (1, should be 2) quasiIndex64_.reset(new RapMapSAIndex<int64_t>);
Can anyone suggest a way to resolve this?
The text was updated successfully, but these errors were encountered: