Difference between revisions of "MSL Programs:getSelection"

From MSL-Libraries
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
==Examples==
 
==Examples==
  
 +
getSelection --pdb 1ENV.pdb --atomSel "chain A and name CA"
 +
getSelection --pdb 1ENV.pdb --atomSel "(chain A and (resi 4-16 and name CA))"
  
 
==Source from SourceForge==
 
==Source from SourceForge==

Latest revision as of 04:55, 26 February 2010

getSelection

A simple program to take a protein structure file and execute MSL selections (very similar in structure to PyMOL selections).

Options

--pdb         Protein structure file 
--resSel      Use ResidueSelection object, properties of Residue objects (resi,resn,chain)
--atomSel     Use AtomSelection object, properties of Atom objects (name,resi,resn,chain)
--outPdb      Output matched selection in form of a pdb structure file
--sequence    Output matched selection in form of 1 letter Amino Acid code string

Examples

getSelection --pdb 1ENV.pdb --atomSel "chain A and name CA" 
getSelection --pdb 1ENV.pdb --atomSel "(chain A and (resi 4-16 and name CA))"

Source from SourceForge

getSelection.h

getSelection.cpp


Documentation index