Yes, I'm trying to write a simple script to check a couple of parameters before I add new bonds/angles etc (I'm not the most experienced at scripting yet)
I'm assuming you can run individual commands at the command line in lieu of scripting multiple commands at once?
Sam
________________________________
From: Kenneth Huang <khuang8.student.gsu.edu>
Sent: 03 February 2022 19:19
To: AMBER Mailing List <amber.ambermd.org>
Subject: Re: [AMBER] Modifying prmtop/inpcrd files
I'll also tack on that that you can also feed parmed input scripts in the same way you can tleap/cpptraj, ie
cat >pamed.in<<EOF
parm test.prmtop
addDihedral :9.N1 :1.C6 :1.C5 :1.C4 0.0 2.0 1.2
setBond :9.N1 :10.CA 15.0 1.5
parmout newparm.prmtop
go
EOF
parmed -i parmed.in
Which is handy when you have to batch edit things.
Best,
Kenneth
________________________________
From: Sam Walsworth (Researcher) <Sam.Walsworth.hud.ac.uk>
Sent: Thursday, February 3, 2022 1:49 PM
To: AMBER Mailing List <amber.ambermd.org>
Subject: Re: [AMBER] Modifying prmtop/inpcrd files
Yes, that seems to have worked, thank you.
Sam
________________________________
From: David A Case <david.case.rutgers.edu>
Sent: 03 February 2022 17:54
To: AMBER Mailing List <amber.ambermd.org>
Subject: Re: [AMBER] Modifying prmtop/inpcrd files
On Thu, Feb 03, 2022, Sam Walsworth (Researcher) wrote:
> raise PackageNotFoundError(name)
>importlib.metadata.PackageNotFoundError: ParmEd
Most likely, you need to "source $AMBERHOME/amber.sh", which should set up the
proper PYTHONPATH. Put this command in your startup scripts (e.g.
~/.bashrc) if you want it done every time you login.
....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=04%7C01%7CSam.Walsworth%40hud.ac.uk%7C9d0d9d757f204c3ebc4f08d9e74a6df0%7Cb52e9fda06914585bdfc5ccae1ce1890%7C0%7C0%7C637795129565128318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NjpCcMFjlJS8pwttQp3hGPW6jIDXtYf2D9BN3tLhCck%3D&reserved=0
University of Huddersfield inspiring global professionals.
[
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmarketing.hud.ac.uk%2F_HOSTED%2FEmailSig2014%2FEmailSigFooterSeptember2021.jpg&data=04%7C01%7CSam.Walsworth%40hud.ac.uk%7C9d0d9d757f204c3ebc4f08d9e74a6df0%7Cb52e9fda06914585bdfc5ccae1ce1890%7C0%7C0%7C637795129565128318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8pwc1aC4SAQNxfrtg9%2ByvpkEBtkzDoeLsl3Cuy%2FfzJU%3D&reserved=0]
This transmission is confidential and may be legally privileged. If you receive it in error, please notify us immediately by e-mail and remove it from your system. If the content of this e-mail does not relate to the business of the University of Huddersfield, then we do not endorse it and will accept no liability.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=04%7C01%7CSam.Walsworth%40hud.ac.uk%7C9d0d9d757f204c3ebc4f08d9e74a6df0%7Cb52e9fda06914585bdfc5ccae1ce1890%7C0%7C0%7C637795129565128318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NjpCcMFjlJS8pwttQp3hGPW6jIDXtYf2D9BN3tLhCck%3D&reserved=0
CAUTION: This email was sent from someone outside of the university. Do not click links or open attachments unless you recognize the sender and know the content is safe.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=04%7C01%7CSam.Walsworth%40hud.ac.uk%7C9d0d9d757f204c3ebc4f08d9e74a6df0%7Cb52e9fda06914585bdfc5ccae1ce1890%7C0%7C0%7C637795129565128318%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NjpCcMFjlJS8pwttQp3hGPW6jIDXtYf2D9BN3tLhCck%3D&reserved=0
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Feb 03 2022 - 11:30:02 PST