Jmol/Useful one-liners: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
Line 38: Line 38:
Deselects alternate conformations. Some models contain two conformations (labeled A and B in column 17 of a PDB file, with fractional occupancies adding up to 1, see e.g. [https://pdb101.rcsb.org/learn/guide-to-understanding-pdb-data/dealing-with-coordinates]. The example button removes all representations of alternate conformations.
Deselects alternate conformations. Some models contain two conformations (labeled A and B in column 17 of a PDB file, with fractional occupancies adding up to 1, see e.g. [https://pdb101.rcsb.org/learn/guide-to-understanding-pdb-data/dealing-with-coordinates]. The example button removes all representations of alternate conformations.
   
   
<jmol><jmolButton><text>turn %B off</text><script>restrict not *%B</script></jmolButton></jmol>
<jmol><jmolButton><text>hide %B</text><script>hide hidden or *%B</script></jmolButton></jmol>
<jmol><jmolButton><text>display %B</text><script>hide hidden and not *%B</script></jmolButton></jmol>


</StructureSection>
</StructureSection>