eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
FastaReader.h
Go to the documentation of this file.
1
6#ifndef FASTAREADER_H
7#define FASTAREADER_H
8
9#include "../reader.h"
10#include <Python.h>
11
30typedef struct {
31 struct reader base;
32 bool binary;
33 char *title;
34 size_t title_len;
36
43typedef struct {
44 struct file base;
45 bool binary;
46} FastaFile;
47
52extern PyTypeObject FastaFileType;
53
58extern PyTypeObject FastaReaderType;
59
60#endif
PyTypeObject FastaFileType
The Python type definition for the FastaFile object.
Definition FastaReader.c:62
PyTypeObject FastaReaderType
The Python type definition for the FastaReader object.
Definition FastaReader.c:310
A file that holds Fasta data.
Definition FastaReader.h:43
bool binary
Definition FastaReader.h:45
A reader that reads Fasta files.
Definition FastaReader.h:30
bool binary
Definition FastaReader.h:32
char * title
Definition FastaReader.h:33
size_t title_len
Definition FastaReader.h:34
File base struct.
Definition reader.h:71
Reader base struct.
Definition reader.h:33