Skip to content

LBT-CNRS/PymolToUnityMol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PymolToUnityMol

Convert pymol session file (.pse) to UnityMol commands

Requirements

  • Python 2.x
  • Pymol python library

How to run

$ python2 pymolToUMol.py -f myPymolSession.pse -o myUMolSession.py

Then import the myUMolSession.py file in UnityMol.

You should see the same representations (if they exist in UnityMol) with the same coloring, and all the selections done in Pymol.

Limitations

  • For now, this only works for files fetched from the PDB.

Tests

A few tests have been written in the 'tests' folder with pytest. You can launch them with this command:

$ python2 -m pytest

Contribute

Pull requests are more than welcome !

License

License

Result

alt tag

alt tag

About

Convert pymol session file to UnityMol commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages