Skip to main content

Download & Installation

Choose one installation path, verify the CLI, and then continue to First Run. The D, G, and C codes retain the nomenclature used in Additional file 2, Supporting Table 2 of the paper.

Try it before installing

The Google Colab tutorial runs the actual pheno-ranker CLI in a browser. A Google account is required to execute the cells, but no local dependency setup is needed.

CodeInstallation pathBest fit
CCPAN / CondaStable command-line release, installed directly or in an isolated Conda environment.
DDockerReproducible environment with the CLI and companion utilities preinstalled.
GGitHubCurrent development version, repository examples, or source access.

Choose How to Run It

Use Docker when you want the full utility environment without managing Perl or Python dependencies:

docker pull manuelrueda/pheno-ranker:latest
docker image tag manuelrueda/pheno-ranker:latest cnag/pheno-ranker:latest

See the complete Docker instructions.

First Run

Download a small reference cohort and one target patient:

curl -L https://raw.githubusercontent.com/CNAG-Biomedical-Informatics/pheno-ranker/main/examples/quickstart/individuals.json -o individuals.json
curl -L https://raw.githubusercontent.com/CNAG-Biomedical-Informatics/pheno-ranker/main/examples/quickstart/patient.json -o patient.json

For a CPAN or GitHub installation (C or G), run:

pheno-ranker -r individuals.json -t patient.json -o rank.txt

For the Docker image (D), run the same analysis in the container:

docker run --rm \
--volume "$PWD:/data" \
--workdir /data \
cnag/pheno-ranker:latest \
/usr/share/pheno-ranker/bin/pheno-ranker \
-r individuals.json -t patient.json -o rank.txt

A successful run creates rank.txt in the current directory. Its first data row is the closest reference match to the target under the default Hamming-distance ranking. Continue with Patient Mode to interpret the columns or change the analysis.

Additional Installation Methods

Isolated Conda Environment (C)

Use this method when Conda is your preferred local environment and you do not want to use Docker or modify the system Perl installation. Conda isolates the build dependencies, while Pheno-Ranker is installed from CPAN inside the environment. This remains publication installation path C; it is not a separate native Conda package. See the complete Conda environment instructions.

Developer Checkout (G)

Clone the repository when you need to inspect or modify the source, run tests, or use files that are not part of the CPAN distribution. Follow the developer checkout instructions.

Build with the Dockerfile (D)

Build locally when you need to inspect or customize the image:

docker build -f docker/Dockerfile -t cnag/pheno-ranker:latest .

Run this command from the repository root. Multi-architecture and runtime instructions are in docker/README.md.

Compatibility and Component Availability

Operating-system and component reference

The Perl CLI is tested on Linux, macOS, and Windows via GitHub Actions.

Operating systemSupport
LinuxRecommended for CLI, Docker, and utility workflows.
macOSSupported for non-containerized CLI use.
WindowsSupported for the Perl CLI; use Docker, WSL, or a Perl environment such as Strawberry Perl.

Python utilities under utils/ and external R plotting scripts are not part of the CPAN-centered Windows test matrix. For those workflows, Docker or a GitHub checkout is recommended.

ComponentAvailable installation paths
pheno-ranker CLID, G, C
bff-pxf-simulatorD, G, C
csv2pheno-rankerD, G, C
bff-pxf-plotD, G
QR-code/PDF utilitiesD, G
Web App UI (legacy)D; supported until the end of 2026; see Pheno-Ranker UI