Error score_scatter_plot.py

Member Site Forums Rosetta 3 Rosetta 3 – General Error score_scatter_plot.py

Viewing 1 reply thread
  • Author
    Posts
    • #2356
      Anonymous

        Hi guys,

        I’m using a tutorial for analysis my results of abinitio, in the step for “identify the best socring models” using this script  “~/rosetta_workshop/Rosetta/main/source/bin/combine_silent.default.linuxgccrelease -database ~/rosetta_workshop/Rosetta/main/database/ -in:file:silent 2LZM_0*.out -in:file:silent_struct_type binary -in:file:fullatom -out:output -out:file:silent 2LZM_all_models_silent.out -out:file:silent_struct_type binary -out:file:fullatom

        I has this error

        Traceback (most recent call last):

          File “/home/jrcf/rosetta/tools/protein_tools/scripts/score_scatter_plot.py”, line 3, in <module>

            from rosettautil.rosetta import rosettaScore

        ImportError: No module named rosettautil.rosetta

         

        Using the command line of python i found this.

        >>> from optparse import OptionParser                                           

        >>> from rosettautil.rosetta import rosettaScore

        Traceback (most recent call last):

          File “<stdin>”, line 1, in <module>

        ImportError: No module named rosettautil.rosetta

        >>> from rosettautil.rosetta import rosettaScore

        Traceback (most recent call last):

          File “<stdin>”, line 1, in <module>

        ImportError: No module named rosettautil.rosetta

        >>> from rosettautil.util import fileutil

        Traceback (most recent call last):

          File “<stdin>”, line 1, in <module>

        ImportError: No module named rosettautil.util

         

        What could be this error?

        thanks

      • #11388
        Anonymous

          Some of the scripts in the Rosetta tools directory use Python modules in the tools directory. Python may need to be told where to find them, via the PYTHONPATH mechanism.

          You’ll need to add the absolute path of the Rosetta/tools/protein_tools/ directory to your PYTHONPATH environment variable. How to do this is shell dependent, but for bash it would looks something like:

          export PYTHONPATH=$PYTHONPATH:/home/jrcf/Rosetta/tools/protein_tools/

          You’ll need to do this once for each terminal session in which you use the scripts. Alternatively, you can add it to your .bashrc (or equivalent for your current shell), and it will be automatically loaded for you.

        • #11435
          Anonymous

            Thanks RMORETTI

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.