1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/**
* Author: Mark Larkin
*
* Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
*/
/**
* NOTE: This profile is not used in the multiple alignment part. It is used for the
* the clustal Qt part. It is used in the calculation of low scoring segments.
*/
#ifndef LOWSCORESEGPROFILE_H
#define LOWSCORESEGPROFILE_H
#include "../alignment/Alignment.h"
namespace clustalw
{
class LowScoreSegProfile
{
public:
/* Functions */
LowScoreSegProfile(int prfLen, int firstS, int lastS);
void calcLowScoreSegProfile(const SeqArray* seqArray,
int matrix[NUMRES][NUMRES], vector<int>* seqWeight);
const SeqArray* getProfilePtr(){return &profile;};
/* Attributes */
protected:
/* Functions */
/* Attributes */
SeqArray profile;
int prfLength;
int firstSeq, lastSeq;
private:
/* Functions */
/* Attributes */
};
}
#endif
|