Pepallwindow

Go back to top

PEPALLWINDOW(+)


FUNCTION

PepAllWindow plots measures of protein hydrophobicity according to the method of Kyte and Doolittle.


DESCRIPTION

PepAllWindow plots measures of protein hydrophathy according to the method of Kyte and Doolittle (J.Mol. Biol.(1982) 157:105-132). The curve, by default, is an average of a residue specific hydrophathy index over a window of nine residues (the default value). When the line is in the upper part of the frame, it indicates a hydrophobic region, and when the line is in the lower half, a hydrophilic region. An alternative curve, depicting the median value passed through a cascade of median filters (Bangham, J.A., Anal. Biochem. 174, 142-145 (1988)) can be obtained by adding -MESH=x on the command line.


AUTHOR

This program was written by Peter Rice (E-mail: pmr@sanger.ac.uk Post: Informatics Division, The Sanger Centre, Hinxton Hall, Cambridge, CB10 1RQ, UK).

All EGCG programs are supported by the EGCG Support Team, who can be contacted by E-mail (egcg@embnet.org).


EXAMPLE

Here is a session with PepAllWindow

  
  
  % pepallwindow
  
   PEPALLWINDOW uses protein sequences
  
   PEPALLWINDOW of what sequence(s)  ?  @pretty.list
  
              Start (* 1 *) ?
              End (* 506 *) ?
  
    The minimum density for a one-page plot is 440.0 residues/100 platen
    units. What density do you want (* 440.0 *) ?
  
    PepAllWindow of what protein sequence ?
  
  %
  


OUTPUT

This is the plot from the example session


CONSIDERATIONS

PepAllWindow output displays the distribution of polar and apolar residues along a sequence. The plot may be used to spot putative membrane-buried segments and exposed parts such as antigenic determinants, or to compare distantly related sequences to see if some charactersitic pattern of hydrophobicity has been preserved. PepAllWindow plots default to a running average curve. The qualifier MESH=x will plot a median sieved through a cascade of median filters. Care should be taken when using this plot as it increases the contrast of the data but provides no image enhancement.


SUGGESTIONS

Window values of 5-7 residues seem appropriate for finding surface- exposed regions that might be antigenic sites, whereas windows of 19-21 residues will make long, hydrophobic membrane spanning segments stand out more clearly. PepAllWindow uses a default window of 9. This value can be changed by using the qualifier -WINdow=19. Mesh values from 2 to 25 are allowed. Increasing -MESH=x values over which the median is calculated results in a reduction of of ther signal to a line with little contrast. Recommended values are -MESH=11 which should show membrane spanning regions capable of crossing the membrane twice.


INPUT FILE

The input file for PepAllWindow is a protein sequence file or a multiple alignment. Several individual sequences or groups of sequences can be plotted. On a colour plotter the colours will alternate red and blue.


COMMAND-LINE SUMMARY

All parameters for this program may be put on the command line. Use the option -CHEck to see the summary below and to have a chance to add things to the command line before the program executes. In the summary below, the capitalized letters in the qualifier names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose qualifiers or parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Basic Concepts: Using Programs in the GCG User's Guide.

  
  
  Minimum syntax: % pepallwindow [-INfile=]@pretty.list -Default
  
  Prompted Parameters:
  
  -BEGin=1 -END=201 the range of interest
  
  Local Data Files:
  
  (None)
  
  Optional Parameters:
  
  -NOAVERage                separate line for each sequence in alignment
  -TITLEText                user defined title text
  -YAXISlabel               user defined y-axis label
  -INDEXline=1.3            displays index line at y-axis pos. 1.3
  -MARK=l1.mrk              marks x-axis
  -SHOWSeq                  displays the sequence
  -NOPLOt                   suppresses the whole plot
  -WINdow=9                 sets the window for hydropathy averaging
  -LABHeight=1.5            axis label and title character height
  -BOXES                    makes a box around each quantitative panel
  -MESH=2                   calculates the median instead of average
                       hydropathy
  Most EGCG graphics programs accept these and other switches. See the Using
  Graphics chapter of the EGCG USERS GUIDE for descriptions.
  
  -DENSity=150.0        plot density in bases per 100 platen units
  -LEFTMARgin=10.0      sets the left plot margin position
  -RIGHTMARgin=140.0    sets the right plot margin position
  -BOTTOMMARgin=10.0    sets the bottom plot margin position
  -TOPMARgin=90.0       sets the top plot margin position
  -BORDer               puts a line border around the plot
  -NOBORDer             suppresses a line border
  -PAGENUMber           forces page numbering
  -NOPAGENUMber         suppresses page numbering
  -TITletext="text"     overrides the default plot title
  -NOTITletext          suppresses the plot title
  -SUBTITletext="text"  overrides the default plot subtitle
  -NOSUBTITletext       suppresses the plot subtitle
  -CHEIGHT=1.5          default plot character height
  -LINESTyle1=1         plot line style 1 (set for each line)
  -LINEPERiod1=1        plot line period 1 (set for each line)
  -LINECOLor1=0         plot line colour 1 (set for each line)
  All GCG graphics programs accept these and other switches. See the Using
  Graphics chapter of the USERS GUIDE for descriptions.
  
  -FIGure[=FileName]  stores plot in a file for later input to FIGURE
  -FONT=3             draws all text on the plot using font 3
  -COLor=1            draws entire plot with pen in stall 1
  -SCAle=1.2          enlarges the plot by 20 percent (zoom in)
  -XPAN=10.0          moves plot to the right 10 platen units (pan right)
  -YPAN=10.0          moves plot up 10 platen units (pan up)
  -PORtrait           rotates plot 90 degrees
  


GRAPHICS

The Wisconsin Package must be configured for graphics before you run any program with graphics output! If the % setplot command is available in your installation, this is the easiest way to establish your graphics configuration, but you can also use commands like % postscript that correspond to the graphics languages the Wisconsin Package supports. See Chapter 5, Using Graphics in the User's Guide for more information about configuring your process for graphics.


CTRL-C

If you need to stop this program, use C to reset your terminal and session as gracefully as possible. Searches and comparisons write out the results from the part of the search that is complete when you use C. The graphics device should stop plotting the current page and start plotting the next page. If the current page is the last page, plotters should put the pen away and graphic terminals should return to interactive mode.


OPTIONAL PARAMETERS

The parameters and switches listed below can be set from the command line. For more information, see "Using Program Parameters" in Chapter 3, Basic Concepts: Using Programs in the GCG User's Guide.

These options apply to all GCG graphics programs. These and many others are described in detail in Chapter 5, Using Graphics of the User's Guide.

-FIGure=programname.figure

writes the plot as a text file of plotting instructions suitable for input to the Figure program instead of drawing the plot on your plotter.

-FONT=3

draws all text characters on the plot using Font 3 (see Appendix I) .

-COLor=1

draws the entire plot with the pen in stall 1.

These options let you expand or reduce the plot (zoom), move it in either direction (pan), or rotate it 90 degrees (rotate).

-SCAle=1.2

expands the plot by 20 percent by resetting the scaling factor (normally 1.0) to 1.2 (zoom in). You can expand the axes independently with -XSCAle and -YSCAle. Numbers less than 1.0 contract the plot (zoom out).

-XPAN=30.0

moves the plot to the right by 30 platen units (pan right).

-YPAN=30.0

moves the plot up by 30 platen units (pan up).

-PORtrait

rotates the plot 90 degrees. Usually, plots are displayed with the horizontal axis longer than the vertical (landscape). Note that plots are reduced or enlarged, depending on the platen size, to fill the page.


REFERENCES

Kyte, J. and Doolittle, R.F. (1982) "A Simple Method for Displaying the Hydropathic Character of a Protein." Journal of Molecular Biology 157, 105-132.

Bangham, J.A. (1988) "Data-sieving hydrophobicity plots." Anal. Biochem. 174, 142-45.

Printed: April 22, 1996 15:54 (1162)