= {
"Returns None or the approximate host gene of the provided GtfDict"},
"Appends the provided element to the GtfList"},
"Extends the gene list with the provided iterable"},
"Inserts the provided object at the provided position"},
"Splits this gene list by the seqnames"},
{
"find", (PyCFunction)
GtfList_find, METH_VARARGS | METH_KEYWORDS,
"Splits this gene list by the seqnames"},
"Returns a list of the values of the provided key"},
{NULL, NULL, 0, NULL}
}
static PyObject * GtfList_sq_split(GtfList *restrict self)
Splits the gene list into a dict of GtfLists with each GtfList having only one seqname.
Definition GtfList.c:386
static PyObject * GtfList_append(GtfList *restrict self, PyObject *restrict args)
Wrapper over list.append that throws a type error if the provided arg is not a GtfDict.
Definition GtfList.c:215
static PyObject * GtfList_column(GtfList *restrict self, PyObject *restrict args, PyObject *restrict kwargs)
Gets the values of a column in the GtfList.
Definition GtfList.c:416
static PyObject * GtfList_insert(GtfList *restrict self, PyObject *restrict args)
A wrapper over the default list insert that does a type check.
Definition GtfList.c:295
static PyObject * GtfList_find(GtfList *restrict self, PyObject *restrict args, PyObject *restrict kwargs)
Finds a sequence within the GtfList.
Definition GtfList.c:485
static PyObject * GtfList_findHost(GtfList *restrict self, PyObject *restrict args)
Finds the host gene of the gene in args assuming this object contains the correct host gene.
Definition GtfList.c:136
static PyObject * GtfList_extend(GtfList *restrict self, PyObject *restrict args)
Custom list extend that does a type check.
Definition GtfList.c:270