Bsoft 2.1.4
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"

Functions

int ps_seq_representation (ofstream *fps, vector< double > &nseq)
 
int ps_seq_periodicity (ofstream *fps, vector< Complex< float > > &per)
 
int ps_seq_info (Bstring &filename, Bstring &title, int nres, vector< double > &info, vector< double > &nseq, vector< Complex< float > > &per, vector< double > &freq, string &pattern)
 Generates a postscript plot from an information content analysis of a protein sequence alignment. More...
 
int ps_seq_hydrophob (Bstring &filename, Bstring &title, vector< double > &Hphob, vector< int > &HPseg, vector< double > &nseq, vector< 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: 20210426

Function Documentation

◆ ps_seq_hydrophob()

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

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

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

◆ ps_seq_info()

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

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

Parameters
&filenamepostscript file name.
&titletitle.
nresnumber of residue types.
&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.

◆ ps_seq_periodicity()

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

◆ ps_seq_representation()

int ps_seq_representation ( ofstream *  fps,
vector< double > &  nseq 
)

Variable Documentation

◆ verbose

int verbose
extern