eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
FastaFile

A module providing a file object for Fasta files. More...

Data Structures

struct  FastaFile
 A file that holds Fasta data. More...
 

Functions

static int FastaFile_init (FastaFile *self, PyObject *args, PyObject *kwds)
 Saves the provided filename and checks if it exists.
 
static PyObject * FastaFile_iter (FastaFile *self)
 Creates a FastaReader object from the FastaFile.
 

Variables

PyTypeObject FastaFileType
 The Python type definition for the FastaFile object.
 

Detailed Description

A module providing a file object for Fasta files.

Function Documentation

◆ FastaFile_init()

static int FastaFile_init ( FastaFile self,
PyObject *  args,
PyObject *  kwds 
)
static

Saves the provided filename and checks if it exists.

Parameters
self
argsstandard python argument tuple
kwdsunsupported!
Returns
-1 on error
Here is the call graph for this function:

◆ FastaFile_iter()

static PyObject * FastaFile_iter ( FastaFile self)
static

Creates a FastaReader object from the FastaFile.

Parameters
self
Returns
a FastaReader object or NULL on error
Here is the call graph for this function:

Variable Documentation

◆ FastaFileType

PyTypeObject FastaFileType
extern

The Python type definition for the FastaFile object.