Installation

Install Order

Cisformer does not currently use PyPI metadata to install all runtime dependencies automatically. Install the runtime environment first, then install the Cisformer command-line package from PyPI.

Verify the Installation

After installation, check the CLI:

cisformer -h
cisformer generate_default_config -h

GPU and Distributed Training

Cisformer uses Hugging Face Accelerate for distributed training. After running cisformer generate_default_config, edit cisformer_config/accelerate_config.yaml to match your machine:

  • gpu_ids: comma-separated GPU IDs.

  • num_processes: number of GPU processes.

  • main_process_port: use a free port, especially when running multiple jobs.

Bedtools Requirement

Preprocessing and link inference use genomic interval operations through pybedtools. Make sure the system bedtools binary is available in your environment if pybedtools reports backend errors.