Skip to content

PHi-C v2.2.1

Latest

Choose a tag to compare

@soyashinkai soyashinkai released this 26 May 03:10
· 1 commit to main since this release

🔄 Workflow Restructuring

optimization and plot-optimization have been reorganized:

  • optimization now also produces C_optimized.npz and P_optimized.npz, which were previously generated by plot-optimization
  • Downstream analyses (msd, losstangent) no longer require running plot-optimization first
  • plot-optimization now only renders figures by reading the pre-computed arrays from optimization
  • The --res option of plot-optimization has been removed (the resolution is now read from P_normalized.npz)

⚙️ Auto-determined Spectrum Ranges

msd and losstangent now automatically determine the exponent range from the eigenvalues of the Laplacian matrix induced from the optimized polymer network interaction matrix:

  • The --upper and --lower options have been removed
  • This eliminates manual tuning and ensures the range covers all relaxation modes

📊 Structured Analysis Log (experimental)

Most subcommands (fetch-fileinfo, preprocessing, optimization, plot-optimization, msd, losstangent) now accept --json, --json-path, and --run-uuid options to append a structured analysis log to
phic.json in the workspace:

  • Records Hi-C file metadata, runtime profile (host, OS, CPU/GPU, Python environment, package versions), per-subcommand parameters, elapsed time, output file paths, and numerical summaries
  • Intended for internal pipeline integration; the schema and detailed usage will be documented in a future release

✨ New Options

  • preprocessing: --name option to set the output directory name directly
  • plot-optimization: --no-figures flag to skip matplotlib figure generation (faster when only the .npz outputs are needed)

📦 New Dependencies

  • psutil
  • hictkpy

📖 Documentation

  • README updated with descriptions of .npz keys (shape and content) for all outputs, and a description of the columns in optimization.log
  • Mol* added as a browser-based alternative to VMD for visualizing the .psf / .dcd outputs