BarcelonaBeta + XNAT = bx
Project description
bx
BarcelonaBeta + XNAT = BX
Example:
Usage
bx <command> <subcommand> <resource_id> --config /path/to/.xnat.cfg --dest /tmp [--overwrite]
resource_id may be a reference to a whole XNAT project, some specific imaging
session (as found in the table returned by bx id PROJECT_ID) or a 'list' of
sessions (a list of existing lists may be obtained by bx lists display).
Commands:
bx nifti <resource_id>
- Download a NIfTI from a given sequence from an experiment/entire project.
SPM12
bx spm12 volumes <resource_id>
- Download a table with grey/white matter and CSF volumes estimated from SPM12 segmentations
bx spm12 files <resource_id>
- Download SPM12 segmentations from an experiment/entire project
bx spm12 report <resource_id>
- Download a quality report from an SPM12 segmentation for an experiment/entire project
bx spm12 tests <resource_id>
- Download a table with results from automatic validation tests from an SPM12 segmentation for an experiment/entire project
bx spm12 snapshot <resource_id>
- Download a snapshot of SPM12 segmentation results for an experiment/entire project
CAT12
bx cat12 volumes <resource_id>
- Download a table with grey/white matter and CSF volumes estimated from CAT12 segmentations
bx cat12 files <resource_id>
- Download CAT12 segmentations from an experiment/entire project
bx cat12 report <resource_id>
- Download a quality report from an CAT12 segmentation for an experiment/entire project
bx cat12 tests <resource_id>
- Download a table with results from automatic validation tests from an CAT12 segmentation for an experiment/entire project
bx cat12 snapshot <resource_id>
- Download a snapshot of CAT12 segmentation results for an experiment/entire project
FreeSurfer6
bx freesurfer6 aseg <resource_id>
- Download a table with FreeSurfer
asegresults for an experiment/entire project
bx freesurfer6 aparc <resource_id>
- Download a table with FreeSurfer
aparcresults for an experiment/entire project
bx freesurfer6 hippoSfVolumes <resource_id>
- Download a table with FreeSurfer
hippoSfVolumesresults for an experiment/entire project
bx freesurfer6 snapshot <resource_id>
- Download a snapshot of SPM12 segmentation results for an experiment/entire project
bx freesurfer6 files <resource_id>
- Download FreeSurfer6 segmentations from an experiment/entire project
ASHS
bx ashs volumes <resource_id>
- Download a table with hippocampal subfield volumes produced by ASHS for an experiment/entire project
bx ashs files <resource_id>
- Download ASHS segmentations from an experiment/entire project
bx ashs snapshot <resource_id>
- Download a snapshot of SPM12 segmentation results for an experiment/entire project
DTIFIT
bx dtifit files <resource_id>
- Download DTIFIT results from an experiment/entire project
bx dtifit snapshot <resource_id>
- Download a snapshot of DTIFIT results for an experiment/entire project
Cortical AD signatures
bx signature jack <resource_id>
bx signature dickerson <resource_id>
- Download composite measurements labeled as 'signatures' of Alzheimer's Disease as described in Jack et al., Alzheimers Dement. 2017 and Dickerson et al., Neurology, 2011.
PET imaging
bx ftm maps <resource_id>
bx fdg maps <resource_id>
- Download FTM/FDG images provided some user-specified reference region.
bx ftm centiloids <resource_id>
- Collect centiloid scales from amyloid maps for a given session/over an entire project and store them in an Excel file.
bx fdg landau <resource_id>
- Collect AD signatures as described in Landau et al., Ann Neurol., 2012 for a given session / over an entire project and store them in an Excel file.
Miscellaneous
bx id <resource_id>
- Download a table including subject IDs, experiment IDs and XNAT IDs for an experiment/entire project
bx mrdates <resource_id>
- Download a table with acquisition dates from an experiment/entire project
White matter lesions
bx bamos volumes <resource_id>
- Download volumes of white matter lesions as segmented by BaMOS (Sudre et al., IEEE TMI, 2015).
Dependencies
Requires bbrc-pyxnat>=1.4.1 and
the following librairies: requests, six, lxml, nibabel, pydicom,
numpy, pandas, xlutils, tqdm and openpyxl.
Install
pip install bbrc-bx
Development
Please contact us for details on how to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbrc-bx-0.1.9.tar.gz
(25.4 kB
view details)
File details
Details for the file bbrc-bx-0.1.9.tar.gz.
File metadata
- Download URL: bbrc-bx-0.1.9.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d967a262e6295ad47beb6971348863e05a6f5130f4a587f85379decd9e265a
|
|
| MD5 |
fd729d2e36fc4faac9b02728c0f95abd
|
|
| BLAKE2b-256 |
a42663c7d60a746cc0b57d5c8219bddc66049e31aab490fd1e986cddce92da85
|