Member Site › Forums › PyRosetta › PyRosetta – General › fragment building
- This topic has 3 replies, 3 voices, and was last updated 9 years, 7 months ago by
Anonymous.
-
AuthorPosts
-
-
August 4, 2015 at 4:01 pm #2242
Anonymous
Hello
I used the Rosetta web site to generate fragments (3, 9) for the purpose of modeling a protein. The protein(template) I want to model was the template used to generate the fragments. However, when I use those fragments generated by the Rosetta server to model by template protein, I got:core.fragments.ConstantLengthFragset: line too short skipping line
I then compare the fragment files generated by Rosetta web site to those used in a tutorial…The format is the same. Of course, the contents are different but everything else appears to be identical.
Can some one help me here? I’m at a loss as to what to attempt next…
Thanks, Steve
-
August 4, 2015 at 6:05 pm #11107
Anonymous
Hey Steve,
All I could find was this: https://www.rosettacommons.org/content/errors-while-running-rosetta-31
I know I had a problem using the fragment picker on Robetta for loop fragments where I had to go in and manually change something due to weird format issues, but I completely forget what that entailed.
-
August 6, 2015 at 3:29 pm #11109
Anonymous
That error message occurs when you’re trying to read in a fragment file, and a line which is less than 22 characters is encountered.
It’s hard to say for certain without seeing the file, but it could be that you have a “blank” like which actually has unprintable characters on it. (One easy way to get that is by having a DOS/Unix line ending mismatch. DOS (Windows) style line endings have an “extra” character when compared to Unix-style ones, so if you read a DOS-style file in Unix-style mode, you can get issues.)
Another reason for the error is comment lines which don’t have the ‘#’ as the very first character on the line. (e.g. don’t indent the comment with spaces).
-
August 6, 2015 at 6:07 pm #11118
Anonymous
Hello
Thanks for your comments…It turns out that when I copied and pasted the fragment texts they were formatted in “dos” instead of “unix” which my linux pyrosetta version requires, and so, once I realized this I just did a dos2unix format change on my fragment filles…This worked fine….Again, thanks for your comments….helped me realize what was wrong….
Steve
-
-
AuthorPosts
- You must be logged in to reply to this topic.