Questions tagged [pymol]

A python-based scripting language to visualise 3-D structures, especially of proteins.

Filter by
Sorted by
Tagged with
3 votes
1 answer
53 views

how to add a custom elements into PyMOL visualization?

I would like to add some 3D elements (balls and lines) to the PyMOL visualization to highlight some "holes" in the structure. Say I fetch 1tqn and I want ...
jhutar's user avatar
  • 165
1 vote
1 answer
77 views

Align two different structures with respect to their active sites or heme cofactor

I have two enzymes, with heme cofactors. but their overall structure is very different. I use Pymol regularly to visualize protein pdb structures. I want to align both structures, but the structures ...
Irfan's user avatar
  • 11
2 votes
1 answer
282 views

calculate the backchain RMSD between two pdb files by pymol in Python

i have two protein pdb files and want to calculate the backchain RMSD between them. As far as I know the GUI of Pymol can use align to calculate the RMSD (but I don't know if it is the backchain RMSD)....
chengyun zhang's user avatar
1 vote
0 answers
66 views

Visualise multiple disappearing pdb files in Pymol

I have a sequence of pdb files which I want to load in pymol window so that it gives an impression of a video. I am using cmd.load function in a loop and deleting the loaded file in the next step. But ...
vipul-chem's user avatar
2 votes
1 answer
572 views

PyMol alignment script

Is there a way write a script in python to use "super" to align proteins from a 2D array? Each row of the array has 2 columns, and for each row, I want to "super" the two proteins (...
Jennifer S.'s user avatar
1 vote
1 answer
94 views

How can I measure the distance between each pair of carbon alphas in overlayed protein structures?

I am trying to make a figure in which the protein structures are colored by the distance between the calphas in the overlayed structures. I am comparing our cryoEM structure to that of a previous ...
Logan's user avatar
  • 11
0 votes
2 answers
665 views

Pymol: select low confidence regions from AlphaFold pdb file

I have downloaded a predicted structure from AlphaFold as a pdb file (https://alphafold.com/entry/O75376) and loaded it into Pymol (2.3.0). There is quite a large portion of the structure that was ...
justinian482's user avatar
2 votes
1 answer
43 views

Running into an error when loading Flexaid on PyMol 3.7

I have attached a screenshot from terminal, which is the result of me attempting to run Flexaid on my Mac. I was wondering if anyone knows why this isn't running? Thanks
microbeprincess's user avatar
1 vote
1 answer
343 views

How can I list all amino acids in a protein using PyMOL?

What is the command in PyMOL for listing all the amino acids in a specific protein, say, 1a62.pdb?
user366312's user avatar
5 votes
2 answers
368 views

How do I build a glycosylated protein from PDB files manually?

I have a large protein PDB file (~3500 residues) and a couple of PDB files containing glycan structures I sourced from GLYCAM. How can I attach the N and O-glycans onto each protein residue with ...
Quantumerical's user avatar
1 vote
1 answer
619 views

Pymol python script for selecting a residue's sidechain and calculating its center of mass

I trying to write a pythonic PyMol script that loads a PDB, cmd.iterates through the PDB and stores the residues (three letter code) into an array. I then want to loop through this array and ...
gwot's user avatar
  • 13
1 vote
1 answer
586 views

How to show electrostatic interactions in Pymol on the wanted residue

I have the following Pymol visual, The green molecule is receptor and red/yellow is the ligand. In the ligand I highlighted Lysine (K) residue as yellow. What I want to do is to highlight and draw ...
littleworth's user avatar
1 vote
1 answer
38 views

How do you search for new enzymes that are more stable for handling, immobilization?

Noob here. I get that I should deduce what characteristics the ideal new enzyme should meet, and then use tools such as PDB and blast to compare to the old enzymes, and use other tools such as pymol, ...
715 715's user avatar
  • 19
2 votes
3 answers
1k views

How to see effect of point mutation in PyMOL?

I am trying to model how a specific point mutation would affect the protein structure. So far, I've figured out how to create the point mutation in PyMOL using the mutagenesis wizard. I'm not sure ...
User52's user avatar
  • 31
0 votes
1 answer
751 views

PyMol: Output Polar Contacts Between Chains to Text File

I am new to PyMOL but have a very specific task that I need to do. I have a PDB structure file of protein homo-oligomer, and I want to use PyMol to determine polar contacts between chain A and all ...
Berk Yalcinkaya's user avatar
0 votes
1 answer
76 views

How to show that one docking is better than another with Pymol visually

I have the following docking results: Dock_1 has better energy score than Dock_2. What I want to do is to show with Pymol that <...
neversaint's user avatar
3 votes
1 answer
627 views

Programmatically adding hydrogen and remove water to multiple PDB files

I'm trying to dock a ligand to several hundred PDB files (receptors). I thus need to prepare the those PDB files like removing water and adding hydrogen. I can do that manually using Autodock or Pymol....
littleworth's user avatar
1 vote
1 answer
179 views

Label and labelbox mismatched in Pymol after ray

I would like to ask how to overcome the problem of mismatched boxes and labels (pic). Is there an option focused on this? thanks Radim
Radim Jaroušek's user avatar
0 votes
1 answer
413 views

rmsd between re-docked complex and co-crystallized complex

I would like to calculate the rmsd between re-docked complex and co-crystallized complex for docking validation. How do I calculate the rmsd using Pymol? I tried the following command ...
rajiks's user avatar
  • 3
1 vote
2 answers
481 views

Loop Pymol command get_area

I want to select multiple residues from different PDB files loaded on the same pymol session. select resi LIG get_area sele How do I loop the above command to ...
shome's user avatar
  • 137
1 vote
1 answer
696 views

Assessing PyMol sequence alignment object

I use cealign in PyMol for structure alignment. Instead of visualization, I want to return the alignment object to my python script for further analysis. Is there a function to return the object ...
Simon's user avatar
  • 195
1 vote
2 answers
888 views

Pymol: color spheres with different colors

Hello I am a Pymol user I want to color all alpha carbons (ca) and beta carbons (cb) from a certain ressidue in different color. How can I do this? I selected the spheres with: ...
Elias's user avatar
  • 11
6 votes
0 answers
303 views

Using dssp after chain extraction

I have a list of PDB IDs with realtive chains IDs that have to be extracted, and then run on dssp. For the single chain extraction I tried several methods, such as: ...
saiden's user avatar
  • 171
1 vote
1 answer
120 views

Selecting part of an extracted ligand

I have the PDB 6LU7. I extracted the ligand using extract lig, org and then the protein using extract prot, poly. The ligand has three parts: 02J, PJE, and 010. I want to select the 02J and 010 ...
user8338's user avatar
1 vote
1 answer
106 views

Multiple input & output files?

I'm trying to print out the measured distances for each .pdbqt file, and then write a new output file for each .pdbqt, using the original name of the .pdbqt file as the new .txt file name. Below is ...
Zoe's user avatar
  • 21
1 vote
1 answer
61 views

Modify how a script prints the output?

I'm trying to print out all measured distances between a ligand and 2 residues (using PyMol), below is the script that I'm using. I only want to measure the distances between all the ligand's O & ...
Zoe's user avatar
  • 21
1 vote
1 answer
387 views

How do I color selective residues on the surface of a protein in pymol?

I am somewhat familiar with the pymol userface, but not very good with commands. I'm working with a pentameric subunit protein and I want to color specific residues on the surface of the protein, not ...
Kayce's user avatar
  • 11
1 vote
1 answer
2k views

Combine structures in the same session - PyMOL

I'm a student currently looking at antibody responses against a viral target protein of interest. I have my own, annotated PyMOL session of my protein and I also have .pdbs of crystallised antibody ...
alekoj's user avatar
  • 11
1 vote
1 answer
130 views

Outputting crunchable list of HBonds from Pymol

X-posted from the Main Stack Overflow because folks here are possibly more familiar with PyMol(?) I have been trying to assess the strength of an interface I want to mutate using Pymol. What I am ...
LauraCZD's user avatar
2 votes
1 answer
87 views

What is PyMOLs search path for scripts?

I know I can run my PyMOL scripts if I specify a valid path from the current working directory and also using absolute paths, but can I have a central script repository, so I don't always need to ...
tifrel's user avatar
  • 121
0 votes
1 answer
733 views

Is there a way to save a full pdb file in PYMOL after uploading biological unit?

pdb code: 2obt The pdb file has a coordinates of a monomer. I have used following commands to generate an assembly, or in other words to upload one more ...
djordje's user avatar
  • 125
0 votes
1 answer
198 views

Use a specific python.exe instance with PyMOL/Windows?

I want to use RDKit with a python script in PyMOL. RDKit requires a conda environment, so I think I need to be able to specify that the instance of python that I want to use would be in that ...
preyingmanti5's user avatar
0 votes
1 answer
411 views

pymol script to only select 5 chains within a distance from a reference and save the selection

I am generating 30 asymmetric units of a protein structure. Now, I want to select different combinations of 5 units which are 30 Angstroms away from the reference and save it as a different file. Here ...
shome's user avatar
  • 137
3 votes
2 answers
951 views

Putting labels of different sizes on one PyMOl Object

I'm new to PyMol (and StackExchange!) and working on my first project. I have the structure of a protein as an object, called PolyA-M, and the idea is that the residues of it are shown as spheres of ...
A. King's user avatar
  • 41
3 votes
2 answers
812 views

PDB file downloading: pymol automation vs. manual

I automated a PDB download using a Pymol script (below) ...
M__'s user avatar
  • 11.9k
2 votes
1 answer
3k views

Get residue position from Pymol Selection

I can make a selection in Pymol using the resi parameter. Is there a way to get this resi data back out of a selection object? The only thing I found so far is how to get the position, as in the x/y/z ...
C. Zeil's user avatar
  • 121
2 votes
1 answer
478 views

Executing PyMOL from a Shell script

I'm trying to execute pymol from a shell script (and it is not working). I'm not executing the script on PyMOL but even if I do this, it doesn't work neither. However, if instead of a script the ...
user avatar
1 vote
1 answer
9k views

How to colour multiple residues in Pymol?

We can use color yellow, resi 3 color yellow, resi 3-8 to colour one residue or a range of residues. But what if I want to colour residue 3-8 and 10-20, how to ...
lanselibai's user avatar