Uniprot features: Difference between revisions
Jump to navigation
Jump to search
(created) |
PedroLacerda (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox script-repo | {{Infobox script-repo | ||
|type = Python Module | |type = Python Module | ||
|filename = uniprot_features.py | |filename = scripts/uniprot_features.py | ||
|author = [[User:Speleo3|Thomas Holder]] | |author = [[User:Speleo3|Thomas Holder]] | ||
|license = BSD-2-Clause | |license = BSD-2-Clause | ||
Line 25: | Line 25: | ||
# create selections | # create selections | ||
uniprot_features | uniprot_features PEPA4_HUMAN | ||
# show sticks for active site | # show sticks for active site | ||
Line 33: | Line 33: | ||
zoom feature_active_site | zoom feature_active_site | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== See also === | |||
[[select_sites]] | |||
[[Category:Script_Library]] | [[Category:Script_Library]] | ||
[[Category:Pymol-script-repo]] |
Latest revision as of 23:14, 22 June 2025
Type | Python Module |
---|---|
Download | scripts/uniprot_features.py |
Author(s) | Thomas Holder |
License | BSD-2-Clause |
This code has been put under version control in the project Pymol-script-repo |
uniprot_features fetches the sequence annotation (features) from uniprot.org and create named selections for each feature.
Requires residue numbering (resi) to match uniprot sequence!
Usage
uniprot_features uniprot_id [, selection [, withss [, prefix ]]]
Example
Show the active site of human pepsin A:
fetch 1flh, async=0
# fix residue numbering to match uniprot sequence
alter all, resi=resv+62
# create selections
uniprot_features PEPA4_HUMAN
# show sticks for active site
as cartoon
set cartoon_side_chain_helper
show sticks, feature_active_site
zoom feature_active_site