-
Notifications
You must be signed in to change notification settings - Fork 48
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
Errors in concoct tutorial: issue with script? #180
Comments
Hello @jonoave, I need to know slightly more in order to know exactly what's going on. Did you investigate whether the error message in 1 make sense, namely, do you have the same nr of names in samplenames as the number of .bam files? If you do, can you paste the exact command? For 2 there seems to be some information missing in the error message, can you please paste the full message? |
Hello @alneberg, Thanks for your quick reply. As I said, I was following the tutorial exactly to get a feel for concoct, and everything was ran on the concoct test data. I'm still quite new to this, so I'm not fully familiar with what one would typically expect from the input/output of each step.
I reran the previous step again (Map the read onto the contigs), and I think for each sample the last step with sam-tools are not executed properly?
A similar output for each sample:
|
Aha, this is probably related to the pull request #179. The format of the samtools sort have been changed since the tutorial was created. The pull request will be incorporated as soon as we release a new version of concoct, but I think it would be faster for you to try to edit the script yourself according to the pull request. Please come back regarding problem 2 which I think is caused by something else. |
Hi @alnerberg, Thanks for the reply. For problem2, I've updated the original post with the missing line. |
Hmm, yes for problem 2 it seems to be a more sophisticated problem which I don't think I'm able to solve. I think it's related to the installation of the package libcurl used by pysam or possibly even deeper (versions of OpenSSL) From some googling, this issue seems related: https://stackoverflow.com/questions/40339325/undefined-symbol-ssl-ctx-set-alpn-protos#40351810 But I can't promise it's the exact same issue. Hope you can find help elsewhere for this issue. Johannes |
Hi @alneberg , I've fixed the script markDuplicates.sh for issue 1 and I've also managed to sort out issue 2 (i.e. no error with pysam). But both steps still return the error:
likely due to the missing .bai files. So I reran the previous step of the tutorial "Map the Reads onto the Contigs", with the help menu now for java:
I think this is due to picard having also changed from the way it is described in your tutorial, and there is no more MarkDuplicates.jar but everything is bundled into picard.jar. Do you have a newer version of the script that fixes this issue? Thanks. |
Hello all! I came out with the same problem as described in issue2. It seems to be a problem of an older version of openssl. For what is worth, I managed to solve this issue 2 by upgrading openssl1.0.1 to openssl1.0.2, for example with: I am sorry for not being able to help with issue1, I am currently adapting the test dataset to a single sample. Thanks for the feedback and the comments! |
Sorry for the delay @jonoave. I agree completely with your understanding of the problem, however, this script is only used for this tutorial and therefore it has not been updated in quite some time. The main point with this script is to create .bam files that can be consumed with the input table script. Quite often, I'd say you can use bam files produced by samtools sort directly and skip MarkDuplicates. Hi @JuanmaMedina! Great that you've managed to solve it. Do you know from where the original openssl1.0.1 package was installed? Was it as a direct or indirect dependency for CONCOCT? |
Hi Johannes @alneberg First of all, thanks for this amazing tool! Any suggestions? |
Hi @s4251484, I'm afraid the development of CONCOCT is lagging to say the least. There has been proposed changes to the markduplicate script as you can see here: https://github.com/BinPro/CONCOCT/pull/179/files Hopefully those changes should be easy enough to understand. I haven't tested them yet though. |
Hello,
I installed concoct using anaconda to create a virtual environment, and then using "conda installl concoct". I was going through the concoct tutorial here: https://concoct.readthedocs.io/en/latest/complete_example.html, using the CONCOCT-test-data and encountered 2 errors:
Upon running the steps there, I get this error:
Is this an issue with my installation or changes in the python packages? Thanks!
The text was updated successfully, but these errors were encountered: