Installation ============ The intended use of this pipeline is through the use of `Singularity `_ or `Docker `_ image. .. note:: Please refer to `Docker Desktop license agreement `_ if you are using :ref:`option2-docker`. Basically, if you are working at a research institute that has more than 250 employees AND more than $10 million in annual revenue, you need a paid subscription to use the service. .. _option1-singularity: Option 1: Singularity --------------------- If you are new to it, start by installing ``SingularityCE`` following this `instructions `_ . This page assumes users to install SingularityCE 4.2, the latest version as of Dec 18, 2024. As the guide specifies, SingularityCE cannot run natively on Windows or Mac. On a Windows Machine ^^^^^^^^^^^^^^^^^^^^ Please refer to this `blog `_ to install ``Windows System for Linux (WSL2)`` and then install SingularityCE. .. note:: Ubuntu 22.04.5 (LTS) has been tested instead of 20.04 (LTS) showcased in the blog post. Also, you may need to install more dependencies than what's described in the blog post. Prioritize this `page `_ when installing system dependencies. On a Mac Machine ^^^^^^^^^^^^^^^^ Please refer to this `guide `_ to install SingularityCE with ``lima``. Your institution's firewall setting may interfere with the installation. Then an alternative option is to use `vagrant `_. Again if your institution's firewall setting is strict, please download the virtual box using ``--insecure`` argument (check the accepted answer to this `posting `_). Then use the following command to pull the docker image as a ``Singularity``: :: singularity pull docker://inclab/hbcd_motion_postproc: where ``version_num`` denotes the specific version of the container. All available versions of the container can be found `here `_. If you are unsure of which version to use, use the tag: ``latest``. The full usage details can be seen under the :ref:`usage` section, but the basic command to run the container using ``Singularity`` is as follows: :: bids_dir=/path/to/bids_dir output_dir=/path/to/output_dir container=/path/to/container analysis_level=participant singularity run -B $bids_dir:/bids \ -B $output_dir:/out \ $container /bids /out $analysis_level where the following folder hierarchy is assumed in this case: :: bids_dir/ |-- participants.tsv |-- participants.json |-- sub-