Skip to main content

scHicCorr

Computes per-chromosome correlations between single-cell Hi-C contact matrices stored in .cool files. Supports preprocessing, weighted correlations, and flexible output formats.

Features

  • Symmetrizes and normalizes Hi-C contact matrices
  • Applies a 2D mean filter to smooth matrices
  • Extracts the first K diagonals for analysis
  • Computes weighted correlations between multiple datasets
  • Outputs compressed CSV (.csv.gz) or Parquet
  • Optionally splits results per chromosome
  • Parallel processing via multiple CPU cores

Installation

pip install scHicCorr

Usage

schiccorr input1.cool input2.cool --output_prefix results/output --format parquet --split --h 1 --K 5000000 --cores 4

Arguments

Argument Description Default
input_files One or more .cool Hi-C input files
--output_prefix Prefix for output files (chromosome name appended if --split)
--format Output format: parquet or csv.gz parquet
--split Split output by chromosome into separate files
--h Mean filter size 1
--K Number of diagonals to extract 5000000
--cores Number of CPU cores for parallel processing 1
--log-level Logging level: DEBUG, INFO, WARNING, ERROR INFO
--log-file Write logs to file in addition to stdout

Examples

Single Parquet file:

schiccorr sample1.cool sample2.cool --output_prefix results/hic_corr

Split by chromosome, compressed CSV:

schiccorr sample1.cool sample2.cool --output_prefix results/hic_corr --format csv.gz --split

Log to file:

schiccorr sample1.cool sample2.cool --output_prefix results/hic_corr --log-file run.log

Output

Each row in the output contains reference, comparison, chromosome, and correlation. When --split is used, one file is written per chromosome with the chromosome name appended to the prefix.

Metadata

Release files for scHicCorr 0.0.4

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

Source distribution (sdist)

Source distribution for scHicCorr 0.0.4
File Size Uploaded Provenance Actions
schiccorr-0.0.4.tar.gz 10.0 kB Without provenance Details for schiccorr-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 22.2 kB

Release files / schiccorr-0.0.4.tar.gz

Download URL schiccorr-0.0.4.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
67080e94ed499bb9465311eb6bc607bf77311ea3a0c08094980121dc803807b0
BLAKE2b-256 checksum
How to use checksums
0589467f5af1420b2a797680d8088b4130ee7c3c33bf7d6c73ff884bc1f7732a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / schiccorr-0.0.4-py3-none-any.whl

Download URL schiccorr-0.0.4-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e01b0b6cb5515a7d7ebb6bd2783a8fde5129feec8a0073f707c29ce2e3538d0
BLAKE2b-256 checksum
How to use checksums
3750bb0c4d778db32fb583ad1f744f144a2224b85d5640cf1621cb78ea3b2d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for scHicCorr 0.0.4

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.

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