Bsoft  2.1.0
Bernard's software package
ps_sequence.h File Reference

Header file for postscript output for sequence analysis functions. More...

#include "Complex.h"
#include "utilities.h"

Go to the source code of this file.

Functions

int ps_seq_info (Bstring &filename, Bstring &title, int nres, int length, double *info, double *nseq, Complex< float > *per, double *freq, char *pattern)
 Generates a postscript plot from an information content analysis of a protein sequence alignment. More...
 
int ps_seq_hydrophob (Bstring &filename, Bstring &title, int length, double *Hphob, int *HPseg, double *nseq, Complex< float > *per)
 Generates a postscript plot from a hydrophobicity analysis of a protein sequence alignment. More...
 

Detailed Description

Header file for postscript output for sequence analysis functions.

Author
Bernard Heymann
Date
Created: 20010515
Modified: 20060722

Definition in file ps_sequence.h.

Function Documentation

◆ ps_seq_hydrophob()

int ps_seq_hydrophob ( Bstring &  filename,
Bstring &  title,
int  length,
double *  Hphob,
int *  HPseg,
double *  nseq,
Complex< float > *  per 
)

Generates a postscript plot from a hydrophobicity analysis of a protein sequence alignment.

Parameters
&filenamepostscript file name.
&titletitle.
lengthnumber of alignment positions.
*Hphobmoving average of average hydrophobicity at each position.
*HPsegassignment of hydrophobic segments.
*nseqnumber of sequences represented at each position.
*perperiodicity analysis.
Returns
int 0.

Definition at line 194 of file ps_sequence.cpp.

◆ ps_seq_info()

int ps_seq_info ( Bstring &  filename,
Bstring &  title,
int  nres,
int  length,
double *  info,
double *  nseq,
Complex< float > *  per,
double *  freq,
char *  pattern 
)

Generates a postscript plot from an information content analysis of a protein sequence alignment.

Parameters
&filenamepostscript file name.
&titletitle.
nresnumber of residue types.
lengthnumber of alignment positions.
*infomoving average of information content.
*nseqnumber of sequences represented at each position.
*perperiodicity analysis.
*freqfrequence of each residue type at each position.
*patternresidue types at each position, in frequency order.
Returns
int 0.

Definition at line 33 of file ps_sequence.cpp.