new_majiq.Genes
- class rna_majiq.Genes(genes)
Collection of genes on
Contigs
with 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
Genes
from 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
contig_idx
Index of contig on which each region is defined
contigs
Contigs for which these regions are defined
df
xr.Dataset of specified data
end
End coordinate of each region
gene_id
gene_idx
gene_name
start
Start coordinate of each region
strand
Strand direction for each region