File: codonUtils.h

package info (click to toggle)
fastml 3.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,772 kB
  • sloc: cpp: 48,522; perl: 3,588; ansic: 819; makefile: 386; python: 83; sh: 55
file content (37 lines) | stat: -rw-r--r-- 1,107 bytes parent folder | download | duplicates (5)
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
#ifndef CODON_UTILS_H
#define CODON_UTILS_H

#include <iostream>
#include "nucleotide.h"
#include "codon.h"
#include "amino.h"
#include "logFile.h"
#include "fastaFormat.h"
#include "clustalFormat.h"
#include "recognizeFormat.h"
#include "someUtil.h"
#include "definitions.h"
#include "sequenceContainer.h"
#include "stochasticProcess.h"
#include "wYangModel.h"
#include "evaluateCharacterFreq.h"
#include "geneticCodeHolder.h"
#include "codon.h"
using namespace std;



void checkInputSeqLength(string codonFile);
sequenceContainer convertCodonToAmino(sequenceContainer &codonSc,codon *codonAlph);
vector<vector<int> > create7ColorValues();
void outToRasmolFile(string fileName,vector<int>& color4Site);

MDOUBLE getMatricesNormalizationFactor(vector<stochasticProcess> & spVec,const distribution * forceDistr);
void normalizeMatrices(vector<stochasticProcess> & spVec,const distribution * forceDistr);

Vdouble freqCodonF3x4(const sequenceContainer &nucSc,codon *coAlph);

void kaks2Color(const Vdouble & kaksVec,const Vdouble &lowerBoundV, 
		const sequence & refSeq, string fileName,codon *co);

#endif