FastqPuri
Classes | Typedefs | Functions
io_trimFilter.h File Reference

buffer fq output, write summary file More...

#include <stdio.h>
#include "defines.h"
Include dependency graph for io_trimFilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _stats_TF
 collects stats info from the filtering procedure More...
 

Typedefs

typedef struct _stats_TF Stats_TF
 collects stats info from the filtering procedure
 

Functions

void buffer_output (FILE *fout, const char *a, const int len, const int fd_i)
 buffers the output before writing to disk, writes out summary More...
 
void write_summary_TF (Stats_TF tf_stats, char *filename)
 writes stats of filtering to summary file (binary)
 

Detailed Description

buffer fq output, write summary file

Author
Paula Perez paula.nosp@m.pere.nosp@m.zrubi.nosp@m.o@gm.nosp@m.ail.c.nosp@m.om
Date
29.08.2017

Function Documentation

◆ buffer_output()

void buffer_output ( FILE *  fout,
const char *  str,
const int  len,
const int  fd_i 
)

buffers the output before writing to disk, writes out summary

Parameters
foutFILE pointer where we might write to disk;
strstring we want to add
lenlength of the string we want to add
fd_iidentifier: GOOD, ADAP, CONT, LOWQ, NNNN