Code Monkey home page Code Monkey logo

ramachandran_plotter's People

Contributors

joseph-ellaway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alexandre83

ramachandran_plotter's Issues

Program should run independently of Phenix

Currently, the Ramachandran plotter program requires the installation of the Phenix Suite in order to generate dihedral angles of the user's given protein. This is being changed to remove the reliance on the Phenix Suite (regardless of its power and standalone utility) to instead use the Python module Biopython. This will enable more widespread use of the plotting algorithm.

Tex/Latex is a requirement

Describe the bug
The plot is not drawn because latex could not be found.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Google Colab
  2. install dependencies:
    !pip install numpy pandas matplotlib scipy biopython matplotlib argparse opencv-python
  3. fetch a .pdb file:
    !wget https://files.rcsb.org/download/6GVE.pdb
  4. Install Ramachandran_Plotter:
    !git clone https://github.com/Joseph-Ellaway/Ramachandran_Plotter.git
  5. Change directory:
    %cd Ramachandran_Plotter and move 6GVE.pdb into the directory.
  6. Run program:
    !python RamachandranPlotter.py --pdb 6GVE.pdb --plot_type 0
  7. See error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/matplotlib/texmanager.py", line 306, in _run_checked_subprocess
    stderr=subprocess.STDOUT)
  File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.7/subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.7/subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'latex': 'latex'

Expected behavior
The plot should be drawn.

Desktop (please complete the following information):

  • OS: Mac 10.14
  • Browser [chrome]

Additional context
I assume that Latex is used to draw the phi and psi symbols. It may be more universal to use the ASCI codes ( u03A6, u03A8).

Implement logging for debug and increased verbosity

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.