pymol script to only select 5 chains within a distance from a reference and save the selection
Entering edit mode
2.8 years ago
shome • 0

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 is the command I could work out till now :

fetch 3q2v
symexp sym,3q2v,(3q2v),30
select chains, bychain all within 30 of 3q2v

How to loop in and select only 5 chains at a time obtained from the setup obtained by the above code, and save it in separate files?

pymol visualisation python pymol scripting • 485 views

Login before adding your answer.

Traffic: 1382 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6