<td>Default is no colour.</td>
</tr>
<tr>
+ <td>defaultColourNuc</td>
+ <td>A colour scheme (from the list above) to apply to Nucleotide alignments</td><td>This overrides defaultColour if it is specified.</td>
+ </tr>
+ <tr>
+ <td>defaultColourProt</td>
+ <td>A colour scheme (from the list above) to apply to Peptide alignments</td><td>This overrides defaultColour if it is specified.</td>
+ </tr>
+ <tr>
<td>userDefinedColour</td>
<td><p><em>Example:</em><br>
D,E=red; K,R,H=0022FF; c=yellow</p></td>
<param name="windowWidth" value="800"/>
<param name="showAnnotation" value="true"/>
<param name="showSequenceLogo" value="true"/>
-<param name="defaultColour" value="Purine/Pyrimidine"/>
+<param name="defaultColourNuc" value="Purine/Pyrimidine"/>
+<param name="defaultColourProt" value="Clustal"/>
<param name="APPLICATION_URL"
value="http://www.jalview.org/services/launchApp"/>
</applet>
if (applet != null)
{
- String colour = applet.getParameter("defaultColour");
-
+ String colour = al.isNucleotide() ? applet
+ .getParameter("defaultColourNuc") : applet
+ .getParameter("defaultColourProt");
+ if (colour == null)
+ {
+ colour = applet.getParameter("defaultColour");
+ }
if (colour == null)
{
colour = applet.getParameter("userDefinedColour");