{"id":20566163,"url":"https://github.com/aces/cbrain-plugins-neuro","last_synced_at":"2025-07-11T00:33:33.803Z","repository":{"id":2999855,"uuid":"41695010","full_name":"aces/cbrain-plugins-neuro","owner":"aces","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-05T14:29:48.000Z","size":5011,"stargazers_count":5,"open_issues_count":56,"forks_count":20,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-05T15:27:25.755Z","etag":null,"topics":["cbrain-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aces.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-31T19:09:29.000Z","updated_at":"2025-04-05T14:29:51.000Z","dependencies_parsed_at":"2024-06-26T18:01:16.470Z","dependency_job_id":"4dca6f66-0926-412e-8b41-2b7bdb28eecb","html_url":"https://github.com/aces/cbrain-plugins-neuro","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-neuro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-neuro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-neuro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aces%2Fcbrain-plugins-neuro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aces","download_url":"https://codeload.github.com/aces/cbrain-plugins-neuro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248907103,"owners_count":21181278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cbrain-plugin"],"created_at":"2024-11-16T04:40:17.824Z","updated_at":"2025-04-14T15:36:06.178Z","avatar_url":"https://github.com/aces.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Introduction\n\nThis repository is a package containing a set of plugins for the\n[CBRAIN](https://github.com/aces/cbrain) platform. This repository\nsupersedes the content of three other packages: `cbrain-plugins-freesurfer`,\n`cbrain-plugins-fsl` and `cbrain-plugins-mni`.\n\n\n\n## Contents of this package\n\nThis package provides some tasks and models supporting:\n\n* parts of the [FreeSurfer](http://freesurfer.net/) suite.\n* parts of the FMRIB Software Library ([FSL](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/)).\n* parts of the [MNI tools](http://www.bic.mni.mcgill.ca/ServicesSoftware/HomePage).\n\n\n\n#### 1. Userfile models\n\nFor Freesurfer tools:\n\n| Name                         | Description                                                                                     |\n|------------------------------|-------------------------------------------------------------------------------------------------|\n| ReconAllCrossSectionalOutput | Model for recon-all cross sectional output, result of the first step in longitudinal studies    |\n| ReconAllBaseOutput           | Model for recon-all unbiased base output, result of the second step in longitudinal studies     |\n| ReconAllLongiOutput          | Model for recon-all longitudinal output, result of the third step in longitudinal studies       |\n| ReconAllOutput               | Model for recon-all collection (not directly used). All the ReconAll*Output inherits this model |\n| MghFile                      | Model for MGH structural files                                                                  |\n\nFor FSL tools:\n\n| Name                         | Description                                                                                     |\n|------------------------------|-------------------------------------------------------------------------------------------------|\n| FslDesignFile                | Model for FSL design file                                                                       |\n| FslDesignCollection          | Model for FSL collection with matrix for FSL randomise                                          |\n| FslFastOutput                | Model for FAST output                                                                           |\n| FslFirstOutput               | Model for FIRST output                                                                          |\n| FslMelodicOutput             | Model for MELODIC output                                                                        |\n| NiftiFile                    | Model for NIfTI medical data files                                                              |\n| StructuralNiftiFile          | Model for structural NIfTI medical data files                                                   |\n| FunctionalNiftiFile          | Model for functional NIfTI medical data files                                                   |\n\nFor MNI and DICOM tools:\n\n| Name                         | Description                                                                                     |\n|------------------------------|-------------------------------------------------------------------------------------------------|\n| CivetOutput                  | Model for [CIVET outputs](http://www.bic.mni.mcgill.ca/ServicesSoftware/OutputsOfCIVET)         |\n| CivetStudy                   | Model for several outputs of CIVET                                                              |\n| DicomCollection              | Model for a collection of DICOM files                                                           |\n| DicomFile                    | Model for a DICOM file                                                                            |\n| LorisSubject                 | Model for LORIS subject files                                                                   |\n| Minc1File                    | Model for MINC files in MINC1 format                                                            |\n| Minc2File                    | Model for MINC files in MINC2 format                                                            |\n| MincCollection               | Model for a collection of MINC files                                                            |\n| MincFile                     | Model for MINC files; superclass of MINC1 and MINC2                                             |\n\nFor BIDS:\n\n| Name                         | Description                                                                                     |\n|------------------------------|-------------------------------------------------------------------------------------------------|\n| BidsDataset                  | Model for [BIDS dataset](http://bids.neuroimaging.io/) \n\n#### 2. CbrainTasks\n\nFor Freesurfer tools:\n\n| Name          | Description                                                                                    |\n|---------------|------------------------------------------------------------------------------------------------|\n| ReconAll      | To run [recon-all](https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all)                        |\n| ReconAllLongi | To run [Longitudinal Stream](https://surfer.nmr.mgh.harvard.edu/fswiki/LongitudinalProcessing) |\n\nFor FSL tools:\n\n| Name          | Description                                                                                    |\n|---------------|------------------------------------------------------------------------------------------------|\n| FslBedpostx   | To run [BEDPOSTX](http://fsl.fmrib.ox.ac.uk/fsl/fsl4.0/fdt/fdt_bedpostx.html)                  |\n| FslBet        | To run [BET](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/BET)                                        |\n| FslFast       | To run [FAST]( http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FAST)                                     |\n| FslFeat       | To run [FEAT](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FEAT)                                      |\n| FslFirst      | To run [FIRST](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FIRST)                                    |\n| FslFlirt      | To run [FLIRT](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT)                                    |\n| FslMelodic    | To run [MELODIC](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/MELODIC)                                |\n| FslProbtrackx | To run [PROBTRACKX](http://fsl.fmrib.ox.ac.uk/fsl/fsl-4.1.9/fdt/fdt_probtrackx.html)           |\n| FslRandomise  | To run [RANDOMISE](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Randomise)                            |\n| FslAnat       | To run [FSL-ANAT](http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/fsl_anat)                              |\n| ICA-AROMA     | To run [ICA-AROMA](https://github.com/rhr-pruim/ICA-AROMA)                                     |\n\nFor MNI and DICOM tools:\n\n| Name          | Description                                                                                    |\n|---------------|------------------------------------------------------------------------------------------------|\n| Civet         | To run CIVET pipeline                                                                          |\n| CivetCombiner | Combines several CivetOutputs into a single CivetStudy                                         |\n| CivetQc       | To run CIVET QC pipeline on a CivetStudy                                                       |\n| Dcm2mnc       | To run dcm2mnc, in order to convert DICOM to MINC                                              |\n| Dcm2nii       | To run dcm2nii, in order to convert DICOM to NIfTI                                             |\n| MincConvert   | To run minc_convert, in order to convert MINC1 to MINC2 or MINC2 to MINC1                      |\n| Mnc2nii       | To run mnc2nii, in order to convert MINC to NIfTI                                              |\n| Nii2mnc       | To run nii2mnc, in order to convert NIfTI to MINC                                              |\n| NuCorrect     | To run nu_correct                                                                              |\n| MincBet       | To run brain extraction tool wrapper                                                           |\n\n\n## How to install this package\n\nAn existing CBRAIN installation is assumed to be operational before\nproceeding.\n\nThis package must be installed once on the BrainPortal side of a\nCBRAIN installation, and once more on each Bourreau side.\n\n#### 1. Installation on the BrainPortal side:\n\n  * Go to the `cbrain_plugins` directory under BrainPortal:\n\n```bash\ncd /path/to/BrainPortal/cbrain_plugins\n```\n\n  * Clone this repository. This will create a subdirectory called\n  `cbrain-plugins-neuro` with the content of this repository:\n\n```bash\ngit clone git@github.com:aces/cbrain-plugins-neuro.git\n```\n\n  * Run the following rake task:\n\n```bash\nrake cbrain:plugins:install:all\n```\n\n  * The BIDS dataset viewer requires the `bids-validator` command-line tool to be installed on the portal host:\n1. Install [`nodejs`](https://nodejs.org/en/download/package-manager)\n2. Install `bids-validator`:\n```bash \nnpm install -g  bids-validator\n```\n\n  * Restart all the instances of your BrainPortal Rails application.\n\n#### 2. Installation on the Bourreau side:\n\n**Note**: If you are using the Bourreau that is installed just\nbesides your BrainPortal application, you do not need to make\nany other installation steps, as they share the content of\nthe directory `cbrain_plugins` through a symbolic link; you\nonly need to *restart your Bourreau server*.\n\n  * Go to the `cbrain_plugins` directory under BrainPortal\n  (yes, *BrainPortal*, because that's where files are installed; on\n  the Bourreau side `cbrain_plugins` is a symbolic link):\n\n```bash\ncd /path/to/BrainPortal/cbrain_plugins\n```\n\n  * Clone this repository:\n\n```bash\ngit clone git@github.com:aces/cbrain-plugins-neuro.git\n```\n  * Run the following rake task (which is not the same as for\n  the BrainPortal side):\n\n```bash\nrake cbrain:plugins:install:plugins\n```\n\n  * If you want FSL tools to be parallelized in CBRAIN (limited to FSL Melodic for now), replace the fsl_sub script in your FSL installation with the one in the plugin:\n\n```bash\ncp cbrain-plugins-neuro/bin/fsl_sub ${FSLDIR}/bin\n```\n\n  * Restart your execution server (with the interface, click stop, then start).\n\n#### 3. In case of problems during installation\n\n  * Consider running the rake task that cleans all previous installations\n    of tools and userfiles, then trying again the rake tasks mentioned above.\n\n```bash\nrake cbrain:plugins:clean:all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faces%2Fcbrain-plugins-neuro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faces%2Fcbrain-plugins-neuro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faces%2Fcbrain-plugins-neuro/lists"}