Template:ConSurf

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
(creating a template that inserts ConSurf div)
Current revision (07:55, 13 October 2016) (edit) (undo)
 
(One intermediate revision not shown.)
Line 1: Line 1:
<noinclude>
<noinclude>
== HOW TO USE THIS TEMPLATE: ==
== HOW TO USE THIS TEMPLATE: ==
-
It '''cannot''' be used in the regular way, as <code><nowiki>{{ConSurf}}</nowiki></code>
+
You must insert it as <code><nowiki>{{subst:ConSurf|1stp|st}}</nowiki></code>
-
You must insert it as <code><nowiki>{{subst:ConSurf|st|1stp}}</nowiki></code>
+
Where the 2 parameters, <code>1stp</code> and <code>st</code>, need to be adjusted to your case:
-
 
+
* 1st parameter is the PDB ID of the model
-
Where the 2 parameters, <code>st</code> and <code>1stp</code>, need to be adjusted to your case:
+
* 2nd parameter is the 2nd and 3rd characters of the PDB ID
-
* 1st parameter is the folder where ....
+
-
* 2nd parameter is the PDB ID of the model
+
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).
- 
-
<!--script /wiki/ConSurf/{{{1}}}/{{{2}}}_consurf.spt;-->
 
</noinclude>
</noinclude>
Line 24: Line 20:
select protein; define ~consurf_to_do selected;
select protein; define ~consurf_to_do selected;
consurf_initial_scene = true;
consurf_initial_scene = true;
-
script /wiki/ConSurf/{{#invoke:String|sub|{{{2}}}|1|2}}/{{{2}}}_consurf.spt;
+
script /wiki/ConSurf/{{{2}}}/{{{1}}}_consurf.spt;
</scriptWhenChecked>
</scriptWhenChecked>
<scriptWhenUnchecked>
<scriptWhenUnchecked>
Line 34: Line 30:
You may read the [[Conservation%2C_Evolutionary|explanation]]
You may read the [[Conservation%2C_Evolutionary|explanation]]
of the method and the full data available from
of the method and the full data available from
-
[http://bental.tau.ac.il/new_ConSurfDB/main_output.php?pdb_ID={{{2}}} ConSurf].
+
[http://bental.tau.ac.il/new_ConSurfDB/main_output.php?pdb_ID={{{1}}} ConSurf].
<!-- end of content inserted by the ConSurf template -->
<!-- end of content inserted by the ConSurf template -->

Current revision

HOW TO USE THIS TEMPLATE:

You must insert it as {{subst:ConSurf|1stp|st}}

Where the 2 parameters, 1stp and st, need to be adjusted to your case:

  • 1st parameter is the PDB ID of the model
  • 2nd parameter is the 2nd and 3rd characters of the PDB ID

The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).


Evolutionary Conservation

Check , as determined by ConSurfDB. You may read the explanation of the method and the full data available from ConSurf.

Proteopedia Page Contributors and Editors (what is this?)

Angel Herraez, Jaime Prilusky

Personal tools