Disconets_flow allows you to analyze the impact of a cavity on structural connectivity matrices.
Yeo atlas used in the paper link.
Please cite:
Mrah S, Descoteaux M, Wager M, Boré A, Rheault F, Thirion B, Mandonnet E. Network-level prediction of set-shifting deterioration after lower-grade glioma resection. J Neurosurg. 2022 Mar 4:1-9. doi: 10.3171/2022.1.JNS212257. Epub ahead of print. PMID: 35245898.
# Singularity
sudo singularity build scilus_1.3.0.sif docker://scilus/scilus:1.3.0
# Docker
sudo docker pull scilus/scilus:1.3.0
# With singularity image
nextflow run main.nf \
--input [FullPathToLesions]/ \
--atlas [FullPathToAtlas]/ \
--tractograms [FullPathToTractograms]/ \
-with-singularity scilus_1.3.0.sif \
resume
# With docker image
nextflow run main.nf \
--input [FullPathToLesions]/ \
--atlas [FullPathToAtlas]/ \
--tractograms [FullPathToTractograms]/ \
-with-docker scilus/scilus:latest \
resume
Root
├── S01
│ ├── *t1.nii.gz (optional)
│ └── *cavity.nii.gz
└── S02
├── *t1.nii.gz (optional)
└── *cavity.nii.gz
Root
├── T01
│ ├── *t1.nii.gz (optional)
│ └── *.trk
└── T02
├── *t1.nii.gz (optional)
└── *.trk