2 <TITLE> The MASK command family</TITLE>
5 <HR> <A NAME=tex2html277 HREF=subsection3_13_1.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/next_motif.gif"></A> <A NAME=tex2html275 HREF=alscript.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/up_motif.gif"></A> <A NAME=tex2html269 HREF=section3_12.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/previous_motif.gif"></A> <A NAME=tex2html279 HREF=tableofcontents3_1.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/contents_motif.gif"></A> <BR>
6 <B> Next:</B> <A NAME=tex2html278 HREF=subsection3_13_1.html> Summary of mask </A>
7 <B>Up:</B> <A NAME=tex2html276 HREF=alscript.html>No Title</A>
8 <B> Previous:</B> <A NAME=tex2html270 HREF=section3_12.html> Using Colour</A>
10 <H1><A NAME=SECTION00013000000000000000> The MASK command family</A></H1>
12 The idea behind the MASK command is to build up a set of character
13 positions that will subsequently be boxed, shaded, set in a particular
14 font, etc. For example, lets say we want to box the most frequently
15 occuring character at each position in an alignment.
21 tells ALSCRIPT to prepare a mask.
25 specifies that the most frequently occuring character at each position
26 in the alignment will be masked. This command can be restricted to a
27 region of the alignment using: mask FRE sx sy ex ey, where sx etc
28 define the region in the same way as for font_region and other commands.
32 Tells ALSCRIPT to create the boxing lines that will separate the masked
33 characters from non-masked characters - this command may also be
34 restricted to a region of the alignment.
36 The mask can be reset for re-use using the command:
40 Two further commands define which characters can be used when
41 calculating the mask. This allows gap-characters, or other amino acids
42 to be excluded from the calculation to avoid unwanted boxing.
44 mask LEGAL "AVLI"
46 defines the AVL and I as the only characters that will be used when
49 mask ILLEGAL ".-_"
51 defines .- and _ as characters that will not be used when calculating
52 the mask. NOTE: the blank character " " cannot be defined in this way.
53 To avoid boxing " " characters substitute blanks for something else
54 (using SUB_CHARS), calculate the mask, then substitute back.
58 <LI> <A NAME=tex2html280 HREF=subsection3_13_1.html#SECTION00013100000000000000> Summary of mask commands</A>