mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-26 02:38:12 +08:00
Input reads
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "Assembly.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "Process_Read.h"
|
||||
|
||||
void Counting()
|
||||
{
|
||||
Read r;
|
||||
init_Read(&r);
|
||||
|
||||
long long read_number = 0;
|
||||
|
||||
while (inputRead(&r))
|
||||
{
|
||||
|
||||
fprintf(stderr,"%s\n",r.name);
|
||||
|
||||
fprintf(stderr,"%s\n",r.seq);
|
||||
fprintf(stderr,"+\n");
|
||||
fprintf(stderr,"%s\n",r.qual);
|
||||
|
||||
|
||||
read_number++;
|
||||
|
||||
clear_read(&r);
|
||||
}
|
||||
|
||||
fprintf(stdout, "read_number: %lld\n",read_number);
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user