rna_majiq.Genes
- class rna_majiq.Genes(genes)
Collection of genes on
Contigswith their coordinates, and ids- Parameters:
genes (
_Genes) – Underlying object binding the internal C++ API
See also
Contigs.from_zarr- __init__(genes)
Methods
__init__(genes)annotate_gene_idx(df)For now, just add gene_id to df using df.gene_idx
checksum()from_arrays(contigs, contig_idx, start, end, ...)from_zarr(store[, contigs])Load
Genesfrom specified path/storeoverlaps(other[, region_idx])Get mask over region_idx indicating if they overlap regions in other
slice_for_contig(contig_idx)to_zarr(store, mode[, consolidated, drop_vars])Serialize to zarr format.
Attributes
DF_VARSIDX_NAMEZARR_GROUPcontig_idxIndex of contig on which each region is defined
contigsContigs for which these regions are defined
dfxr.Dataset of specified data
endEnd coordinate of each region
gene_idgene_idxgene_namestartStart coordinate of each region
strandStrand direction for each region