Difference between revisions of "MSL Programs:getSelection"

From MSL-Libraries
Jump to navigationJump to search
(Created page with '==getSelection== A simple program to take a protein structure file and execute MSL selections (very similar in structure to PyMOL selections). ==Options== --pdb Protein…')
 
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
==Options==
 
==Options==
--pdb        Protein structure file
+
--pdb        Protein structure file  
--resSel      Use ResidueSelection object, properties of Residue objects (resi,resn,chain)
+
--resSel      Use ResidueSelection object, properties of Residue objects (resi,resn,chain)
--atomSel    Use AtomSelection object, properties of Atom objects (name,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
+
--outPdb      Output matched selection in form of a pdb structure file
--sequence    Output matched selection in form of 1 letter Amino Acid code string  
+
--sequence    Output matched selection in form of 1 letter Amino Acid code string
  
 
==Examples==
 
==Examples==
  
MSL_Programs:GetSelection
+
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==
 +
 
 +
[http://mslib.svn.sourceforge.net/viewvc/mslib/trunk/programs/getSelection.h?&view=markup getSelection.h]
 +
 
 +
[http://mslib.svn.sourceforge.net/viewvc/mslib/trunk/programs/getSelection.cpp?&view=markup getSelection.cpp]
 +
 
 +
----
 +
 
 +
[[Documentation|Documentation index]]

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