kalininalab / d-structman Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v2.1
License: GNU Lesser General Public License v2.1
Hello,
I'm trying to run d-Structman on a compute server. The installation via Docker goes through without any problems, but I get the following error on startup:
$ docker exec -it test structman -i structman/input_data/10_proteins_few_hits.smlf
Using structman_data from : /usr/structman_library/sources/structman/lib
Using 79 core(s), verbosity level: 1
Using following config file: /structman/resources/config.txt
Processing file: /structman/input_data/10_proteins_few_hits.smlf
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/structman/lib/database/database.py", line 930, in getSessionId
cursor.execute(sql)
AttributeError: 'NoneType' object has no attribute 'execute'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/structman", line 8, in <module>
sys.exit(structman_cli())
File "/usr/local/lib/python3.8/dist-packages/structman/structman_main.py", line 1155, in structman_cli
main(infiles, outfolder, config)
File "/usr/local/lib/python3.8/dist-packages/structman/structman_main.py", line 490, in main
session_id = database.getSessionId(infile, config)
File "/usr/local/lib/python3.8/dist-packages/structman/lib/database/database.py", line 934, in getSessionId
raise NameError("Error in getSessionId: %s" % sql)
NameError: Error in getSessionId: SELECT Session_Id FROM Session WHERE Input_File = '/structman/input_data/10_proteins_few_hits.smlf' AND Checksum = 982454239;
Also, I tried to perform a simple run as suggested in the tutorial, but got an error as well:
$ sudo docker exec -it test structman -i Q9Q288
Using structman_data from : /usr/structman_library/sources/structman/lib
Using 79 core(s), verbosity level: 1
Using following config file: /structman/resources/config.txt
Traceback (most recent call last):
File "/usr/local/bin/structman", line 8, in <module>
sys.exit(structman_cli())
File "/usr/local/lib/python3.8/dist-packages/structman/structman_main.py", line 1155, in structman_cli
main(infiles, outfolder, config)
File "/usr/local/lib/python3.8/dist-packages/structman/structman_main.py", line 506, in main
if session_id is None:
UnboundLocalError: local variable 'session_id' referenced before assignment
I checked the container logs (docker-compose.logs) and found the following error (lines 137 and 274):
test | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I guess the error is caused by incorrect work of mysql-server and I tried to fix it using the suggested solutions (https://stackoverflow.com/questions/11657829/error-2002-hy000-cant-connect-to-local-mysql-server-through-socket-var-run), but it didn't help. I also tried to perform an installation using a Singularity container, but found the same problem.
Specification of my machine:
Operating System: Rocky Linux 8.5 (Green Obsidian)
Kernel: Linux 4.18.0-348.12.2.el8_5.x86_64
Architecture: x86-64
Docker version 20.10.12, build e91ed57
Do you know what the problem could be? Could you help me with that?
When I was running alphafold2 for protein structure prediction, it was running perfectly fine for smaller number of amino acids. In case of larger amino acids protein such as 700 long AA, its throwing error :
Command:
python3 docker/run_docker.py --fasta_paths=docker/BCR_ABL.fasta --max_template_date=2020-05-14
Error:
I1030 14:11:24.108233 140521650726720 run_docker.py:195] "Cannot create a tensor proto whose content is larger than 2GB.")
I1030 14:11:24.108459 140521650726720 run_docker.py:195] ValueError: Cannot create a tensor proto whose content is larger than 2GB.
Please guide to resolve this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.