Bsoft  2.1.0
Bernard's software package
seq_analysis.h
Go to the documentation of this file.
1 
9 #include "rwmolecule.h"
10 #include "rwresprop.h"
11 #include "Complex.h"
12 #include "Matrix.h"
13 #include "utilities.h"
14 
15 // Function prototypes
16 long seq_limit(Bmolgroup* molgroup, Bstring& refseq);
18 Matrix seq_aligned_similarity(Bmolgroup* molgroup, double threshold, Bresidue_matrix* simat);
19 long seq_select(Bmolgroup* molgroup, long minlen, long maxlen);
20 long seq_select(Bmolgroup* molgroup, Matrix mat, long ref, double cutoff);
21 long seq_delete(Bmolgroup* molgroup, Matrix mat);
22 char* seq_aligned_profile(Bmolgroup* molgroup);
23 int seq_aligned_information(Bmolgroup* molgroup, int window, Bstring& psfile);
25  int window, double threshold, Bstring& hphobfile, Bstring& psfile);
26 Complex<float>* seq_frequency_analysis(int length, int win, int start, int end, double* data);
28  Bstring& refseqid, double cutoff, Bstring& simfile);
Complex
Definition: Complex.h:23
Bstring
Definition: Bstring.h:29
seq_aligned_profile
char * seq_aligned_profile(Bmolgroup *molgroup)
Generates a PROSITE format profile from an aligned set of sequences.
Definition: seq_analysis.cpp:422
Complex.h
Class for complex numbers.
seq_delete
long seq_delete(Bmolgroup *molgroup, Matrix mat)
Deletes non-selected sequences and corresponding elelments of a comparison matrix.
Definition: seq_analysis.cpp:362
length
double length(vector< T > v)
Definition: Vector3.h:530
rwresprop.h
Header file for reading residue property files.
seq_limit
long seq_limit(Bmolgroup *molgroup, Bstring &refseq)
Limits the selection to the reference sequence in an aligned set.
Definition: seq_analysis.cpp:36
rwmolecule.h
Header file for reading reflection files.
seq_aligned_similarity
Matrix seq_aligned_similarity(Bmolgroup *molgroup, double threshold, Bresidue_matrix *simat)
Calculates the pairwise similarities between aligned sequences.
Definition: seq_analysis.cpp:152
seq_aligned_hydrophobicity
int seq_aligned_hydrophobicity(Bmolgroup *molgroup, int window, double threshold, Bstring &hphobfile, Bstring &psfile)
Calculates the average hydrophobicity at every position in an alignment.
Definition: seq_analysis.cpp:681
utilities.h
Header file for general utilities.
seq_frequency_analysis
Complex< float > * seq_frequency_analysis(int length, int win, int start, int end, double *data)
Fourier transforms a vector for frequency analysis.
Definition: seq_analysis.cpp:821
seq_aligned_information
int seq_aligned_information(Bmolgroup *molgroup, int window, Bstring &psfile)
Calculates the sequence logo representation for an alignment.
Definition: seq_analysis.cpp:527
seq_correlated_mutation
Matrix seq_correlated_mutation(Bmolgroup *molgroup, Bstring &refseqid, double cutoff, Bstring &simfile)
Correlated mutation analysis of an alignment.
Definition: seq_analysis.cpp:933
Matrix.h
Generalized matrix class.
Bmolgroup
Definition: rwmolecule.h:170
seq_select
long seq_select(Bmolgroup *molgroup, long minlen, long maxlen)
Selects sequences within a range of lengths.
Definition: seq_analysis.cpp:233
Matrix
Definition: Matrix.h:22
Bresidue_matrix
Definition: rwresprop.h:44
seq_aligned_identity
Matrix seq_aligned_identity(Bmolgroup *molgroup)
Calculates the pairwise identities between aligned sequences.
Definition: seq_analysis.cpp:73