A module providing a reader for Fasta files.
More...
A module providing a reader for Fasta files.
◆ FastaReader_dealloc()
| static void FastaReader_dealloc |
( |
FastaReader *restrict | self | ) |
|
|
static |
◆ FastaReader_init()
| static int FastaReader_init |
( |
FastaReader * | self, |
|
|
PyObject * | args, |
|
|
PyObject * | kwds ) |
|
static |
Initialize a FastaReader object.
- Parameters
-
| self | The FastaReader object to initialize. |
| args | The positional arguments passed to the constructor. |
| kwds | The keyword arguments passed to the constructor. |
- Returns
- 0 on success, -1 on failure.
◆ FastaReader_next()
| static PyObject * FastaReader_next |
( |
FastaReader *restrict | self | ) |
|
|
static |
Read the next sequence from the FastaReader object.
- Parameters
-
- Returns
- The next sequence as a tuple (title, sequence), or NULL on error.
◆ FastaReaderType
| PyTypeObject FastaReaderType |
|
extern |