C语言小练习:计算非压缩fastq格式的GC含量
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #define buff 1024 5 6 typedef unsigned long long int u_llong; 7 8 static void usage(int num,const char *str) 9 { 10 if(num !=2) 11 { 12 fprintf(stderr,"usage: %s fqFile ",str); 13 exit(0); 14 } 15 } 16 17 static u_llong* gcN(char base[buff]) 18 { 19 base[strlen(base)-1]='