Joining Multiple ITP files #274
-
I want to connect 4 separate itp files into 1. I used the following command: polyply gen_seq -f C12.itp VVKK.itp OEG_4.itp ../Z33/Z33_mar3.itp -from_file c:C12 v:VVKK o:O4 z:Z33 -seq c v o z -connects 0:1:0-0 1:2:3-0 2:3:3-0 -o seq.json -name test -label 0:"from_itp":"C12-1" polyply gen_itp -f C12.itp VVKK.itp OEG_4.itp ../Z33/Z33_mar3.itp link.ff -o Z33_O4 -seqf seq.json -name Z33_O4 It gave the errors:
Below is the VVKK.itp and the link.ff
Could you please help with this? Any help would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @l454025801, Happy to help as you're almost there. As you want to connect 4 itp-files all of the residues in the residue graph need to have the "from_itp" label with the value set to that of the molecule name. So your command for making the graph should be more like this:
Please note that in the last line of this command I simply guessed your molecule names. You may have to adjust those. Finally in case you haven't done it you will need to install the version from GitHub not pypi in order to avoid one bug that only recently has been fixed. Also be aware that in your link file the indices seem strange. Note that I hope this helps! Please let me know if there are any other issues. If you want a "clean example" have a look at the commands below:
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much! It works alright now! |
Beta Was this translation helpful? Give feedback.
-
Good to hear! I will convert this issue to a discussion so that other people can see it as well. But feel free to still comment here when you have any other problems related to this |
Beta Was this translation helpful? Give feedback.
Hi @l454025801,
Happy to help as you're almost there. As you want to connect 4 itp-files all of the residues in the residue graph need to have the "from_itp" label with the value set to that of the molecule name. So your command for making the graph should be more like this:
Please note that in the last line of this command I simply guessed your molecule names. You may have to adjust those. Finally in case you haven't done it y…