I am trying to compile a c++ version of Rosetta into a python version in my ubuntu system(Ubuntu 5.4.0-6ubuntu1~16.04.12) recently, because I modified some c++ files in C++ Rosetta to add a fragment library which has fragments with a variable length (And it can compile successfully in c++ version of Rosetta).
Acually, I tried the method in https://github.com/RosettaCommons/PyRosetta.notebooks/blob/master/notebooks/04.02-Low-Res-Scoring-and-Fragments.ipynb, but it still needs a fixed length in a fragment file.
And in fact, my fragment file is like this(Please have a look to the example picture of my fragment file in attachment), you can see that the length in my fragment file is variable, and its length is between 7 mer to 15mer(PS: Some positions may not have fragments of a certain length, like: in position 1, maybe there is no 10mer fragments, but it contains 7,8,9,11,12,13,14,15mer fragments).
In addition, I also tried :
python build.py -j24 --create-package $HOME/my_pyrosetta_package --type Release --python-include-dir=/opt/anaconda/anaconda3/include/python3.7m --python-lib=/opt/anaconda/anaconda3/lib/libpython3.7m.dylib --serialization
But I have a git error now, please have a look to the error picture in attachment. Acutally, I searched methods on website to fix it, but those methods are too complicated and I don't which one I can choose to fix this bug here. Can you do me a favor on my problem here. I don't know why it is related with git and still don't know how to fix it here.
Really hope you have some time to help me and teach me how to fix this. Thank you so much!
|length example in my fragment file||97.89 KB|
|git error when I complied c++ rosetta to pyrosetta||90.13 KB|