-
Notifications
You must be signed in to change notification settings - Fork 5
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
bayesembler running errors #3
Comments
Dear Mencent Thanks for posting. With regards to your first issue, it sounds like the pre-compiled version of Samtools that is bundled with the binary is not compatible with the version of linux you are running. What version are you running? As for the second issue I can’t off the top of my head see how this assertion could be called. The assertion is called when the program parses the output from the program which we currently use to build the splice-graphs (CEM). Would it be possible for you to provide the command-line you used to run the Bayesembler together with the output from CEM? You can find the latter by looking for the files with the extension .instance in the directory were you ran the Bayesembler. Moreover from the assertion it looks like you are running on unstranded data. If this is the case you should know that we are working on a new version which is gonna handle unstranded data in a more sensitive manner. We are planning on releasing this version in the coming weeks. Best wishes, Jonas |
Hi, I had a similar problem. bayesembler -p 30 -b accepted_hits.bam This is the complete output but I could not find any file with the ".instance" extension: You are using the Bayesembler v1.1.1. For more information go to bayesembler.binf.ku.dk [06/05/2015 11:21:06] Removing duplicate reads [06/05/2015 12:16:14] Spawning graph construction thread |
Hi, Thank you for posting. It sounds like an issue with samtools. Ensure that you have a working installation of samtools and try
Please let me know if this does not fix your problem. /Lasse |
Hello Lasse, This time I got a different error: You are using the Bayesembler v1.1.1. For more information go to bayesembler.binf.ku.dk [07/05/2015 12:17:12] Removing duplicate reads But I am not sure why I got a permission problem if the samtools folder has been created and installed by my user (with no root privileges). |
Hi nat2bee, I think that you lack executable permission to samtools. As indexing the deduplicated bamfile generated by the bayesembler is the first call to samtools, any issues related to samtools availability should arise at this stage as it does in your last post. However, this implies that my last post was likely a bit rushed as setting the samtools env var likely wont fix you original problem, which occurs in relation to the second samtools call that translates the deduped bam to sam format (as required by the splice-graph assembler program CEM). So maybe just do
to get us back to the previous problem. Im not exactly sure what is then causing the problem, but it maybe related to the truncated file warnings. Try to convert the dedup temporary bam file generated by the bayesembler to sam format (please use the samtools 0.1.19 binary shipped with the bayesembler binary)
and your original bamfile
and let us know how it goes. If that call crashes on any of your files, maybe also try a long shot by downloading the most recent version of samtools and give that a go. Alternatively, you can make the bam file (or a sample of it) available to us and we can try to reproduce/resolve the issue on our system. /Lasse |
Hi lassemaretty, I'm getting a similar error. I downloaded the static binaries and when I run bayesembler I get the following error message:
So I tried the export path command you suggested and I get the following error message.
I also tried directly replacing the samtools executable in the dependencies folder with a soft link to the executable and I get the same error message about permission. I have the permission to execute so I'm a little confused what the error message means?
Tom |
Hi Tom, Thank you for posting. Im sorry about your troubles. Try to append
Let me know if this doesn't fix problem. /Lasse |
Hi Lasse, Thanks for the quick reply. I tried appending
So I appended Is there any way to get Bayesembler to use the correct samtools and cem without creating these global variables as I'd like to run jobs on our cluster without having to create the global variables beforehand. How are samtools and cem called by Bayesembler? Tom |
Recently, we use bayesembler to assemble transcriptome. We found 2 errors.
First, the samtools in dependencies folder can not work well, but rebuild samtools can work well.
Second
bayesembler: /seqdata/krogh/jola/projects/transcriptome_assembly/code/release/bayesembler_1_1_1_pub_release/src/assembler.cpp:894: void Assembler::graphConstructorCallback(std::string, std::list, std::string, boost::mutex, int_, int_): Assertion `current_ref_strand == "."' failed.
The text was updated successfully, but these errors were encountered: