-
Notifications
You must be signed in to change notification settings - Fork 0
/
translation.h
45 lines (38 loc) · 1.3 KB
/
translation.h
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
44
45
//
// Created by M on 28/03/2018.
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef CONPUTAGENE_TRANSLATION_H
#define CONPUTAGENE_TRANSLATION_H
#define TAMCABECALHO 45
#define QNTREADS 118610
/*typedef struct StructRead{
unsigned short numRead;
unsigned short inicio;
unsigned short fim;
short fita;
unsigned short contigRead;
char *reads;
} structRead;
*/
typedef struct StructRead{
unsigned inicio;
unsigned fim;
char fita;
unsigned short contigRead;
char *reads;
} structRead;
char * lerRNAFull(FILE *); /*Ler arquivo completo, ou seja, toda a fita de RNA */
char * readRNAPart(char*, int, int); /*Ler arquivo parcialmente, ou seja, dentro de um limite especificado do nucleotideo inicial ao final da cadeia. */
char * gerarPolipeptideo(char *); /*Ler rMNA e realiza o processo de tradução. Função imprime e retorna a cadeia com os aminoacidos correspondentes. */
char * invertRNA(char *); /*Inverte a sequência de nucleotideos do RNA*/
void complementRNA(char *); /*Gera a fita complementar da fita de RNA existente*/
char codigoGenetico(char[]);
float calcMassa(char *);
int calcFrame(int );
int buscaPromotor(char *, int, int);
char ** calcFragmentos(int *, char *, char *);
void leArqReads(structRead[], FILE *);
#endif //CONPUTAGENE_TRANSLATION_H