Re: [AMBER] AMBER24 error report when running pdb4amber command

From: James Kress via AMBER <amber.ambermd.org>
Date: Thu, 11 Jul 2024 15:00:51 -0400

Is this file in the directory you are using?

IQSEC2_w_free_reduced_nh.pdb

The error message is explicit in that pdb4amber could not find that file.

Jim Kress
James Kress Ph.D., President
The KressWorks® Institute
An IRS Approved 501 (c)(3) Charitable, Nonprofit Corporation
“ENGINEERING THE CURE” ©
(248) 573-5499

Learn More and Donate At:
Website: http://www.kressworks.org

Confidentiality Notice | This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, immediately contact the sender by reply e-mail and destroy all copies of the original message.



-----Original Message-----
From: Michael Shokhen via AMBER <amber.ambermd.org>
Sent: Thursday, July 11, 2024 2:31 PM
To: Li, Zhen <lizhen6.chemistry.msu.edu>
Cc: amber.ambermd.org
Subject: Re: [AMBER] AMBER24 error report when running pdb4amber command


Hi Li,

Thank you for your response.
Following your advise I used --reduce.
Unfortunately, it didn't help.
See below copy from terminal.

Michael

> pwd
/var/spool/scratch/shokhen/US4_Gln391_Gly_Gly_Ser627
> pdb4amber -i IQSEC2_w_free_reduced_nh.pdb -o
> IQSEC2_w_free_reduced.amber.pdb --dry --reduce

==================================================
Summary of pdb4amber for: IQSEC2_w_free_reduced_nh.pdb ===================================================
Traceback (most recent call last):
  File "/var/spool/scratch/shokhen/amber24/bin/pdb4amber", line 33, in <module>
    sys.exit(load_entry_point('pdb4amber==22.0', 'console_scripts', 'pdb4amber')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/pdb4amber/pdb4amber.py", line 819, in main
    run(
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/pdb4amber/pdb4amber.py", line 516, in run
    parm = parmed.read_PDB(pdbin)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/parmed/formats/pdb.py", line 422, in parse
    fileobj = genopen(filename, 'r')
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/parmed/utils/io.py", line 95, in genopen
    return open(name, mode, encoding=DEFAULT_ENCODING)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'IQSEC2_w_free_reduced_nh.pdb'
>
________________________________
From: Li, Zhen <lizhen6.chemistry.msu.edu>
Sent: Thursday, July 11, 2024 8:38 PM
To: Michael Shokhen <michael.shokhen.biu.ac.il>; AMBER Mailing List <amber.ambermd.org>
Subject: Re: AMBER24 error report when running pdb4amber command

You don't often get email from lizhen6.chemistry.msu.edu. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

Hi Michael,



Have you tried --reduce instead of -reduce?



From: Michael Shokhen via AMBER <amber.ambermd.org>
Date: Thursday, July 11, 2024 at 1:33 PM
To: AMBER.ambermd.org <amber.ambermd.org>
Subject: [AMBER] AMBER24 error report when running pdb4amber command

Dear AMBER experts,

I have installed on my server Amber24 and AmberTools24.
All four tests were completed without errors: test.serial, test.parallel, tcsh shell. test.cuda.serial, test.cuda.parallel.
I have on my sever Rocky Linux VERSION="8.10 (Green Obsidian)"; tcsh shell.
Unfortunately, I received an error report when running pdb4amber command. See copy from terminal below.
I need your advice how to resolve the problem.

Thank you,
Michael

/var/spool/scratch/shokhen/US4_Gln391_Gly_Gly_Ser627
> pdb4amber -i US4_Gly_Gly_nh.pdb -o US4_Gly_Gly_reduced.amber.pdb --dry
> –reduce

==================================================
Summary of pdb4amber for: –reduce
===================================================
Traceback (most recent call last):
  File "/var/spool/scratch/shokhen/amber24/bin/pdb4amber", line 33, in <module>
    sys.exit(load_entry_point('pdb4amber==22.0', 'console_scripts', 'pdb4amber')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/pdb4amber/pdb4amber.py", line 819, in main
    run(
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/pdb4amber/pdb4amber.py", line 516, in run
    parm = parmed.read_PDB(pdbin)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/parmed/formats/pdb.py", line 422, in parse
    fileobj = genopen(filename, 'r')
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/spool/scratch/shokhen/amber24/lib/python3.11/site-packages/parmed/utils/io.py", line 95, in genopen
    return open(name, mode, encoding=DEFAULT_ENCODING)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '–reduce'
>

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://urldefense.com/v3/__http://lists.ambermd.org/mailman/listinfo/amber__;!!HXCxUKc!ynSR3Th5ZMZBR-YpxDLepluT_H9EOsnO057Cs9V-ZZuMMLtOJKJ7iO4AZYStj6noR67tuipZvLpf4P1e4So7QUQ$<https://urldefense.com/v3/__http:/lists.ambermd.org/mailman/listinfo/amber__;!!HXCxUKc!ynSR3Th5ZMZBR-YpxDLepluT_H9EOsnO057Cs9V-ZZuMMLtOJKJ7iO4AZYStj6noR67tuipZvLpf4P1e4So7QUQ$>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jul 11 2024 - 12:30:02 PDT
Custom Search