-
Notifications
You must be signed in to change notification settings - Fork 61
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
xyzedit command line arguments #109
Comments
Hello,
Tinker takes standard input, so you can make use of pipe. For example, echo
-e "22\nsecond.xyz\n22\nthird.xyz\n\n" | xyzedit first.xyz
…On Thu, May 26, 2022 at 3:10 AM eneas77 ***@***.***> wrote:
Hi,
I´d like to concatenate a large list of protein+ligand xyz files and it is
not intuitive from the Tinker manual how to run in a single line of code
from command line with xyzedit.
Any hints of how to use option 22 together with 2.xyz and 2.key files
invoking xyzedit with appropiate arguments?
Something like xyzedit first.xyz 22 second.xyz
Thanks a lot
E77
—
Reply to this email directly, view it on GitHub
<#109>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABW6OEZ523OI6CFLMLB4SI3VL4WXLANCNFSM5XADYJXA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Zhifeng (Francis) Jing
|
I think what you may be asking (?) is simply how to get the XYZEDIT program to exit after you run:
If you just enter that command in a terminal, then the program will be waiting for you to enter the next XYZEDIT option that you want to apply. A way to get it to exit when running from the command line is to enter "0" for the next option. This allows the program to drop through and quit. So you should use something like:
Then the program will exit correctly, and the merged and renumbered coordinates will be written to the file "first.xyz_2". |
Thanks a lot, it worked!! E77 |
Hi,
I´d like to concatenate a large list of protein+ligand xyz files and it is not intuitive from the Tinker manual how to run in a single line of code from command line with xyzedit.
Any hints of how to use option 22 together with 2.xyz and 2.key files invoking xyzedit with appropiate arguments?
Something like xyzedit first.xyz 22 second.xyz
Thanks a lot
E77
The text was updated successfully, but these errors were encountered: