-
Notifications
You must be signed in to change notification settings - Fork 46
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
System builder for 100 chains - comment line too long for grompp #533
Comments
@kesavanekambaram what version of martinize2 are you running? (use |
I am using martinize with vermouth 0.9.1 in my ubuntu system. |
@pckroon this feels like a bug we've seen before that should be fixed already. However, I cannot remember. |
My first guess is that it's a Windows/Unix line-ending thing. @kesavanekambaram Did you generate the top/itp on Windows, and are you running grompp on linux? Some text editors (such as vim) will show the windows line endings as |
@pckroon I have built the system from c-alpha to all-atom using PULCHRA in Ubuntu. No use of windows for my study. |
@pckroon I think this rules out end-of-line characters. I'd argue it has to do with the fact that the command/comment line on top of the itp file is too long. @kesavanekambaram could you post the first 100 lines of the generated itp file? |
@pckroon @fgrunewald Please find the 100 lines of the generated itp file
|
Oh that's not good indeed. |
Yep I think that's the reason right there. The secondary structure string is too long for the grompp file reading buffer. In order for you to proceed you can simply delete these comments: |
Just deleting the one line will do it. |
@pckroon agreed! This should be in the writer itself. We just have to think of what the max line length should be |
@pckroon @fgrunewald Thank you for your help. It's working fine now. |
Any reason for it to not be 80? |
nope |
Hi,
I am trying to coarse-grain a protein with 100 chains with each chain having 140 residues using martinize2 but I got an error during the grompp minimization step stating
Fatal error:
An input file contains a line longer than 4095 characters, while the buffer
passed to fgets2 has size 4095. The line starts with: '; CCCCCCCSSSCSSCSCSS'
the martinize2 has built all the 100 chains in a single file rather than separate files. I tried with -sep also it still dint build the files separately. The system was built correctly while using martini2.
the command I used
; /home/srinivasan/.local/bin/martinize2 -f output_unwrapped_ter.pdb -o single-ubq.top -x 1UBQ-CG.pdb -dssp /usr/bin/dssp -p backbone -ff martini3001 -sep
Could anyone help me out in solving this error?
Thank you
with regards
Srinivasan
The text was updated successfully, but these errors were encountered: