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

Functions

int ps_seq_info (Bstring &filename, Bstring &title, int nres, int length, double *info, double *nseq, Complex< float > *per, double *freq, char *pattern)
 
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, int length, double *Hphob, int *HPseg, double *nseq, Complex< float > *per)
 
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...
 

Detailed Description

Header file for postscript output for sequence analysis functions.

Author
Bernard Heymann
Date
Created: 20010515
Modified: 20210426

Function Documentation

◆ ps_seq_hydrophob() [1/2]

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

◆ ps_seq_hydrophob() [2/2]

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() [1/2]

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

◆ ps_seq_info() [2/2]

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.