Skip to main content

pylisto

pylisto is a tool for performing comprehensive overlap assessments on dictionaries comprising lists of strings, such as lists of gene sets. It can assess:

  • Overlaps of pairs of lists of strings selected from the same universe.
  • Overlaps of pairs of lists of strings selected from different universes.
  • Overlaps of triplets of lists of strings selected from the same universe.

While pylisto has been developed with scRNA-seq data analysis in mind, the methodology is fully applicable for the same problem arising in any other setting. Thus, the implementation of pylisto uses general Python objects (Pandas data frames, lists of strings), rather than scRNA-seq-specific objects.

Installation

Install with:

pip install pylisto

Description and usage

This section will elaborate on the functionality and usage of pylisto. It discusses first the overlaps of individual elements, then the details of how the dictionaries of elements must be provided as input.

Items

Each item taking part in an individual overlap assessed by pylisto is a list of strings. Each overlap assessment of lists of strings answers the question of whether the lists intersect each other to a statistically significant extent.

Lists

The run_listo function runs the entire pylisto pipeline. It requires two dictionaries as input. Each dictionary can store two types of elements:

  • Lists of strings.
  • Data frames with a numeric column specified by the num_col parameter.

A third dictionary, likewise containing one of the two aforementioned types of elements, can be optionally provided.

Extracting items from lists

Items to be used in the overlap assessments are extracted from the input dictionaries as follows:

  • Lists of strings: They are used as such.

  • Data frames: The rownames of the data frame are selected, and overlaps are calculated based on cutoffs determined by the distinct values in the column specified by num_col. The median of the resulting p-values is taken to be the p-value of the corresponding overlap.

Metadata

Release files for pylisto 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylisto 0.8.2
File Size Uploaded Provenance Actions
pylisto-0.8.2.tar.gz 12.5 kB Without provenance Details for pylisto-0.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylisto 0.8.2
File Interpreter ABI Platform Actions
pylisto-0.8.2-py3-none-any.whl Python 3 none any Details for pylisto-0.8.2-py3-none-any.whl

Total release size: 27.5 kB

Release files / pylisto-0.8.2.tar.gz

Download URL pylisto-0.8.2.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0966084cf88b05d91e1f59a397e71c7900d15bae7b0bfaca26de63998baa2848
BLAKE2b-256 checksum
How to use checksums
cf6f333f30d146cca17bdd6c3e42045679e567985aa329aaa9c9cb4c2fed1172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pylisto-0.8.2-py3-none-any.whl

Download URL pylisto-0.8.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23594877cc3ffff458de88b8802367ca7b1dfc115d921b2ffa71da143b4aeb87
BLAKE2b-256 checksum
How to use checksums
b23c3ef83ffafff84bc300775d3e2ee0ff0b0ddd50a2f59e3a1efdc50e833b99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for pylisto 0.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page