User:Karsten Theis/Reviewing tools: Difference between revisions
From Proteopedia
Jump to navigationJump to search
New page: ==Why review?== There are a couple of topics that get a lot of views, and it makes sense to review the corresponding pages every now and then. I have given my students assignments to revie... |
No edit summary |
||
| Line 16: | Line 16: | ||
To quickly see which PDB files are shown on a page, and have quick access to all the scripts (for example, if you want to find out how a 3D scene was made), I wrote a python script that scans a page, extracts the green links, gathers information from the Jmol state files (which are Jmol scripts), and outputs it as a summary. One such summary is [[Talk:Hen Egg-White (HEW) Lysozyme|here]]. The script is pasted below, and you can run it : | To quickly see which PDB files are shown on a page, and have quick access to all the scripts (for example, if you want to find out how a 3D scene was made), I wrote a python script that scans a page, extracts the green links, gathers information from the Jmol state files (which are Jmol scripts), and outputs it as a summary. One such summary is [[Talk:Hen Egg-White (HEW) Lysozyme|here]]. The script is pasted below, and you can run it : | ||
< | <blockquote>site = 'CRISPR-Cas9' | ||
site = 'CRISPR-Cas9_Part_II' | site = 'CRISPR-Cas9_Part_II' | ||
site = 'User:Karsten_Theis/scene_transitions' | site = 'User:Karsten_Theis/scene_transitions' | ||
site = 'Alice_Clark/ATPsynthase' | site = 'Alice_Clark/ATPsynthase' | ||
import urllib.request | import urllib.request | ||
| Line 187: | Line 186: | ||
print(f'*{descr}: https://proteopedia.org{pdb}') | print(f'*{descr}: https://proteopedia.org{pdb}') | ||
# https://proteopedia.org/cgi-bin/getfrozenstructure?abb78d56d3e07a4e0290a8783dcb8b58 | # https://proteopedia.org/cgi-bin/getfrozenstructure?abb78d56d3e07a4e0290a8783dcb8b58 | ||
</ | </blockquote> | ||