rna_majiq.SpliceGraph
- class rna_majiq.SpliceGraph(sg)
Representation of all possible splicing changes in each gene.
Representation of splicing in each gene as exons connected by spliced junctions and retained introns. This representation is composed of:
the collection of all
Contigs(e.g. chromosomes) on which genes can be defined (SpliceGraph.contigs),the collection of all
Genesand their coordinates on the splicegraph contigs (SpliceGraph.genes),the collection of all
Exonsfor each gene (SpliceGraph.exons),the collection of all
GeneIntronsfor each gene (SpliceGraph.introns),the collection of all
GeneJunctionsfor each gene (SpliceGraph.junctions),ExonConnectionsassociating introns and junctions to source and target exons, enabling the identification of splicing events, e.g. LSVs (SpliceGraph.exon_connections).
- Parameters:
sg (
rna_majiq.internals.SpliceGraph) – Underlying object binding the internal C++ API
See also
SpliceGraph.from_gff3Initialize
SpliceGraphfrom GFF3 fileSpliceGraph.from_componentsConstruct
SpliceGraphfrom componentsSpliceGraph.from_zarrLoad
SpliceGraphsaved in Zarr format
- __init__(sg)
Construct
SpliceGraphusing object from internal C++ API- Parameters:
sg (
rna_majiq.internals.SpliceGraph) – Underlying object binding the internal C++ API
Methods
__init__(sg)Construct
SpliceGraphusing object from internal C++ APIcombine(make_annotated, keep_denovo[, ...])Combine input splicegraphs into single
SpliceGraph.from_components(contigs, genes, exons, ...)Construct
SpliceGraphwith given componentsfrom_gff3(path[, process_ir, gff3_types, ...])Create
SpliceGraphfrom GFF3 transcriptome annotationsfrom_zarr(store[, genes, preload])Load
SpliceGraphfrom specified path/storeget_gene_view([gene_idx, gene_id, gene_name])Get view into specific gene (requires matplotlib)
modules([sg_mask])Create
GeneModulesover this splicegraph with maskto_sqlite(path[, genome_name])Save splicegraph to legacy format
to_zarr(store[, mode])Save
SpliceGraphto specified path/storewith_updated_exon_connections(exon_connections)Create
SpliceGraphfrom exon connections with same genesAttributes
contigsThe collection of all
Contigson which genes can be definedexon_connectionsExonConnectionsfor the splicegraphexonsThe collection of all
Exonsfor each genegenesThe collection of all
Genesand their coordinates on contigsintronsThe collection of all
GeneIntronsfor each genejunctionsThe collection of all
GeneJunctionsfor each genetranscriptsThe collection of all
Genesand their coordinates on contigs