PandA-2024.02
nw_test.c
Go to the documentation of this file.
1 #include "nw.h"
2 //#include "seq.h"
3 
4 int main(){
5  int i;
6  char allignedA[N+M];
7  char allignedB[M+M];
8 
9 char seqA[N] = "tcgacgaaataggatgacagcacgttctcgtattagagggccgcggtacaaaccaaatgctgcggcgtacagggcacggggcgctgttcgggagatcgggggaatcgtggcgtgggtgattcgccggc";
10 
11  char seqB[M] = "ttcgagggcgcgtgtcgcggtccatcgacatgcccggtcggtgggacgtgggcgcctgatatagaggaatgcgattggaaggtcggacgggtcggcgagttgggcccggtgaatctgccatggtcgat";
12  char sA[N];
13  char sB[M];
14  for(i=0;i<M;i++){
15  sA[i] = seqA[i];
16  sB[i] = seqB[i];
17  }
18 
19  /*
20  char sA[N] = "AGTA";
21  char sB[M] = "ATA";
22  */
23  needwun(sA, sB, allignedA, allignedB);
24 
25  return 0;
26 }
void needwun(char SEQA[ALEN], char SEQB[BLEN], char alignedA[ALEN+BLEN], char alignedB[ALEN+BLEN], int M[(ALEN+1) *(BLEN+1)], char ptr[(ALEN+1) *(BLEN+1)])
Definition: nw.c:13
int main()
Definition: nw_test.c:4
#define N
Definition: dfdiv.c:60
#define M
Definition: gsm.c:30

Generated on Mon Feb 12 2024 13:02:50 for PandA-2024.02 by doxygen 1.8.13