mantispy.ds.rohban#
- mantispy.ds.rohban(plates=None, cache_dir=None, *, aggregated=False, feature_selected=False)[source]#
An ORF overexpression screen, with the genes and cell counts that BBBC021 lacks.
cpg0017-rohban-pathways: U2OS cells, one ORF construct overexpressed per well, roughly ten replicate wells per construct over five plates.The base and its variants are pre-built by
scripts/build_staged_datasets.pyfrom the five raw plate tables and rehosted onscverse-exampledata(each under 7 MB), so the loader fetches a single h5ad rather than reassembling the base on every call. The two flags select the variant, which the variants build from per-platemad_robustizenormalization against the untreated wells:both
False: the raw wells with every feature, 1,918 wells by 3,616 features.feature_selected=True: the well-level block after pycytominer-default feature selection, 1,918 wells by 751 features.aggregated=True: onemodzconsensus (Spearman,min_replicates=2) perMetadata_Geneover the screened wells (untreated and transfection controls dropped), 190 genes by 3,616 features.aggregated=True, feature_selected=True: that same gene consensus on the feature-selected block, 190 genes by 751 features.
- Parameters:
plates (
Sequence[str] |None(default:None)) – Plate barcodes to load, all five when omitted. Only applies to the base; the hosted base is fetched once and subset to these plates in memory.cache_dir (
str|Path|None(default:None)) – Where to keep the download. Defaults tomantispy.settings.cache_dir.aggregated (
bool(default:False)) – Return the gene-levelmodzconsensus instead of the raw wells.feature_selected (
bool(default:False)) – Return the feature-selected block instead of all features.
- Return type:
- Returns:
The raw wells by features at well resolution when both flags are
False, else the staged variant selected by the two flags, read withmantispy.io.read().The base object carries:
Metadata_Perturbation: the ORF construct (Metadata_broad_sample, ~323 of them), the unit the screen varied and what replicate wells share. Several constructs can overexpress the same gene, so this is finer than the gene; the paper’s active set is construct-level. The control ORFs read as theirMetadata_pert_name(Luciferase_CTRL,LacZ_CTRL,eGFP_CTRL) and the untreated EMPTY wells as"untreated".Metadata_Perturbation_Type:"orf"for the overexpression constructs and controls,"untreated"for the EMPTY wells.Metadata_Gene(the overexpressed gene, 194 of them, sotl.pathway_coherenceandtl.enrich_hitsgroup by it),Metadata_Construct(thebroad_sample, missing on the controls and EMPTY wells) andMetadata_Allele(the human-readablepert_name, which separates allele variants).Metadata_Control,Metadata_CellCount,Metadata_SiteCountand the screen’s ownMetadata_gene_name,Metadata_GeneIDandMetadata_ASSAY_WELL_ROLE.- Raises:
KeyError – A plate is not one of the five.
ValueError –
aggregatedorfeature_selectedis not a bool, orplatesis given for a variant.
Notes
Metadata_Controlmarks the wells transfected with a control ORF (Luciferase, LacZ and eGFP), the reference for normalization. The untreated wells (Metadata_gene_name == "EMPTY") were never transfected and are not flagged; they carryMetadata_Perturbation == "untreated", so drop them if a gene-level analysis should not see them. Regroup replicates to the gene withgroupby="Metadata_Gene"ortl.consensus(by="Metadata_Gene"); the gene is never smeared into the perturbation id.References
Rohban et al. [2017].