-
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
Failure to verify protein reference sets (extraction) #15
Comments
Dear @Kailin-Sun , Looking at your logs I can only think that this computer does not have enough resources. I have never tried running Captus in a maching with less than 8GB of RAM and less than 4 cores. Have you tried in a different computer? I hope this helps, Edgardo |
Thank you very much for the fast response! Unfortunately, the log I sent was just an additional attempt from a native Linux machine with browser access. I get the same error on the much more powerful computer I actually use for the analysis (8 GB RAM, 8 real and 8 virtual cores). |
Dear @Kailin-Sun , I found the source of the error, you are running into RAM limitations. I set for protein extraction, a minimum of 7.5GB of RAM, and a minimum of 2Gb for DNA extraction. This means that even your computer with 8GB of RAM is very close to the limit, and perhaps because other programs are also taking RAM, Captus detects that there is less than 7.5GB of RAM available. However, Captus should still attempt to extract the proteins if the RAM is less than 7.5GB, albeit reducing concurrency and threads per task to 1. This led me to find a bug in my code, the fix will be included in the next version together with other changes. In the meantime you could fix the issue by modifying line 814 of the file extract.py, from:
to:
I also have uploaded the new Edgardo |
Dear Edgardo, Thank you for the bug fix! I ended up running Scipio on a different computer in the end (before you posted the update), which indeed worked because that computer had 16 GB RAM. Next time I need to run Captus from my current laptop I will use the new code. I also wanted to say thank you for developing Captus. It's working a lot better than other programmes I've tried! Best wishes, Kailin |
Dear Edgardo,
Thank you very much for all your work on Captus!
I am currently trying to extract Angiosperms353 genes from my Captus-assembled dataset.
I am using the command
to extract genes; however, when verifying protein reference sets, a "value error" occurs:
This is independent of the reference file used (Angiosperms353, Mega353 or my own reference file, whether as nucleotide or amino acid sequence).
I am using Captus v1.0.1 within a minic
onda environment under Ubuntu 22.04 (tried both native linux and from Windows using WSL).
The log file is attached.
captus-assembly_extract.log
The text was updated successfully, but these errors were encountered: