Skip to main content

GitHub release (latest by date) install with bioconda Platforms Downloads License

Medial Tractography Analysis (MeTA)

workflow

MeTA is a workflow implemented to minimize microstructural heterogeneity in diffusion MRI (dMRI) metrics by extracting and parcellating the core volume along the bundle length in the voxel-space directly while effectively preserving bundle shape and efficiently capturing the regional variation within and along white matter (WM) bundles.

Contact: Iyad Ba Gari iyad.bagari@usc.edu

If you use MeTA code, please cite the following publication:

Installation

MeTA supports Python version >=3.11 and <3.14. Using pip:

pip install meta-neuro

Using Bioconda:

conda config --add channels bioconda
conda install bioconda::meta-neuro

Usage

## Using DSI Studio transforms:
# Compute density map and convert streamlines to a binary image:
density_map --tractogram subject_CST.tt.gz --reference subject_FA.nii.gz \
            --output "output_dir/subjectID_CST.nii.gz"

# Medial Tractography Analysis (MeTA):
meta --subject "subjectID_12345" --bundle "CST" \
    --mbundle "model_CST.tt.gz" --sbundle "subject_CST.tt.gz" \
    --mask "output_dir/subjectID_CST.nii.gz" \
    --warp "subjectID.1InverseWarp.nii.gz" --warp_source "dsi_studio" \
    --seg_method "hyperplane" --num_segments 15 --output "output_dir"

# Extract Voxel-based Bundle Profile: Compute volumetric profile for DTI maps e.g., FA, MD, RD, AD, etc. Output two files: 1) *_segments_average.csv file with the average profile along the bundle length, and 2) *_segments_voxelwise.h5 (with option `--voxelwise `): the profile for each voxel in the bundle.
volumetric_profile --subject "subjectID_12345" --bundle "CST" --mask CST_local_all.nii.gz --map subject_FA.nii.gz --output "output_dir"

# Extract Streamline-based Profile: Compute streamline profile based on tractography and DTI maps e.g., FA, MD, RD, AD, etc. output two files: 1) *_streamlines_average.csv file with the average profile along the bundle length, and 2) *_streamlines_pointwise.h5 (with option `--pointwise `): the profile for each point of streamline.

streamlines_profile --subject "subjectID_12345" --bundle "CST" --tractogram "subject_CST.tt.gz" --mask CST_local_all.nii.gz --map subject_FA.nii.gz --output "output_dir"

# Extract Bundle Shape Features: Bundle shape features implemented based on Yeh et al., 2020. The following features are extracted: Total number of streamlines, Average streamlines length, Span, Curl, Volume, Surface area, Diameter, Elongation, Irregularity


shape_metrics --subject "subjectID_12345" --bundle "CST" --mask CST_local_all.nii.gz --tractogram "subject_CST.tt.gz" --output CST_streamlines_metrics.csv

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meta_neuro-2.1.0.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meta_neuro-2.1.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file meta_neuro-2.1.0.tar.gz.

File metadata

  • Download URL: meta_neuro-2.1.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for meta_neuro-2.1.0.tar.gz
Algorithm Hash digest
SHA256 0aab5ba96b9c35fccd0922603f30690476ec77be3dd08fc414ac1d46875966e2
MD5 f8066a1f949e4ced162d082f57ef077d
BLAKE2b-256 736c08c72a4827241b30ca19af472af6f4a8bdad7f5869f6eed29501e0808efc

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_neuro-2.1.0.tar.gz:

Publisher: release.yml on bagari/meta

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meta_neuro-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: meta_neuro-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for meta_neuro-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 919020d5100e8a11a2a7745af4b9265def9f9f4379e0dd9d5914245082582d6b
MD5 504e76f2d8b2aceaf8a3285e3898ed5b
BLAKE2b-256 5150802ae452bc7ac5f250ef27ce3cf853b9867eef45c4db8bbbfb9ea806d306

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_neuro-2.1.0-py3-none-any.whl:

Publisher: release.yml on bagari/meta

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page