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

Postscript output for sequence analysis functions. More...

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

Go to the source code of this file.

Functions

int ps_seq_representation (ofstream *fps, int length, double *nseq)
 
int ps_seq_periodicity (ofstream *fps, int length, Complex< float > *per)
 
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...
 

Variables

int verbose
 

Detailed Description

Postscript output for sequence analysis functions.

Author
Bernard Heymann
Date
Created: 20010515
Modified: 20120423

Definition in file ps_sequence.cpp.

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.

◆ ps_seq_periodicity()

int ps_seq_periodicity ( ofstream *  fps,
int  length,
Complex< float > *  per 
)

Definition at line 324 of file ps_sequence.cpp.

◆ ps_seq_representation()

int ps_seq_representation ( ofstream *  fps,
int  length,
double *  nseq 
)

Definition at line 282 of file ps_sequence.cpp.

Variable Documentation

◆ verbose

int verbose
extern