Giter VIP home page Giter VIP logo

Comments (1)

harryjubb avatar harryjubb commented on August 18, 2024

Hi,

So I compared my .pml file with the .pse file I got from the web server, and they're slightly different.

Can you describe the differences? If you can diff the .pmls that would be helpful. Were there any differences in the output files? Has it impacted on any interaction calculations?

I would like to know how can you produce the same results that you get from the web server using command line?

The web server does some PDB sanitisation to avoid some common failure cases. The functionality in the clean_pdb.py script in https://github.com/harryjubb/pdbtools is used for this, the exact implementation differs though as it was originally part of the web server before being factored out. I've added a section to the FAQ to reflect this.

The command line version has has minor updates since the release of the web server. This may account for some differences. If choosing between the web server and command line output, I recommend the command line as it has been recently updated.

What are the designated options for arpeggio.py when running on the web server?

The web server is run in the same fashion as your examples, with the -wh option and an optional selection.

How do you produce .pse file with command line?

Run the .pml file in PyMOL in batch mode with the -cq options, and appends commands to the .pml script (or run them after the script) to generate the .pse file. For example, to append to the .pml script to generate a PNG image and a .pse session:

with open(pml_script_path, 'a') as fo:
        fo.write('\n')
        fo.write('hide dashes, undefined-proximal\norient binding_site\npng {}, dpi=72, ray=1\nshow dashes, undefined-proximal\norient\nsave {}\nquit\n'.format(image_path, pse_path))

Let me know if those answer your questions.

from arpeggio.

Related Issues (20)

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.