Difference between revisions of "MSL Programs:getSelection"
From MSL-Libraries
Jump to navigationJump to search (→Options) |
|||
(3 intermediate revisions by 2 users 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== | ||
+ | |||
+ | [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))"