Disability profiles in progressive multiple sclerosis reflect pathology distribution, independent of clinical phenotype.
The 2 matches
- [1] § Materials and methods › Network disconnection quantification ↔ extract_tractogram.py, lines 7–73 · score 0.79 · DSI Studio, streamlines passing, lesion masks, ROI, tracts, template
- [2] § Materials and methods › Network disconnection quantification ↔ runner.py, lines 17–55 · score 0.65 · structurally disconnected, streamlines passing, lesion masks, tractogram, matrix, atlas
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 98 lines · 4.4 KB · CC-BY-NC-SA-4.0 · 1 match
- import os
- import glob
- import subprocess
- import argparse
- def extract_tractogram(lesion_mask, output_folder, dependencies_directory='./dependencies', overwrite=False) :
- """
- First step of disconnectome analysis :
- Uses DSIStudio to extract the disconnectome and its connectivity matrix. This is done in two calls of dsi_studio command line :
- firstly, we isolate the streamlines of the template whole brain tractogram that pass though the lesion mask,
- secondly, we extract the connectivity matrix characterizing these streamlines, using a predefined parcellation atlas
- Args :
- lesion_mask : path to the binary lesion segmentation mask
- output_folder : path to the output_folder where the results will be saved
- dependencies_directory : path to the dependencies directory
- overwrite : if True will overwrite the results if they already exist. If False will not run
- """
- docker_image_dsi = 'manishka/dsi-studio-docker:v19.10'
- docker_run = 'docker run -u $(id -u):$(id -g) --rm -e DISPLAY=' + os.environ['DISPLAY'] + ' -v /tmp/.X11-unix/:/tmp/.X11-unix'
- # path to the tractogram of affected streamlines in trk format
- output_trk = os.path.join(output_folder,'connectivity_loss.trk.gz')
- # path to the connectivity matrix of the affected streamlines
- output_cm = os.path.join(output_folder,'connectivity_loss.mat')
- # checks if the lesion mask exists in MNI
- try :
- lesion_roi = glob.glob(lesion_mask)[0]
- except:
- print('No lesion mask or multiple were found')
- return
- # definition of volumes to be mounted for docker image
- vol = ' -v ' + os.path.abspath(dependencies_directory) + ':/dependencies/ -v ' +\
- os.path.split(lesion_roi)[0] + ':/input/ -v ' +\
- output_folder + ':/output/ '
- docker_base_command = docker_run + vol + docker_image_dsi + ' ./opt/dsistudio/dsi_studio '
- # if streamlines passing through lesions were not isolated yet
- if not os.path.isfile(output_trk) or overwrite :
- # extract affected streamlines
- # define output
- os.makedirs( output_folder, exist_ok=True)
- # command line options to extract streamlines passing through lesion mask from whole brain tractogram
- docker_command = docker_base_command +\
- '--action=ana --source=/dependencies/HCP842_1mm.fib.gz' +\
- ' --tract=/dependencies/whole_brain.trk.gz' +\
- ' --roi=/input/' + os.path.split(lesion_roi)[1] +\
- ' --output=/output/connectivity_loss.trk.gz'
- subprocess.check_output(docker_command,stderr=subprocess.STDOUT,shell= True)
- # if the connectivity matrix wasn't already extracted
- if not os.path.isfile(output_cm) or overwrite:
- # extract connectivity of affected streamlines using the Brainnetome atlas
- # command line options to extract connectivity of affected streamlines
- docker_command = docker_base_command + \
- ' --action=ana --source=/dependencies/HCP842_1mm.fib.gz'+ \
- ' --connectivity="/dependencies/BN_Atlas_274_combined.nii.gz' + \
- '" --connectivity_value=count --connectivity_type=pass' + \
- ' --tract=' + output_trk.replace(output_folder, '/output/') +\
- ' --output=/output/connectivity_loss.mat'
- subprocess.check_output(docker_command,stderr=subprocess.STDOUT,shell= True)
- if __name__ == '__main__':
- PARSER = argparse.ArgumentParser(description="Extracting streamlines passing through lesions")
- PARSER.add_argument('-d', '--dependencies_directory', dest='dependencies_directory', action='store', required=False, type=str, default ='./dependencies',
- help='Path to the dependencies directory. Default is ./dependencies ')
- PARSER.add_argument('-o', '--output_directory', dest='output_folder', action='store', required=True, type=str,
- help='Output folder of disconnectome')
- PARSER.add_argument('-f', '--force', dest='overwrite', action='store_true', default=False,
- help='Force overwriting results')
- PARSER.add_argument('-l', '--lesion_mask', dest='lesion_mask', action='store', required=True, type=str,
- help='Lesion mask in MNI sace')
- ARGS = PARSER.parse_args()
- extract_tractogram(lesion_mask=ARGS.lesion_mask, dependencies_directory=ARGS.dependencies_directory, output_folder=ARGS.output_folder, overwrite=ARGS.overwrite)
extract_tractogram.py at commit 0716b1e, under CC-BY-NC-SA-4.0 · at the source
Overview
- NMR Research Unit, Department of Neuroinflammation, UCL Queen Square Institute of Neurology, Faculty of Brain Sciences, Queen Square MS Centre, University College London, London WC1B5EH, United Kingdom
- NEUROFARBA, University of Florence, Florence 50100, Italy
- Hoffman-La Roche Ltd., Roche-Pharma, Basel 4070, Switzerland
- National Institute for Health Research (NIHR) University College London Hospitals (UCLH) Biomedical Research Centre, London NW1 2PG, United Kingdom
- eHealth Center, Universitat Oberta de Catalunya, Barcelona 08018, Spain
- Queen Square Institute of Neurology and UCL Hawkes Institute, University College London, London WC1V 6LJ, United Kingdom
- Department of Radiology and Nuclear Medicine, Amsterdam UMC, Vrije Universiteit, Amsterdam, 22660, 1100 DD, Netherlands
Abstract
Multiple sclerosis (MS) is a clinically heterogeneous disease affecting both neurological and cognitive functions. In this study, we defined clinical profiles based on combined cognitive and motor assessments in progressive MS patients, examined their overlap with classical progressive phenotypes and linked each profile to MRI measures of network disconnection and grey matter atrophy. We analyzed baseline data from 580 participants [277 primary progressive (PP)MS, 303 secondary progressive (SP)MS] in the phase 3b CONSONANCE (NCT03523858) study. Clinical assessments included Expanded Disability Status Scale, 9-Hole Peg Test, timed 25-Foot Walk Test, Symbol Digit Modalities Test and Brief Visuospatial Memory Test Revised. MRI acquisition comprised Fluid Attenuated Inversion Recovery for lesion segmentation and 3D-T1 weighted images for disconnectome reconstruction and volumetry. Independent component analysis was applied to regional disconnection and volumes to, respectively, identify patterns (ICs) of disconnection and grey matter atrophy. Latent profile analysis (LPA) identified disability profiles from multimodal clinical data. To identify the variables most strongly associated with each LPA-defined profile, we trained one-versus-all eXtreme Gradient Boosting classifiers and computed SHapley Additive exPlanations values. Based on prevailing clinical manifestation, LPA delineated three profiles: motor disability (n = 138, 23.8%), cognitive disability (n = 181, 31.2%) and global disability (n = 261, 45.0%). Profile prevalence did not differ by clinical phenotype (χ2, P = 0.675). Compared with the other profiles, motor disability one was associated with relatively preserved connectivity and tissue volume in the limbic and frontal networks and preserved volumes in the supplementary motor cortex and postcentral gyrus. The cognitive disability profile had relatively lower connectivity and volumes in the cerebellar vermis, temporal pole, posterior cingulate gyrus parietal operculum, lower default-mode-network connectivity and prefrontal–visual integration network volumes. The global disability profile had lower fronto-parietal-network connectivity and lower grey matter, superior frontal gyrus, pallidum, cuneus and cerebellum volumes. Our findings reveal that progressive MS encompasses at least three clinically and biologically distinct subtypes transcending the traditional PPMS/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
data-edu.github.io/tidylpa
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
acit-lausanne/lesion-disconnectomics
0716b1e3490585bae5e1e8c97639b5585fd5b710, 5 October 2021Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
7 files
- extract_tractogram.py, Python, 98 lines, 1 match
- plot_disconnectome.R, R, 232 lines
- renv/
activate.R , R, 349 lines - run_disconnectome.py, Python, 349 lines
- runner.py, Python, 55 lines, 1 match
- LICENSE, License, 106 lines
- README.md, Text, 155 lines
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 5 scripts, each with its path and the digest of its content;
- 2 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
Data are available from Roche upon reasonable request.
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Funding: added F. Hoffmann-La Roche
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 13 authors, 5 keywords, 49 references.
Cite
This paper
De Meo, E., Jolly, A. E., Ganzetti, M., Prados Carrasco, F., Kanber, B., Stutters, J., McManus, D., Kazlauskaite, A., Craveiro, L., Eshaghi, A., Cole, J., Chard, D., & Barkhof, F. (2026). Disability profiles in progressive multiple sclerosis reflect pathology distribution, independent of clinical phenotype. Brain communications, 8(3), fcag162. https://
BibTeX
@article{demeo2026disabi
author = {De Meo, Ermelinda and Jolly, Amy E and Ganzetti, Marco and Prados Carrasco, Ferran and Kanber, Baris and Stutters, Jonathan and McManus, David and Kazlauskaite, Agne and Craveiro, Licinio and Eshaghi, Arman and Cole, James and Chard, Declan and Barkhof, Frederik},
title = {{Disability profiles in progressive multiple sclerosis reflect pathology distribution, independent of clinical phenotype}},
journal = {Brain communications},
year = {2026},
month = may,
volume = {8},
number = {3},
pages = {fcag162},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/
url = {https://
pmid = {42205160},
pmcid = {PMC13201091}
}
RIS
TY - JOUR
AU - De Meo, Ermelinda
AU - Jolly, Amy E
AU - Ganzetti, Marco
AU - Prados Carrasco, Ferran
AU - Kanber, Baris
AU - Stutters, Jonathan
AU - McManus, David
AU - Kazlauskaite, Agne
AU - Craveiro, Licinio
AU - Eshaghi, Arman
AU - Cole, James
AU - Chard, Declan
AU - Barkhof, Frederik
TI - Disability profiles in progressive multiple sclerosis reflect pathology distribution, independent of clinical phenotype
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/
VL - 8
IS - 3
SP - fcag162
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Disability profiles in progressive multiple sclerosis reflect pathology distribution, independent of clinical phenotype",
"container-title": "Brain communications",
"author": [
{
"family": "De Meo",
"given": "Ermelinda"
},
{
"family": "Jolly",
"given": "Amy E"
},
{
"family": "Ganzetti",
"given": "Marco"
},
{
"family": "Prados Carrasco",
"given": "Ferran"
},
{
"family": "Kanber",
"given": "Baris"
},
{
"family": "Stutters",
"given": "Jonathan"
},
{
"family": "McManus",
"given": "David"
},
{
"family": "Kazlauskaite",
"given": "Agne"
},
{
"family": "Craveiro",
"given": "Licinio"
},
{
"family": "Eshaghi",
"given": "Arman"
},
{
"family": "Cole",
"given": "James"
},
{
"family": "Chard",
"given": "Declan"
},
{
"family": "Barkhof",
"given": "Frederik"
}
],
"container-title-short":
"volume": "8",
"issue": "3",
"page": "fcag162",
"DOI": "10.1093/
"PMID": "42205160",
"PMCID": "PMC13201091",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
2
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1136/jnnp-2025-335884 [code]
- Diffusivity anisotropy signature of slowly expanding lesions predicts progression independent of relapse activity in multiple sclerosis.Journal: Journal of neurology, neurosurgery, and psychiatryIn common: pandas, SciPy, NumPy, multiple sclerosis, structural MRI / diffusion, clinical / translational, 2 authors
- [2] doi:10.1162/netn.a.545 [code]
- Structure-function multilayer network integration and cognition in multiple sclerosis.Journal: Network neuroscience (Cambridge, Mass.)In common: NetworkX, SciPy, NumPy, multiple sclerosis, structural MRI / diffusion, 2 references, author Frederik Barkhof
- [3] doi:10.1038/s43856-026-01707-2 [code]
- Decreased amyloid-related structure-function coupling in preclinical Alzheimer's disease.Journal: Communications medicineIn common: pandas, SciPy, NumPy, clinical / translational, 2 authors
- [4] doi:10.1002/hbm.70425 [code]
- Brain Age Estimation on T2-FLAIR Scans for Application to Multiple Sclerosis.Journal: Human brain mappingIn common: pandas, SciPy, NumPy, multiple sclerosis, structural MRI / diffusion, clinical / translational, author James H Cole
- [5] doi:10.1093/neuonc/noag128 [code]
- Spatially-resolved single-cell imaging of melanoma brain metastases identifies localized immune patterns predictive of immune checkpoint blockade response.Journal: Neuro-oncologyIn common: circlize, ComplexHeatmap, NetworkX, 3 other tools, clinical / translational
- [6] doi:10.1162/imag.a.1352 [code]
- Brain-age in ultra-low-field MRI: How well does it work?Journal: Imaging neuroscience (Cambridge, Mass.)In common: pandas, SciPy, NumPy, structural MRI / diffusion, author James H Cole
- [7] doi:10.1177/20552173261448282 [code]
- The constrained brain in multiple sclerosis: Cognitive impairment is related to network-specific coupling of structural and functional connectivity.Journal: Multiple sclerosis journal - experimental, translational and clinicalIn common: multiple sclerosis, structural MRI / diffusion, 1 reference, author Frederik Barkhof
- [8] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: circlize, ComplexHeatmap, NetworkX, 3 other tools
- [9] doi:10.1038/s41467-026-76676-0 [code]
- Determinants of functional burden pleiotropy and gene dosage responses across human traits.Journal: Nature communicationsIn common: circlize, ComplexHeatmap, NetworkX, 3 other tools
- [10] doi:10.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: circlize, ComplexHeatmap, NetworkX, 3 other tools
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 5 scripts, and 2 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:c5fcc9c9ab1be070…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
