Skip to content

pick_final_models.div.py references Robetta #5

@martinpacesa

Description

@martinpacesa

Hello,

Fantastic work and thank you so much for releasing this to the public! I have encountered several issues with running trRosetta2 on Ubuntu:

  1. some dependencies, like scikit learn had to be installed manually
  2. the DB variable is not passed properly to all SStor_pred scripts, I had to change the paths in the main*.py files from /projects/ml/ manually myself
  3. On a single Nvidia Geforce RTX 2080 Ti I quickly run out of memory when the Tensorflow library is loaded during trRefine. I fixed this by setting the conda environment variable "conda env config vars set TF_FORCE_GPU_ALLOW_GROWTH=true" and limiting the CPUs to 4 for this single step (other steps I use 20 CPUs)
  4. during the DeepAccNet-msa step I get the following error:
    `/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
    /bin/sh: 1: /bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found/home/robetta/rosetta_server_beta/bin/lddt: not found

/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
/bin/sh: 1: /home/robetta/rosetta_server_beta/bin/lddt: not found
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/patchy/anaconda3/envs/casp14-baker/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/patchy/anaconda3/envs/casp14-baker/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/home/patchy/trRosetta2/trRefine/pick_final_models.div.py", line 70, in calc_lddt_dist
lddt_1 = float(os.popen("/home/robetta/rosetta_server_beta/bin/lddt -c %s %s | grep Glob"%(pose_i, pose_j)).readlines()[-1].split()[-1])
IndexError: list index out of range
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/patchy/trRosetta2/trRefine/pick_final_models.div.py", line 113, in
raw_dist = pool.map(calc_lddt_dist, args)
File "/home/patchy/anaconda3/envs/casp14-baker/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/patchy/anaconda3/envs/casp14-baker/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
IndexError: list index out of range`

The problem is that trRosetta2/trRefine/pick_final_models.div.py has the following lines 70-71 referencing to a Robetta function.
lddt_1 = float(os.popen("/home/robetta/rosetta_server_beta/bin/lddt -c %s %s | grep Glob"%(pose_i, pose_j)).readlines()[-1].split()[-1]) lddt_2 = float(os.popen("/home/robetta/rosetta_server_beta/bin/lddt -c %s %s | grep Glob"%(pose_j, pose_i)).readlines()[-1].split()[-1])

Any idea how to circumvent this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions