X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sources%2Falscript%2Fdoc%2Falscript%2Fsection3_13.html;fp=sources%2Falscript%2Fdoc%2Falscript%2Fsection3_13.html;h=8d77a5ecd3c708a33bf361cab1f104532da76e7f;hb=4a806b607a11fc8a5296b11d5b863bbf8a448808;hp=0000000000000000000000000000000000000000;hpb=443c228bf0712d71e7fa34b5a2dc4b2b2e79f13f;p=jpred.git diff --git a/sources/alscript/doc/alscript/section3_13.html b/sources/alscript/doc/alscript/section3_13.html new file mode 100644 index 0000000..8d77a5e --- /dev/null +++ b/sources/alscript/doc/alscript/section3_13.html @@ -0,0 +1,65 @@ + + The MASK command family + +

+



+ Next: Summary of mask +Up: No Title + Previous: Using Colour +

+

The MASK command family

+

+The idea behind the MASK command is to build up a set of character +positions that will subsequently be boxed, shaded, set in a particular +font, etc. For example, lets say we want to box the most frequently +occuring character at each position in an alignment. +

+The command +

+mask SETUP +

+tells ALSCRIPT to prepare a mask. +

+mask FRE ALL +

+specifies that the most frequently occuring character at each position +in the alignment will be masked. This command can be restricted to a +region of the alignment using: mask FRE sx sy ex ey, where sx etc +define the region in the same way as for font_region and other commands. +

+mask BOX ALL +

+Tells ALSCRIPT to create the boxing lines that will separate the masked +characters from non-masked characters - this command may also be +restricted to a region of the alignment. +

+The mask can be reset for re-use using the command: +

+mask RESET +

+Two further commands define which characters can be used when +calculating the mask. This allows gap-characters, or other amino acids +to be excluded from the calculation to avoid unwanted boxing. +

+mask LEGAL "AVLI" +

+defines the AVL and I as the only characters that will be used when +calculating the mask. +

+mask ILLEGAL ".-_" +

+defines .- and _ as characters that will not be used when calculating +the mask. NOTE: the blank character " " cannot be defined in this way. +To avoid boxing " " characters substitute blanks for something else +(using SUB_CHARS), calculate the mask, then substitute back. +

+


+ +
+ + +

+gjb@bioch.ox.ac.uk +
\ No newline at end of file