Home

Awesome

<!--(http://www.clinica.run/img/clinica_brainweb.png)--> <!-- markdownlint-disable MD033 --> <h1 align="center"> <a href="http://www.clinica.run"> <img src="http://www.clinica.run/assets/images/clinica-icon-257x257.png" alt="Logo" width="120" height="120"> </a> <br/> Clinica </h1> <p align="center"><strong>Software platform for clinical neuroimaging studies</strong></p> <p align="center"> <a href="https://github.com/aramis-lab/clinica/actions/workflows/test.yml"> <img src="https://github.com/aramis-lab/clinica/actions/workflows/test.yml/badge.svg" alt="Build Status"> </a> <a href="https://badge.fury.io/py/clinica"> <img src="https://badge.fury.io/py/clinica.svg" alt="PyPI version"> </a> <a href="https://pypi.org/project/clinica"> <img src="https://img.shields.io/pypi/pyversions/clinica" alt="Supported Python versions"> </a> <a href="https://aramislab.paris.inria.fr/clinica/docs/public/latest/Installation/"> </a> <a href="https://aramislab.paris.inria.fr/clinica/docs/public/latest/Installation/"> <img src="https://anaconda.org/aramislab/clinica/badges/platforms.svg" alt="platform"> </a> <a href="https://github.com/psf/black"> <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black"> </a> <a href="https://pepy.tech/project/clinica"> <img src="https://static.pepy.tech/badge/clinica/month" alt="Downloads"> </a> </p> <p align="center"> <a href="http://www.clinica.run">Homepage</a> | <a href="https://aramislab.paris.inria.fr/clinica/docs/public/latest/">Documentation</a> | <a href="https://doi.org/10.3389/fninf.2021.689675">Paper</a> | <a href="https://github.com/aramis-lab/clinica/discussions">Forum</a> | See also: <a href="#related-repositories">AD-ML</a>, <a href="#related-repositories">AD-DL</a>, <a href="#related-repositories">ClinicaDL</a> </p>

About The Project

Clinica is a software platform for clinical research studies involving patients with neurological and psychiatric diseases and the acquisition of multimodal data (neuroimaging, clinical and cognitive evaluations, genetics...), most often with longitudinal follow-up.

Clinica is command-line driven and written in Python. It uses the Nipype system for pipelining and combines widely-used software packages for neuroimaging data analysis (ANTs, FreeSurfer, FSL, MRtrix, PETPVC, SPM), machine learning (Scikit-learn) and the BIDS standard for data organization.

Clinica provides tools to convert publicly available neuroimaging datasets into BIDS, namely:

Clinica can process any BIDS-compliant dataset with a set of complex processing pipelines involving different software packages for the analysis of neuroimaging data (T1-weighted MRI, diffusion MRI and PET data). It also provides integration between feature extraction and statistics, machine learning or deep learning.

ClinicaPipelines

Clinica is also showcased as a framework for the reproducible classification of Alzheimer's disease using machine learning and deep learning.

Getting Started

Full instructions for installation and additional information can be found in the user documentation.

Using pipx (recommended)

Clinica can be easily installed and updated using pipx.

pipx install clinica

Using pip

pip install clinica

Using Conda

Clinica relies on multiple third-party tools to perform processing.

An environment file is provided in this repository to facilitate their installation in a Conda environment:

git clone https://github.com/aramis-lab/clinica && cd clinica
conda env create
conda activate clinica

After activation, use pip to install Clinica.

Additional dependencies (required)

Depending on the pipeline that you want to use, you need to install pipeline-specific interfaces. Some of which uses a different runtime or use incompatible licensing terms, which prevent their distribution alongside Clinica. Not all the dependencies are necessary to run Clinica. Please refer to this page to determine which third-party libraries you need to install.

Example

Diagram illustrating the Clinica pipelines involved when performing a group comparison of FDG PET data projected on the cortical surface between patients with Alzheimer's disease and healthy controls from the ADNI database:

ClinicaExample

  1. Clinical and neuroimaging data are downloaded from the ADNI website and data are converted into BIDS with the adni-to-bids converter.
  2. Estimation of the cortical and white surface is then produced by the t1-freesurfer pipeline.
  3. FDG PET data can be projected on the subject’s cortical surface and normalized to the FsAverage template from FreeSurfer using the pet-surface pipeline.
  4. TSV file with demographic information of the population studied is given to the statistics-surface pipeline to generate the results of the group comparison.

For more examples and details, please refer to the Documentation.

Support

Contributing

We encourage you to contribute to Clinica! Please check out the Contributing to Clinica guide for guidelines about how to proceed. Do not hesitate to ask questions if something is not clear for you, report an issue, etc.

License

This software is distributed under the MIT License. See license file for more information.

Citing us

Related Repositories