Wikipedia:Using Jmol to display molecular models: Difference between revisions

Content deleted Content added
Jmol Wiki
m See also: try 2
 
(17 intermediate revisions by 8 users not shown)
Line 1:
Work"'''Using Jmol to display molecular models'''" is work in progress to use the '''[[Jmol]] applet''' to display [[molecule|molecular]] models of [[chemistry|chemical]] and [[biochemistry|biochemical]] molecules in Wikipedia articles. Jmol is now frequently used in standard HTML pages to display molecules which can then be manipulated using the mouse. However, the use within Wiki pages still needs some more work. [[m:User:NicoV|NicoV]] has put up a [[m:User:NicoV/Jmol Extension|MediaWiki article]] and more detail in a [http://fahwikiwiki.jmol.netorg/index.php?title=Jmol_MediaWiki_Extension/MediaWiki Folding@Homereference articlepage]. Thefor latterthe usesnow fully functional Jmol toMediawiki showextension aon mediumthe sizedJmol moleculewiki. withPlease, buttonspost tosuggestions controlfor thefurther rotationdevelopment ofon the moleculeJmol nearextension in the bottom[http://wiki.jmol.org/index.php/Talk:MediaWiki discussion page] of the page.Jmol Yourextension browseron needsthe to benew [[Java]] enabledhttp://wiki.jmol.org/ ThisJmol pageWiki] shouldwhich, belike consultedWikipedia asuses an example of what is possibleMediaWiki.
 
To display molecules with Jmol, your browser needs to be [[Java (programming language)|Java]] enabled. Two examples of Jmol images in a wiki are [http://wiki.jmol.org/index.php/Jmol_MediaWiki_Extension here] and [http://wiki.jmol.org/index.php/User:Bduke here]. These use Jmol to show medium sized molecules with buttons to control the rotation of the molecules. The right mouse button opens a Jmol menu while the left mouse button can be used to move the image.
The new [http://wiki.jmol.org/ Jmol Wiki] using MediaWiki is now online. The reference page for the Jmol extension can be found [http://wiki.jmol.org/index.php/MediaWiki there]. Work is in progress to make this extension fully functional. Please, post suggestions on the Jmol extension in the [http://wiki.jmol.org/index.php/Talk:MediaWiki discussion page] of the Jmol extension.
 
This is quite different from files in the Image space. While theThe use of Jmol in HTML pages downloadsinvolves downloading a data file containing the atomic types and cartesian coordinates,. thisMost datasimply, onthe amolecular wiki pagedata can be in the page itself between tags. The molecular data can also be in a wiki page, such as a subpage of the article displaying the molecule, or by uploading the molecular data file to the wiki or perhaps on Wikipedia to Commons like the use of images. Chemists have developed many different formats for files of molecular coordinate data and most of these are readable by Jmol.
 
Use of Jmol in Wiki pages is available for several wikis (see [http://wiki.jmol.org/index.php/Jmol_Processor Jmol-Wiki extensions]), and contributions have been made by several people. [[m:User:NicoV|NicoV]] has madecompleted awork greaton startthe withsecond version of the Jmol extension adding support for Jmol toin MediaWiki. andThis otheruses Wikitwo PHP files rather than the one used in the initial implementation. This was implemented for mediawiki 1.12, but a bug that prevented it working with later versions was fixed in late November software2008. It is now proposed to get this fully working on Wikipedia and [[Wikiversity]] in a way that editors can easily add Jmol molecules to pagesarticles on chemistry and biochemistry.
 
The delay in implementing Jmol in mediawiki has been that security concerns have been raised. <s>There is indeed a security concern as illustrated [http://wiki.jmol.org/index.php/User:Ilmari_Karonen/JS_injection_demo here]</s> (has been fixed). There is a related issue of support for the [[Chemical Markup Language]] (CML) and a bug report has been submitted [https://bugzilla.wikimedia.org/show_bug.cgi?id=16491 here] for both Jmol and CML. We need technically minded editors to address these issues.
If you are interested in helping please add your name below using <nowiki>~~~~</nowiki> and keep a watch on this page and on [[Wikipedia talk:WikiProject Chemistry]].
 
If you are interested in helping please add your name below using <nowiki>~~~~</nowiki> and, keep a watch on this page and on [[Wikipedia talk:WikiProject Chemistry]], and add your suggestions to [[Wikipedia talk:Using Jmol to display molecular models]].
 
Update 4/2011: [[http://chemapps.stolaf.edu/jmol/jmol.php http://chemapps.stolaf.edu/jmol/jmol.php]] now allows creation of external links to any model from any server and direct SMILES-to-3D conversion displayed in an applet in a new window or tab. Model files need not be present; all that is needed is a SMILES string or chemical identifier such as a chemical name or InChI key. For example: [[http://chemapps.stolaf.edu/jmol/jmol.php?model=aspirin&width=500&caption=aspirin%20model aspirin from name]]. See [[Wikipedia_talk:WikiProject_Chemicals#IRC_meeting_to_discuss_possible_addition_of_Jmol_links]] for several more examples. [[User:Hansonrstolaf|Hansonrstolaf]] ([[User talk:Hansonrstolaf|talk]]) 11:44, 8 April 2011 (UTC)
 
==Helpers==
Line 13 ⟶ 17:
* [[User:Benjah-bmm27|Ben Mills]] 10:52, 9 March 2006 (UTC)
* [[m:User:NicoV|NicoV]] 18:34, 8 April 2006 (UTC)
* [[User:AngelHerraez|AngelHerraez]] ([[User talk:AngelHerraez|talk]]) 17:21, 7 June 2009 (UTC)
 
==See also==
[[Wikipedia_talk:WikiProject_Chemicals/Archive_2011#IRC_meeting_to_discuss_possible_addition_of_Jmol_links]]
 
==External links==
*[http://www.jmol.org/ Jmol web site]
*[http://wiki.jmol.org/ Jmol Wiki]
*[http://wiki.jmol.org/index.php/Jmol_Processor Jmol-Wiki extensions]
*[http://wiki.jmol.org/index.php/MediaWiki Jmol Mediawiki extension]
 
[[Category:ComputationalWikiProject chemistry softwareChemistry|Jmol]]
[[Category:Molecular modelling]]