Bnitools: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|license = BSD | |license = BSD | ||
}} | }} | ||
= Template for a new page = | |||
The following sections, can for example be copied to a new page.<br> | |||
You can find tips for formatting a mediawiki page here: [http://www.mediawiki.org/wiki/Help:Formatting Help:Formatting] | |||
== Introduction == | |||
A little section about what the script can do, and maybe why it has been developed and under which protein discipline it is particularly useful.<br> | |||
Make the info box from [[Template:Infobox script-repo]]. | |||
=== Functions === | |||
If there are more than one function, you could list them here. | |||
* Make a dot | |||
*: Write under same dot | |||
== Example of use == | |||
Here you can write a link to the protein in the example<br> | |||
http://www.proteopedia.org/wiki/index.php/3ig7 <br> | |||
Here you write some example of use. Try to make examples, that anyone can access right away.<br> | |||
Do this by fetching proteins, and if you need other example files, but them in: '''Pymol-script-repo/files_for_examples''' | |||
<syntaxhighlight lang="python"> | |||
import colorbydisplacement | |||
fetch 1HP1, async=0 | |||
fetch 1HPU, async=0 | |||
hide everything | |||
### Select asymmetric units from pdb file | |||
create O5NT, /1HP1//A | |||
create C5NT, /1HPU//C | |||
delete 1HP1 | |||
delete 1HPU | |||
show cartoon, O5NT | |||
show cartoon, C5NT | |||
ColorByDisplacementAll O5NT, C5NT, super1=resi 26-355, super2=resi 26-355, doColor=t, doAlign=t | |||
</syntaxhighlight> | |||
== References == | |||
If you have used a particular article or figure to get inspiration to your script, then make a reference. | |||
* ''Title of reference''. Author name. '''Journal name'''. Vol 08/12/2012, p. 54, fig. 5 [http://dx.doi.org/10.1016/0301-0104(89)87019-3 doi:10.1016/0301-0104(89)87019-3] |
Revision as of 03:19, 20 April 2016
Type | PyMOL Plugin |
---|---|
Download | plugins/bnitools.py |
Author(s) | Georg Steinkellner |
License | BSD |
This code has been put under version control in the project Pymol-script-repo |
Template for a new page
The following sections, can for example be copied to a new page.
You can find tips for formatting a mediawiki page here: Help:Formatting
Introduction
A little section about what the script can do, and maybe why it has been developed and under which protein discipline it is particularly useful.
Make the info box from Template:Infobox script-repo.
Functions
If there are more than one function, you could list them here.
- Make a dot
- Write under same dot
Example of use
Here you can write a link to the protein in the example
http://www.proteopedia.org/wiki/index.php/3ig7
Here you write some example of use. Try to make examples, that anyone can access right away.
Do this by fetching proteins, and if you need other example files, but them in: Pymol-script-repo/files_for_examples
import colorbydisplacement
fetch 1HP1, async=0
fetch 1HPU, async=0
hide everything
### Select asymmetric units from pdb file
create O5NT, /1HP1//A
create C5NT, /1HPU//C
delete 1HP1
delete 1HPU
show cartoon, O5NT
show cartoon, C5NT
ColorByDisplacementAll O5NT, C5NT, super1=resi 26-355, super2=resi 26-355, doColor=t, doAlign=t
References
If you have used a particular article or figure to get inspiration to your script, then make a reference.
- Title of reference. Author name. Journal name. Vol 08/12/2012, p. 54, fig. 5 doi:10.1016/0301-0104(89)87019-3