eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
Data Fields
GtfDict Struct Reference

A dict that holds GTF data. More...

#include <GtfDict.h>

Data Fields

union { 
 
   PyObject *   core [8] 
 The core GTF fields accessible as an array for iteration. More...
 
   struct { 
 
      PyObject *   seqname 
 
      PyObject *   source 
 
      PyObject *   feature 
 
      PyObject *   start 
 
      PyObject *   end 
 
      PyObject *   score 
 
      PyObject *   reverse 
 
      PyObject *   frame 
 
   }  
 The core GTF fields accessible as named fields.
 
};  
 
struct hashmap_s attributes
 The attributes of the GTF line.
 

Detailed Description

A dict that holds GTF data.

An object meant to hold a single GTF line. The core GTF fields are stored within the object itself, while the attributes are stored in a separate dict. This object is meant to be used as a dict, but also provides a method to convert itself to a valid GTF line

Note
This object is NOT a subclass of the Python dict object, but it behaves like one

Field Documentation

◆ [union]

union { ... } GtfDict

◆ attributes

GtfDict::attributes

The attributes of the GTF line.

◆ core

PyObject* GtfDict::core[8]

The core GTF fields accessible as an array for iteration.

See also
gtfFields

◆ end

PyObject* GtfDict::end

◆ feature

PyObject* GtfDict::feature

◆ frame

PyObject* GtfDict::frame

◆ reverse

PyObject* GtfDict::reverse

◆ score

PyObject* GtfDict::score

◆ seqname

PyObject* GtfDict::seqname

◆ source

PyObject* GtfDict::source

◆ start

PyObject* GtfDict::start

The documentation for this struct was generated from the following file: