mantispy.ds.jump_crispr#
- mantispy.ds.jump_crispr(annotate=True, cache_dir=None, *, aggregated=False)[source]#
The assembled JUMP CRISPR arm, 51,185 wells of knockouts in U2OS cells.
cpg0016-jump-assembled, thev1.0awell-position-corrected and feature-selected parquet. jump-profiling-recipe has corrected it for well position and cell count, normalized it and selected its features, and has not yet sphered it. The cell counts are the ones the recipe regresses out of these profiles; theirCells_Count_Countfeature was normalized with the rest and is no longer a count.The annotated base and its gene-level consensus are pre-built by
scripts/build_staged_datasets.pyfrom the raw parquet and rehosted onscverse-exampledata, so the loader fetches a single h5ad rather than reassembling the base on every call. Passingannotate=Falsestill reads the raw profiles directly, without the annotation join.- Parameters:
annotate (
bool(default:True)) – Fetch the annotated base, which names the gene each well’s guides target and which wells are controls.Falsereads the raw profiles without the annotation join and cannot be aggregated.cache_dir (
str|Path|None(default:None)) – Where to keep the download. Defaults tomantispy.settings.cache_dir.aggregated (
bool(default:False)) – Return onemodzconsensus (Spearman,min_replicates=2) perMetadata_Geneover the guides instead of the wells. Needsannotate=True.
- Return type:
- Returns:
Wells by features at well resolution when
aggregatedisFalse, else the gene-level consensus, indexed by plate and well, read withmantispy.io.read(), withMetadata_JCP2022andMetadata_CellCountand, when annotated,Metadata_GeneandMetadata_Perturbation(the gene symbol; its guides are the replicates),Metadata_Perturbation_Type("crispr"),Metadata_Control_Type("negcon","poscon"or"trt"),Metadata_Control(the no-guide and non-targeting wells) andMetadata_ChromosomeArm.- Raises:
ValueError –
aggregatedis not a bool, oraggregatedis asked for withannotate=False.
References
Chandrasekaran et al. [2023].