Discussion:
[PyMOL] about super_all.py Plugin installation.
PAVAN PAYGHAN
2011-12-26 18:45:38 UTC
Permalink
Dear PyMol Users,

I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py<http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/super_all.py>
and tried to install the plugin by using install Plugin option menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin list,also
was unable to run
super command .So will you please help me to solve this problem.Is there
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way of doing
the same as I am new user .

Pavan
Jacob Keller
2011-12-26 20:47:40 UTC
Permalink
You can try the "alignto" command as an alternative, if you want.

JPK
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py  and tried to install the plugin by using install Plugin option
menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin list,also
was unable to run
super command .So will you please help me to solve this problem.Is there
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way of doing
the same as I am new user .
Pavan
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
--
*******************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
email: j-***@northwestern.edu
*******************************************
PAVAN PAYGHAN
2011-12-27 11:50:15 UTC
Permalink
Dear ,

I want to install the plugins like super_all.py, align_all_to_all.py
,build_seq.py etc in the PyMol version +v0.97 but I am unable to do so .
As I mentioned earlier also , even after getting the success message of
plugin has been installed, please restart PyMol to begin use failed to use
the commands .
I got following error message - *AttributeError: 'NoneType' object has no
attribute 'lower( for super_all.py ).*
Also i want to know whether installing the plugin will add them to be
displayed in plugin list compulsorily for the above mentioned or all the
plugins.
*
*
*
*
Pavan Payghan






On Tue, Dec 27, 2011 at 2:17 AM, Jacob Keller <
Post by Jacob Keller
You can try the "alignto" command as an alternative, if you want.
JPK
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py and tried to install the plugin by using install Plugin
option
Post by PAVAN PAYGHAN
menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin list,also
was unable to run
super command .So will you please help me to solve this problem.Is there
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way of doing
the same as I am new user .
Pavan
------------------------------------------------------------------------------
Post by PAVAN PAYGHAN
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
--
*******************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
*******************************************
Thomas Holder
2011-12-27 12:11:34 UTC
Permalink
Hi Pavan,
Post by PAVAN PAYGHAN
I want to install the plugins like super_all.py, align_all_to_all.py
,build_seq.py etc in the PyMol version +v0.97 but I am unable to do so.
As I mentioned earlier also , even after getting the success message of
plugin has been installed, please restart PyMol to begin use failed to
use the commands .
I got following error message - AttributeError: 'NoneType' object has no
attribute 'lower( for super_all.py ).
Provide the name of the reference object as first argument. All other
arguments have default values.
Post by PAVAN PAYGHAN
Also i want to know whether installing the plugin will add them to be
displayed in plugin list compulsorily for the above mentioned or all the
plugins.
The above mentioned scripts do not add plugin menu items, they only
provide new commands.

Cheers,
Thomas
Post by PAVAN PAYGHAN
Pavan Payghan
On Tue, Dec 27, 2011 at 2:17 AM, Jacob Keller
You can try the "alignto" command as an alternative, if you want.
JPK
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py and tried to install the plugin by using install
Plugin option
Post by PAVAN PAYGHAN
menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin
list,also
Post by PAVAN PAYGHAN
was unable to run
super command .So will you please help me to solve this
problem.Is there
Post by PAVAN PAYGHAN
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way
of doing
Post by PAVAN PAYGHAN
the same as I am new user .
Pavan
--
*******************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
*******************************************
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
PAVAN PAYGHAN
2011-12-27 12:27:37 UTC
Permalink
Dear Mr. Thomas Holder ,

Thanks for the reply .According to you the plugin has been installed
properly.Can you briefly mention
1.how to define the reference object for using super command
2.how to use super command with multiple structures to align with the
suitable example.
I have started using pymol recently so it will be worth working for me.

Pavan Payghan






On Tue, Dec 27, 2011 at 5:41 PM, Thomas Holder <
Post by Thomas Holder
Hi Pavan,
I want to install the plugins like super_all.py, align_all_to_all.py
Post by PAVAN PAYGHAN
,build_seq.py etc in the PyMol version +v0.97 but I am unable to do so.
As I mentioned earlier also , even after getting the success message of
plugin has been installed, please restart PyMol to begin use failed to use
the commands .
I got following error message - AttributeError: 'NoneType' object has no
attribute 'lower( for super_all.py ).
Provide the name of the reference object as first argument. All other
arguments have default values.
Also i want to know whether installing the plugin will add them to be
Post by PAVAN PAYGHAN
displayed in plugin list compulsorily for the above mentioned or all the
plugins.
The above mentioned scripts do not add plugin menu items, they only
provide new commands.
Cheers,
Thomas
Pavan Payghan
Post by PAVAN PAYGHAN
On Tue, Dec 27, 2011 at 2:17 AM, Jacob Keller <
You can try the "alignto" command as an alternative, if you want.
JPK
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py and tried to install the plugin by using install
Plugin option
Post by PAVAN PAYGHAN
menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin
list,also
Post by PAVAN PAYGHAN
was unable to run
super command .So will you please help me to solve this
problem.Is there
Post by PAVAN PAYGHAN
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way
of doing
Post by PAVAN PAYGHAN
the same as I am new user .
Pavan
--
*********************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
*********************************************
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
Thomas Holder
2011-12-27 14:07:30 UTC
Permalink
Dear Pavan,

PyMOL has a command line where you need to type in the commands which
are provided by those scripts. Consider this example:

# fetch some example structures
fetch 1e4y 1ake 4ake 3hpq, async=0
remove chain B

# use 1ake as reference for superpositioning
super_all 1ake

Not all script can be installed as "plugins". If installation as plugin
fails please use "File > Run..." from the menu.

PyMOL version 0.97 is quite old, please consider upgrading. Also have a
look at http://pymolwiki.org where you can find lots of documentation
and useful scripts.

Cheers,
Thomas
Post by PAVAN PAYGHAN
Dear Mr. Thomas Holder ,
Thanks for the reply .According to you the plugin has been installed
properly.Can you briefly mention
1.how to define the reference object for using super command
2.how to use super command with multiple structures to align with the
suitable example.
I have started using pymol recently so it will be worth working for me.
Pavan Payghan
On Tue, Dec 27, 2011 at 5:41 PM, Thomas Holder
Hi Pavan,
I want to install the plugins like super_all.py,
align_all_to_all.py ,build_seq.py etc in the PyMol version
+v0.97 but I am unable to do so.
As I mentioned earlier also , even after getting the success
message of plugin has been installed, please restart PyMol to
begin use failed to use the commands .
I got following error message - AttributeError: 'NoneType'
object has no attribute 'lower( for super_all.py ).
Provide the name of the reference object as first argument. All
other arguments have default values.
Also i want to know whether installing the plugin will add them
to be displayed in plugin list compulsorily for the above
mentioned or all the plugins.
The above mentioned scripts do not add plugin menu items, they only
provide new commands.
Cheers,
Thomas
Pavan Payghan
On Tue, Dec 27, 2011 at 2:17 AM, Jacob Keller
You can try the "alignto" command as an alternative, if you want.
JPK
On Mon, Dec 26, 2011 at 12:45 PM, PAVAN PAYGHAN
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have
downloded
Post by PAVAN PAYGHAN
super_all.py and tried to install the plugin by using install
Plugin option
Post by PAVAN PAYGHAN
menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in
Plugin
list,also
Post by PAVAN PAYGHAN
was unable to run
super command .So will you please help me to solve this
problem.Is there
Post by PAVAN PAYGHAN
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the
proper way
of doing
Post by PAVAN PAYGHAN
the same as I am new user .
Pavan
--
*******************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
*******************************************
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
PAVAN PAYGHAN
2011-12-28 06:14:24 UTC
Permalink
Dear,

While using super_all command I am getting following error message
*valueError: list.remove(x): x not in list.*
To mention how I have tried to use this command ..
1.I have loaded structures(say 4 pdb files) using file> load option.
2. Then super_all xyz.pdb
after this I got the above mentioned valueError message.

Pavan Payghan






On Tue, Dec 27, 2011 at 7:37 PM, Thomas Holder <
Post by Robert Campbell
Dear Pavan,
PyMOL has a command line where you need to type in the commands which are
# fetch some example structures
fetch 1e4y 1ake 4ake 3hpq, async=0
remove chain B
# use 1ake as reference for superpositioning
super_all 1ake
Not all script can be installed as "plugins". If installation as plugin
fails please use "File > Run..." from the menu.
PyMOL version 0.97 is quite old, please consider upgrading. Also have a
look at http://pymolwiki.org where you can find lots of documentation and
useful scripts.
Cheers,
Thomas
Post by PAVAN PAYGHAN
Dear Mr. Thomas Holder ,
Thanks for the reply .According to you the plugin has been installed
properly.Can you briefly mention 1.how to define the reference object for
using super command 2.how to use super command with multiple structures to
align with the suitable example.
I have started using pymol recently so it will be worth working for me.
Pavan Payghan
Hi Pavan,
I want to install the plugins like super_all.py,
align_all_to_all.py ,build_seq.py etc in the PyMol version
+v0.97 but I am unable to do so.
As I mentioned earlier also , even after getting the success
message of plugin has been installed, please restart PyMol to
begin use failed to use the commands .
I got following error message - AttributeError: 'NoneType'
object has no attribute 'lower( for super_all.py ).
Provide the name of the reference object as first argument. All
other arguments have default values.
Also i want to know whether installing the plugin will add them
to be displayed in plugin list compulsorily for the above
mentioned or all the plugins.
The above mentioned scripts do not add plugin menu items, they only
provide new commands.
Cheers,
Thomas
Pavan Payghan
On Tue, Dec 27, 2011 at 2:17 AM, Jacob Keller
You can try the "alignto" command as an alternative, if you want.
JPK
On Mon, Dec 26, 2011 at 12:45 PM, PAVAN PAYGHAN
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have
downloded
Post by PAVAN PAYGHAN
super_all.py and tried to install the plugin by using
install
Plugin option
Post by PAVAN PAYGHAN
menu.
Then I got the message that the plugin was installed but
after
Post by PAVAN PAYGHAN
re-initialization I dont find the Plugin for the same in
Plugin
list,also
Post by PAVAN PAYGHAN
was unable to run
super command .So will you please help me to solve this
problem.Is there
Post by PAVAN PAYGHAN
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the
proper way
of doing
Post by PAVAN PAYGHAN
the same as I am new user .
Pavan
--
*********************************************
Jacob Pearson Keller
Northwestern University
Medical Scientist Training Program
*********************************************
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
Thomas Holder
2011-12-28 07:44:36 UTC
Permalink
Dear Pavan,
Post by PAVAN PAYGHAN
2. Then super_all xyz.pdb
Not the filename, but the name of the loaded object (by default this is
the filename without .pdb suffix).

super_all xyz


Cheers,
Thomas
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
PAVAN PAYGHAN
2011-12-29 10:24:36 UTC
Permalink
Dear,



Thanks a lot for the information. As you mentioned super is only for
aligning two structures while with super_all to align the multiple
structures, but the most important thing is to obtain the alignment file
out of all this excercise, can it be possible with super, super_all?

If not which option exist in Pymol wherein one can align 4-5 structures at
a time (with low sequence identity).


Pavan Payghan






On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder <
Post by Thomas Holder
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that it can not be used for
aligning more than two structures at a time(I want it for around 4 -5
structure alignment). The command used to do so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is for many
super_all abc, def ghi jkl
for the third structure its giving error like ,ValueError: invalid
literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match exactly in all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
zjxu
2011-12-29 10:53:50 UTC
Permalink
Dear Pavan,

align 4-5 structures at a time (with low sequence identity).

check cealign: http://www.pymolwiki.org/index.php/Cealign

In pymol1.4, you could use 'alignto':
PyMOL>help alignto
DESCRIPTION
NOTE: This feature is experimental and unsuspported.
"alignto" aligns all other loaded objects to the given selected object
using the CEalign algorithm.
USAGE
alignto target [, quiet ]
EXAMPLE
# fetch some calmodulins
fetch 1cll 1sra 1ggz 1k95, async=0
alignto 1cll

Hope this helps,

Zhijian Xu
Post by PAVAN PAYGHAN
Dear,
Thanks a lot for the information. As you mentioned super is only for
aligning two structures while with super_all to align the multiple
structures, but the most important thing is to obtain the alignment
file out of all this excercise, can it be possible with super, super_all?
If not which option exist in Pymol wherein one can align 4-5
structures at a time (with low sequence identity).
Pavan Payghan
On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that it can not be
used for aligning more than two structures at a time(I want it
for around 4 -5 structure alignment). The command used to do
so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is
for many structures. But the syntax is without comma in mobile
super_all abc, def ghi jkl
invalid literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match exactly in all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
------------------------------------------------------------------------
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
------------------------------------------------------------------------
_______________________________________________
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
PAVAN PAYGHAN
2011-12-29 12:23:45 UTC
Permalink
Dear ,

"A > align > all to this" and "alignto" both are the same or different?
If different in what context.


Pavan Payghan
Post by Robert Campbell
Dear Pavan,
align 4-5 structures at a time (with low sequence identity).
check cealign: http://www.pymolwiki.org/**index.php/Cealign<http://www.pymolwiki.org/index.php/Cealign>
PyMOL>help alignto
DESCRIPTION
NOTE: This feature is experimental and unsuspported.
"alignto" aligns all other loaded objects to the given selected object
using the CEalign algorithm.
USAGE
alignto target [, quiet ]
EXAMPLE
# fetch some calmodulins
fetch 1cll 1sra 1ggz 1k95, async=0
alignto 1cll
Hope this helps,
Zhijian Xu
Post by PAVAN PAYGHAN
Dear,
Thanks a lot for the information. As you mentioned super is only for
aligning two structures while with super_all to align the multiple
structures, but the most important thing is to obtain the alignment file
out of all this excercise, can it be possible with super, super_all?
If not which option exist in Pymol wherein one can align 4-5 structures
at a time (with low sequence identity).
Pavan Payghan
On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder <
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that it can not be
used for aligning more than two structures at a time(I want it
for around 4 -5 structure alignment). The command used to do
so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is
for many structures. But the syntax is without comma in mobile
super_all abc, def ghi jkl
invalid literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match exactly in all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
-- Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
------------------------------**------------------------------**
------------
------------------------------**------------------------------**
------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-**VDIinabox<http://p.sf.net/sfu/Citrix-VDIinabox>
------------------------------**------------------------------**
------------
______________________________**_________________
)
Info Page: https://lists.sourceforge.net/**lists/listinfo/pymol-users<https://lists.sourceforge.net/lists/listinfo/pymol-users>
Thomas Holder
2011-12-29 20:45:20 UTC
Permalink
Post by PAVAN PAYGHAN
Dear ,
"A > align > all to this" and "alignto" both are the same or different?
If different in what context.
It's different.

The first method uses "align" and gives you an alignment object (uses
util.mass_align function).

The second uses "cealign" and cannot make an alignment object.

http://pymolwiki.org/index.php/Align
http://pymolwiki.org/index.php/Cealign

"align" does sequence based alignment and RMSD minimization, "cealign"
is a more sophisticated structure based alignment.

Cheers,
Thomas
Post by PAVAN PAYGHAN
Pavan Payghan
Dear Pavan,
align 4-5 structures at a time (with low sequence identity).
check cealign: http://www.pymolwiki.org/index.php/Cealign
<http://www.pymolwiki.org/index.php/Cealign>
PyMOL>help alignto
DESCRIPTION
NOTE: This feature is experimental and unsuspported.
"alignto" aligns all other loaded objects to the given selected object
using the CEalign algorithm.
USAGE
alignto target [, quiet ]
EXAMPLE
# fetch some calmodulins
fetch 1cll 1sra 1ggz 1k95, async=0
alignto 1cll
Hope this helps,
Zhijian Xu
Dear,
Thanks a lot for the information. As you mentioned super is only
for aligning two structures while with super_all to align the
multiple structures, but the most important thing is to obtain
the alignment file out of all this excercise, can it be possible
with super, super_all?
If not which option exist in Pymol wherein one can align 4-5
structures at a time (with low sequence identity).
Pavan Payghan
On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that it can not be
used for aligning more than two structures at a time(I want it
for around 4 -5 structure alignment). The command used to do
so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is
for many structures. But the syntax is without comma in mobile
super_all abc, def ghi jkl
invalid literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match exactly in all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
You'll get an new object called like "aln_all_to_XYZ", this you
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
-- Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
PAVAN PAYGHAN
2011-12-30 06:21:07 UTC
Permalink
Dear,

cealign,super,super_all cannot make an alignment object , as the most
important thing is to obtain
the alignment file out of all this exercise remains unresolved ,Please
suggest me structure based
alignment method in PyMol wherein I can use multiple structures at a time
(with low sequence identity) .

Pavan Payghan






On Fri, Dec 30, 2011 at 2:15 AM, Thomas Holder <
Post by PAVAN PAYGHAN
Dear ,
Post by PAVAN PAYGHAN
"A > align > all to this" and "alignto" both are the same or different?
If different in what context.
It's different.
The first method uses "align" and gives you an alignment object (uses
util.mass_align function).
The second uses "cealign" and cannot make an alignment object.
http://pymolwiki.org/index.**php/Align<http://pymolwiki.org/index.php/Align>
http://pymolwiki.org/index.**php/Cealign<http://pymolwiki.org/index.php/Cealign>
"align" does sequence based alignment and RMSD minimization, "cealign" is
a more sophisticated structure based alignment.
Cheers,
Thomas
Pavan Payghan
Post by PAVAN PAYGHAN
Dear Pavan,
align 4-5 structures at a time (with low sequence identity).
check cealign: http://www.pymolwiki.org/**index.php/Cealign<http://www.pymolwiki.org/index.php/Cealign>
<http://www.pymolwiki.org/**index.php/Cealign<http://www.pymolwiki.org/index.php/Cealign>
PyMOL>help alignto
DESCRIPTION
NOTE: This feature is experimental and unsuspported.
"alignto" aligns all other loaded objects to the given selected object
using the CEalign algorithm.
USAGE
alignto target [, quiet ]
EXAMPLE
# fetch some calmodulins
fetch 1cll 1sra 1ggz 1k95, async=0
alignto 1cll
Hope this helps,
Zhijian Xu
Dear,
Thanks a lot for the information. As you mentioned super is only
for aligning two structures while with super_all to align the
multiple structures, but the most important thing is to obtain
the alignment file out of all this excercise, can it be possible
with super, super_all?
If not which option exist in Pymol wherein one can align 4-5
structures at a time (with low sequence identity).
Pavan Payghan
On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that it can not be
used for aligning more than two structures at a time(I want it
for around 4 -5 structure alignment). The command used to do
so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is
for many structures. But the syntax is without comma in mobile
super_all abc, def ghi jkl
invalid literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match exactly in all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
You'll get an new object called like "aln_all_to_XYZ", this you
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
-- Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
Thomas Holder
2011-12-30 09:50:35 UTC
Permalink
Dear Pavan,

I'm sorry that this appears to be so complicated. The "super" command in
PyMOL is structure based (not as good as cealign) and can create
alignment objects.

The closest solution to your request that I can think of at the moment
is the piece of script below. You can copy-paste this into the PyMOL
command line (including the "python"/"python end" lines).

python

# example structures
cmd.fetch('1e4y 1ake 4ake 3hpq', async=0)

# all to one alignment
target = '1ake' # <-- you can change this
sele = ' and name CA'
models = cmd.get_object_list()
for model in models:
cmd.super(model + sele, target + sele, object='aln')

# save alignment to file
cmd.save('all-to-one.aln', 'aln')

python end


Hope that helps.

Cheers,
Thomas
Post by PAVAN PAYGHAN
Dear,
cealign,super,super_all cannot make an alignment object , as the most
important thing is to obtain
the alignment file out of all this exercise remains unresolved ,Please
suggest me structure based
alignment method in PyMol wherein I can use multiple structures at a
time (with low sequence identity) .
Pavan Payghan
On Fri, Dec 30, 2011 at 2:15 AM, Thomas Holder
Dear ,
"A > align > all to this" and "alignto" both are the same or
different?
If different in what context.
It's different.
The first method uses "align" and gives you an alignment object
(uses util.mass_align function).
The second uses "cealign" and cannot make an alignment object.
http://pymolwiki.org/index.php/Align
<http://pymolwiki.org/index.php/Align>
http://pymolwiki.org/index.php/Cealign
<http://pymolwiki.org/index.php/Cealign>
"align" does sequence based alignment and RMSD minimization,
"cealign" is a more sophisticated structure based alignment.
Cheers,
Thomas
Pavan Payghan
Dear Pavan,
align 4-5 structures at a time (with low sequence identity).
check cealign: http://www.pymolwiki.org/index.php/Cealign
<http://www.pymolwiki.org/index.php/Cealign>
<http://www.pymolwiki.org/index.php/Cealign
<http://www.pymolwiki.org/index.php/Cealign>>
PyMOL>help alignto
DESCRIPTION
NOTE: This feature is experimental and unsuspported.
"alignto" aligns all other loaded objects to the given selected object
using the CEalign algorithm.
USAGE
alignto target [, quiet ]
EXAMPLE
# fetch some calmodulins
fetch 1cll 1sra 1ggz 1k95, async=0
alignto 1cll
Hope this helps,
Zhijian Xu
Dear,
Thanks a lot for the information. As you
mentioned super is only
for aligning two structures while with super_all to align the
multiple structures, but the most important thing is to obtain
the alignment file out of all this excercise, can it be possible
with super, super_all?
If not which option exist in Pymol wherein one can align 4-5
structures at a time (with low sequence identity).
Pavan Payghan
On Wed, Dec 28, 2011 at 6:11 PM, Thomas Holder
Hi Pavan,
Thank you very much for the modified script.
Its working fine, only thing I am facing is that
it can
not be
used for aligning more than two structures at a time(I
want it
for around 4 -5 structure alignment). The command used to do
so is
super abc,def,XYZ
"super" is for two structures, "super_all" (from the script) is
for many structures. But the syntax is without comma in mobile
super_all abc, def ghi jkl
invalid literal for float (): XYZ.
Apart form this could you please explain
1. Number of alignment residues should match
exactly in
all the
structures.
you can't influence this with super_all.
2. How to get alignment file for super, super_all
command after
alignment has been done.
this is not possible with super_all.
But PyMOL can do this even without the super_all script. On the
button-panel to the right, try: "A > align > all to this"
You'll get an new object called like "aln_all_to_XYZ", this you
save file.aln, aln_all_to_XYZ
Cheers,
Thomas
-- Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
Thomas Holder
2011-12-30 11:40:17 UTC
Permalink
Hi,

I put a new script on the PyMOLWiki that is more flexible than the other
all-to-one solutions:

http://pymolwiki.org/index.php/Extra_fit

Cheers,
Thomas
Post by Robert Campbell
Dear Pavan,
I'm sorry that this appears to be so complicated. The "super" command in
PyMOL is structure based (not as good as cealign) and can create
alignment objects.
The closest solution to your request that I can think of at the moment
is the piece of script below. You can copy-paste this into the PyMOL
command line (including the "python"/"python end" lines).
python
# example structures
cmd.fetch('1e4y 1ake 4ake 3hpq', async=0)
# all to one alignment
target = '1ake' # <-- you can change this
sele = ' and name CA'
models = cmd.get_object_list()
cmd.super(model + sele, target + sele, object='aln')
# save alignment to file
cmd.save('all-to-one.aln', 'aln')
python end
Hope that helps.
Cheers,
Thomas
Post by PAVAN PAYGHAN
Dear,
cealign,super,super_all cannot make an alignment object , as the most
important thing is to obtain
the alignment file out of all this exercise remains unresolved
,Please suggest me structure based alignment method in PyMol wherein I
can use multiple structures at a time (with low sequence identity) .
Pavan Payghan
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
Robert Campbell
2011-12-26 20:48:30 UTC
Permalink
Dear Pavan,
Post by PAVAN PAYGHAN
Dear PyMol Users,
I am using PyMol +v0.97 version on Windows XP .I have downloded
super_all.py<http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/super_all.py>
and tried to install the plugin by using install Plugin option menu.
Then I got the message that the plugin was installed but after
re-initialization I dont find the Plugin for the same in Plugin list,also
was unable to run
super command .So will you please help me to solve this problem.Is there
any incompatibility issues for OS XP?
Please help me in solving this problem.Or suggest the proper way of doing
the same as I am new user .
This is not a plugin that needs installing, but simply a script that you run.

To use it, you just store the super_all.py file somewhere on your computer
(I have a directory/folder dedicated to PyMOL scripts) and you load the
script's function by using the "Run" function from the "File" menu. This has
to be done once each time PyMOL starts. I load my commonly used scripts
automatically via my .pymolrc file. Once the script loaded, then you can call
the "super_all" function from the command line within PyMOL. You can see the
options by typing

super_all ?

and you can get more information by typing

help super_all

I hope this helps.

Cheers,
Rob
--
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor
Dept. of Biomedical & Molecular Sciences, Botterell Hall Rm 644
Queen's University,
Kingston, ON K7L 3N6 Canada
Tel: 613-533-6821
<***@queensu.ca> http://pldserver1.biochem.queensu.ca/~rlc
Loading...