eccLib 1.1.0
Python library for bioinformatics written in C
|
Contains the implementation of the iterative GTF reader. More...
#include "GtfReader.h"
#include <Python.h>
#include <stdbool.h>
#include "../formats/gtf.h"
#include "object.h"
Functions | |
static int | GtfFile_init (GtfFile *self, PyObject *args, PyObject *kwds) |
Saves the provided filename and checks if it exists. | |
static PyObject * | GtfFile_iter (GtfFile *self) |
Creates a GtfReader object from the GtfFile. | |
static void | GtfFile_dealloc (GtfFile *self) |
static int | GtfReader_init (GtfReader *self, PyObject *args, PyObject *kwds) |
Initializes the GtfReader. | |
static PyObject * | GtfReader_next (GtfReader *restrict self) |
Retrieves the next line of the opened file and tries parsing it. | |
static void | GtfReader_dealloc (GtfReader *restrict self) |
Deallocates the GtfReader. | |
Variables | |
static PyMethodDef | GtfFile_methods [] |
Methods for the GtfFile class. | |
PyTypeObject | GtfFileType |
The Python type definition for the GtfFile object. | |
PyTypeObject | GtfReaderType |
The Python type definition for the GtfReader object. | |
Contains the implementation of the iterative GTF reader.
|
static |
|
static |
Initializes the GtfReader.
self | |
args | standard python argument tuple |
kwds | unsupported! |
|
static |
Methods for the GtfFile class.