File: base_comp.h

package info (click to toggle)
staden 2.0.0%2Bb11-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,584 kB
  • sloc: ansic: 240,605; tcl: 65,360; cpp: 12,854; makefile: 11,203; sh: 3,023; fortran: 2,033; perl: 63; awk: 46
file content (24 lines) | stat: -rw-r--r-- 736 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
int Plot_Base_Comp(int win_len, 
		   int *score,
		   char *seq,
		   int seq_len,
		   int start,
		   int end,
		   int *match,
		   int *max_match);

int 
get_base_comp_res(char seq[], int seq_length, 
		  int window_length, /* sum over all windows this length */
		  int user_start,    /* seq start numbering from 1 */
		  int user_end,      /* seq end numbering from 1 */
		  double score[],    /* score for each base type */
		  double result[],   /* put results here */
		  double *min,       /* min result */
		  double *max);      /* max result */

double get_base_comp_mass(int a, int c, int g, int t);

void get_aa_comp (char *seq, int seq_length, double aa_comp[25]);
void get_aa_comp_mass(double *aa_comp, double *mass);