how to cut off side chain from a model
Hi, I am refining a low resolution data (4.7A). I want to cut off all side chains from my model because they cannot be seen from the density. Phenix pdbtools can only keep the backbone, but cannot keep the Cbeta atom. What program I can use to cut off all the side chain, but keep the Cbeta atoms? Thanks!
--- pdbset xyzin foo.pdb xyzout foofoo.pdb << eof PICK N O CA C CB eof --- should do it On Fri, 2011-02-11 at 18:03 -0500, crystallogrphy wrote:
Hi, I am refining a low resolution data (4.7A). I want to cut off all side chains from my model because they cannot be seen from the density. Phenix pdbtools can only keep the backbone, but cannot keep the Cbeta atom. What program I can use to cut off all the side chain, but keep the Cbeta atoms?
Thanks! _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
-- Edwin Pozharski, PhD, Assistant Professor University of Maryland, Baltimore ---------------------------------------------- When the Way is forgotten duty and justice appear; Then knowledge and wisdom are born along with hypocrisy. When harmonious relationships dissolve then respect and devotion arise; When a nation falls to chaos then loyalty and patriotism are born. ------------------------------ / Lao Tse /
You can also use pdbtools to keep any specific selection that you
like. In your case, you can run:
phenix.pdbtools keep="backbone or name CB" model.pdb
That should do the trick.
Thanks,
Jeff
On Fri, Feb 11, 2011 at 3:03 PM, crystallogrphy
Hi, I am refining a low resolution data (4.7A). I want to cut off all side chains from my model because they cannot be seen from the density. Phenix pdbtools can only keep the backbone, but cannot keep the Cbeta atom. What program I can use to cut off all the side chain, but keep the Cbeta atoms?
Thanks!
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
I dont wanna advertise too much non phenix programs, but in principle chainsaw(CCP4 supported) should do what you want and trim your model to C- beta. Regards Christian Am Samstag 12 Februar 2011 00:03:32 schrieb crystallogrphy:
Hi, I am refining a low resolution data (4.7A). I want to cut off all side chains from my model because they cannot be seen from the density. Phenix pdbtools can only keep the backbone, but cannot keep the Cbeta atom. What program I can use to cut off all the side chain, but keep the Cbeta atoms?
Thanks!
Note that original request was sent to both phenix and ccp4 bulletin boards. And I think most reasonable people have agreed in the past that advertising phenix on ccp4bb is OK (at the least on the freedom of speech grounds :) So I guess the reverse must also be true Cheers, Ed On Mon, 2011-02-14 at 13:02 +0100, Christian Roth wrote:
I dont wanna advertise too much non phenix programs, but in principle chainsaw(CCP4 supported) should do what you want and trim your model to C- beta.
Regards Christian
Am Samstag 12 Februar 2011 00:03:32 schrieb crystallogrphy:
Hi, I am refining a low resolution data (4.7A). I want to cut off all side chains from my model because they cannot be seen from the density. Phenix pdbtools can only keep the backbone, but cannot keep the Cbeta atom. What program I can use to cut off all the side chain, but keep the Cbeta atoms?
Thanks!
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
-- "I'd jump in myself, if I weren't so good at whistling." Julian, King of Lemurs
On Mon, Feb 14, 2011 at 7:48 AM, Ed Pozharski
Note that original request was sent to both phenix and ccp4 bulletin boards. And I think most reasonable people have agreed in the past that advertising phenix on ccp4bb is OK (at the least on the freedom of speech grounds :) So I guess the reverse must also be true
Yes, none of us here actually mind this - it was a legitimate answer. Occasionally this also provides useful insight into what features Phenix is lacking, or aren't intuitive enough (although, in this case, I still find phenix.pdbtools easier to use). -Nat
Hi, as Jeff pointed out last week, using phenix.pdbtools you can be very selective in what you keep/remove. Just a few examples: - remove all waters: phenix.pdbtools model.pdb remove=water - remove all waters and DNA/RNA: phenix.pdbtools model.pdb remove="water or dna or rna" - remove all protein sidechains: phenix.pdbtools model.pdb remove="protein and sidechain" or equivalently: phenix.pdbtools model.pdb keep="all and not (protein and sidechain)" - keep only oxygens: phenix.pdbtools model.pdb keep="element O" - keep only nitrogens in protein sidechains: phenix.pdbtools model.pdb keep="protein and sidechain and element N" - keep only backbone in chain A and in chain C: phenix.pdbtools model.pdb keep="(chain A and backbone) or (chain C and backbone)" - remove residues in chain A from number 3 to 25: phenix.pdbtools model.pdb remove="chain A and resseq 3:25" ... and so on. To get more familiar with atom selection syntax you can practice by running the command phenix.pdb_atom_selection model.pdb ATOM_SELECTION_STRING for example: phenix.pdb_atom_selection model.pdb "chain A and resseq 1:100" which will output the selected atoms to the screen. Some examples of atom selection syntax can be found here: http://phenix-online.org/documentation/refinement.htm#anch88 Pavel.
This seems very flexible and general indeed, but for the specific job of making an MR model, it could be very tedious to code which atoms to keep for which residues, where to delete, and how to renumber. Chainsaw does all of that for you. With the "keep atoms in common", it deletes all atoms that don't exist in the target structure- for example if the real protein has a glycine, it doesn't make much sense to trim the model to alanine. On the other hand if the protein has asp and the model glu, you might want to keep Cg as well. And based on the alignment you give it, which is the only input other than the model pdb, it will decide where to delete residues and renumber to the target sequence taking into account gaps and inserts. Which you can control by editing the alignment. Pavel Afonine wrote:
Hi,
as Jeff pointed out last week, using phenix.pdbtools you can be very selective in what you keep/remove. Just a few examples:
- remove all waters: phenix.pdbtools model.pdb remove=water
- remove all waters and DNA/RNA: phenix.pdbtools model.pdb remove="water or dna or rna"
- remove all protein sidechains: phenix.pdbtools model.pdb remove="protein and sidechain" or equivalently: phenix.pdbtools model.pdb keep="all and not (protein and sidechain)"
- keep only oxygens: phenix.pdbtools model.pdb keep="element O"
- keep only nitrogens in protein sidechains: phenix.pdbtools model.pdb keep="protein and sidechain and element N"
- keep only backbone in chain A and in chain C: phenix.pdbtools model.pdb keep="(chain A and backbone) or (chain C and backbone)"
- remove residues in chain A from number 3 to 25: phenix.pdbtools model.pdb remove="chain A and resseq 3:25"
... and so on.
To get more familiar with atom selection syntax you can practice by running the command
phenix.pdb_atom_selection model.pdb ATOM_SELECTION_STRING
for example:
phenix.pdb_atom_selection model.pdb "chain A and resseq 1:100"
which will output the selected atoms to the screen. Some examples of atom selection syntax can be found here: http://phenix-online.org/documentation/refinement.htm#anch88
Pavel.
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
n Mon, Feb 14, 2011 at 9:53 AM, Edward A. Berry
This seems very flexible and general indeed, but for the specific job of making an MR model, it could be very tedious to code which atoms to keep for which residues, where to delete, and how to renumber. Chainsaw does all of that for you.
FYI, phenix.sculptor is the Phenix tool for this. I do not know what the exact overlap in function with Chainsaw is, but it is also based on sequence alignment. http://www.phenix-online.org/documentation/sculptor.htm -Nat
Hi phenixers, I just installed the version phenix-1.7-650 on ubuntu 9.4 and tried a test run. My previous version runs fine. The new version gives me this error =============================== refinement start ============================== Traceback (most recent call last): File "/usr/local/phenix-1.7-650/phenix/phenix/command_line/refine.py", line 11, in <module> command_line.run(command_name="phenix.refine", args=sys.argv[1:]) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/command_line.py", line 89, in run call_back_handler=call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/driver.py", line 1207, in run call_back_handler = call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 220, in refinement_machine xray_structure = model.xray_structure,) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 124, in extract_from_pdb_header xray_structure = xray_structure) File "/usr/local/phenix-1.7-650/cctbx_project/mmtbx/f_model.py", line 327, in __init__ twin_law_xyz = sgtbx.rt_mx(symbol=self.twin_law, r_den=12, t_den=144) RuntimeError: cctbx Error: Parse error: unexpected character: NULL ^ Please, take a look at the error and advise me how to fix it. Maia
Hi Maia,
I think it tries to build a twin law from the header.
The easiest fix for you is to remove the header or part of it that
talks about twinning.
P
On 1 March 2011 08:39, Maia Cherney
Hi phenixers,
I just installed the version phenix-1.7-650 on ubuntu 9.4 and tried a test run. My previous version runs fine. The new version gives me this error
=============================== refinement start ==============================
Traceback (most recent call last): File "/usr/local/phenix-1.7-650/phenix/phenix/command_line/refine.py", line 11, in <module> command_line.run(command_name="phenix.refine", args=sys.argv[1:]) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/command_line.py", line 89, in run call_back_handler=call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/driver.py", line 1207, in run call_back_handler = call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 220, in refinement_machine xray_structure = model.xray_structure,) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 124, in extract_from_pdb_header xray_structure = xray_structure) File "/usr/local/phenix-1.7-650/cctbx_project/mmtbx/f_model.py", line 327, in __init__ twin_law_xyz = sgtbx.rt_mx(symbol=self.twin_law, r_den=12, t_den=144) RuntimeError: cctbx Error: Parse error: unexpected character: NULL ^ Please, take a look at the error and advise me how to fix it.
Maia _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
-- ----------------------------------------------------------------- P.H. Zwart Research Scientist Berkeley Center for Structural Biology Lawrence Berkeley National Laboratories 1 Cyclotron Road, Berkeley, CA-94703, USA Cell: 510 289 9246 BCSB: http://bcsb.als.lbl.gov PHENIX: http://www.phenix-online.org SASTBX: http://sastbx.als.lbl.gov -----------------------------------------------------------------
Delete the entire REMARK section at the start of the PDB file, and the
error should go away.
On Tue, Mar 1, 2011 at 8:39 AM, Maia Cherney
Hi phenixers,
I just installed the version phenix-1.7-650 on ubuntu 9.4 and tried a test run. My previous version runs fine. The new version gives me this error
=============================== refinement start ==============================
Traceback (most recent call last): File "/usr/local/phenix-1.7-650/phenix/phenix/command_line/refine.py", line 11, in <module> command_line.run(command_name="phenix.refine", args=sys.argv[1:]) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/command_line.py", line 89, in run call_back_handler=call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/driver.py", line 1207, in run call_back_handler = call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 220, in refinement_machine xray_structure = model.xray_structure,) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 124, in extract_from_pdb_header xray_structure = xray_structure) File "/usr/local/phenix-1.7-650/cctbx_project/mmtbx/f_model.py", line 327, in __init__ twin_law_xyz = sgtbx.rt_mx(symbol=self.twin_law, r_den=12, t_den=144) RuntimeError: cctbx Error: Parse error: unexpected character: NULL ^ Please, take a look at the error and advise me how to fix it.
Maia _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Thanks, Nathaniel and Peter. Now it works Maia Nathaniel Echols wrote:
Delete the entire REMARK section at the start of the PDB file, and the error should go away.
On Tue, Mar 1, 2011 at 8:39 AM, Maia Cherney
wrote: Hi phenixers,
I just installed the version phenix-1.7-650 on ubuntu 9.4 and tried a test run. My previous version runs fine. The new version gives me this error
=============================== refinement start ==============================
Traceback (most recent call last): File "/usr/local/phenix-1.7-650/phenix/phenix/command_line/refine.py", line 11, in <module> command_line.run(command_name="phenix.refine", args=sys.argv[1:]) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/command_line.py", line 89, in run call_back_handler=call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/driver.py", line 1207, in run call_back_handler = call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 220, in refinement_machine xray_structure = model.xray_structure,) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 124, in extract_from_pdb_header xray_structure = xray_structure) File "/usr/local/phenix-1.7-650/cctbx_project/mmtbx/f_model.py", line 327, in __init__ twin_law_xyz = sgtbx.rt_mx(symbol=self.twin_law, r_den=12, t_den=144) RuntimeError: cctbx Error: Parse error: unexpected character: NULL ^ Please, take a look at the error and advise me how to fix it.
Maia _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Hi Maia, this should be fixed in the latest nightly build: http://www.phenix-online.org/download/nightly_builds.cgi otherwise Nat's suggestion would fix this problem. Pavel. On 3/1/11 8:39 AM, Maia Cherney wrote:
Hi phenixers,
I just installed the version phenix-1.7-650 on ubuntu 9.4 and tried a test run. My previous version runs fine. The new version gives me this error
=============================== refinement start ==============================
Traceback (most recent call last): File "/usr/local/phenix-1.7-650/phenix/phenix/command_line/refine.py", line 11, in <module> command_line.run(command_name="phenix.refine", args=sys.argv[1:]) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/command_line.py", line 89, in run call_back_handler=call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/driver.py", line 1207, in run call_back_handler = call_back_handler) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 220, in refinement_machine xray_structure = model.xray_structure,) File "/usr/local/phenix-1.7-650/phenix/phenix/refinement/strategies.py", line 124, in extract_from_pdb_header xray_structure = xray_structure) File "/usr/local/phenix-1.7-650/cctbx_project/mmtbx/f_model.py", line 327, in __init__ twin_law_xyz = sgtbx.rt_mx(symbol=self.twin_law, r_den=12, t_den=144) RuntimeError: cctbx Error: Parse error: unexpected character: NULL ^ Please, take a look at the error and advise me how to fix it.
Maia _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
participants (9)
-
Christian Roth
-
crystallogrphy
-
Ed Pozharski
-
Edward A. Berry
-
Jeff Headd
-
Maia Cherney
-
Nathaniel Echols
-
Pavel Afonine
-
Peter Zwart