Coder Social home page Coder Social logo

a error about antecamber about yank HOT 5 OPEN

kingljy0818 avatar kingljy0818 commented on August 15, 2024
a error about antecamber

from yank.

Comments (5)

jslim-furame avatar jslim-furame commented on August 15, 2024

Total number of electrons: 241; net charge: 0
INFO: Number of electrons is odd: 241

The error occurs because the number of electrons is odd. Please check the charge of your ligand or the protonation states. Run the antechamber in your local computer and verify what is the problem. Consider adding hydrogens using Chimera or other well-known tools like Maestro. If the charge is wrong, specify "-nc" flag in your YANK yaml file.

from yank.

kingljy0818 avatar kingljy0818 commented on August 15, 2024

Thank you for your response. I have checked the charge of the ligand with a positive charge, and added the netcharge = 1 in my YANK yaml file, but I got another error in the following:

Traceback (most recent call last):
File "/home/anaconda3/bin/yank", line 10, in
sys.exit(main())
File "/home/anaconda3/lib/python3.7/site-packages/yank/cli.py", line 73, in main
dispatched = getattr(commands, command).dispatch(command_args)
File "/home/anaconda3/lib/python3.7/site-packages/yank/commands/script.py", line 147, in dispatch
yaml_builder = ExperimentBuilder(script=yaml_path, job_id=job_id, n_jobs=n_jobs)
File "/home/anaconda3/lib/python3.7/site-packages/yank/experiment.py", line 591, in init
self.parse(script)
File "/home/anaconda3/lib/python3.7/site-packages/yank/experiment.py", line 646, in parse
yaml_content = yaml.load(f, Loader=YankLoader)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/init.py", line 114, in load
return loader.get_single_data()
File "/home/anaconda3/lib/python3.7/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/home/anaconda3/lib/python3.7/site-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/home/anaconda3/lib/python3.7/site-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/home/anaconda3/lib/python3.7/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File "/home/anaconda3/lib/python3.7/site-packages/yaml/scanner.py", line 115, in check_token
while self.need_more_tokens():
File "/home/anaconda3/lib/python3.7/site-packages/yaml/scanner.py", line 152, in need_more_tokens
self.stale_possible_simple_keys()
File "/home/anaconda3/lib/python3.7/site-packages/yaml/scanner.py", line 292, in stale_possible_simple_keys
"could not find expected ':'", self.get_mark())
yaml.scanner.ScannerError: while scanning a simple key
in "PQ1_P1-3pp0b-explicit.yaml", line 25, column 7
could not find expected ':'
in "PQ1_P1-3pp0b-explicit.yaml", line 27, column 1


I still need your help to solve this problem, many thanks.

from yank.

andrrizzi avatar andrrizzi commented on August 15, 2024

Hi @kingljy0818. This looks like a simple YAML syntax error in your script. Some extra : character somewhere?

from yank.

jslim-furame avatar jslim-furame commented on August 15, 2024

from yank.

kingljy0818 avatar kingljy0818 commented on August 15, 2024

Simply, bcc -nc 1 Its syntax follows antechamber. 2022년 9월 8일 (목) 21:02, kingljy0818 @.>님이 작성:

Thank you for your response. I have checked the charge of the ligand with a positive charge, would ask you how to specify the '-nc' flag in my YANK yaml file? — Reply to this email directly, view it on GitHub <#1289 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKXZQ6SHMDMUSM3Q662D7W3V5HIVJANCNFSM6AAAAAAQHKKXBA . You are receiving this because you commented.Message ID: @.
>

Thank you so much. The error was solved as followed your suggestion.

from yank.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.