Skip to content

Commit 69bea22

Browse files
authored
Merge pull request #18 from scilus/update_doc_with_fs_and_bidsignore
Add bidsignore doc
2 parents e927e0d + 6a149db commit 69bea22

File tree

9 files changed

+26
-23
lines changed

9 files changed

+26
-23
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[![Documentation Status](https://readthedocs.org/projects/tractoflow-documentation/badge/?version=latest)](https://tractoflow-documentation.readthedocs.io/en/latest/?badge=latest)
22

3-
# TractoFlow-documentation
3+
# TractoFlow-documentation
4+
5+
https://tractoflow-documentation.readthedocs.io/en/latest/

source/data/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ echo "Downloading TractoFlow..."
44
nextflow pull scilus/tractoflow
55
echo "Done: TractoFlow downloaded."
66
echo "Downloading TractoFlow Singularity..."
7-
wget -q --show-progress http://scil.usherbrooke.ca/containers_list/scilus_1.4.0.sif
7+
wget -q --show-progress http://scil.usherbrooke.ca/containers_list/scilus_1.4.2.sif
88
echo "Done: TractoFlow Singularity downloaded."

source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Welcome to the TractoFlow user documentation!
22
=============================================
33

44
.. note::
5-
New release available: 2.4.0.
5+
New release available: 2.4.1.
66

77
TractoFlow pipeline is developed by the Sherbrooke Connectivity Imaging Lab (`SCIL`_)
88
in order to process diffusion MRI dataset from the raw data to the tractography.

source/installation/install.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Easy install method
77
Enter this command in your terminal (it downloads the container and TractoFlow code in the current directory - Make sure nextflow is already installed before running this command):
88
::
99

10-
curl -s https://tractoflow-documentation.readthedocs.io/en/2.4.0/install.sh | bash
10+
curl -s https://tractoflow-documentation.readthedocs.io/en/2.4.1/install.sh | bash
1111

1212

1313
Detailed Installation
@@ -56,13 +56,13 @@ Download the last release of the Singularity container for TractoFlow:
5656

5757
::
5858

59-
$> wget http://scil.usherbrooke.ca/containers_list/scilus_1.4.0.sif
59+
$> wget http://scil.usherbrooke.ca/containers_list/scilus_1.4.2.sif
6060

6161
Or if you have sudo privileges
6262

6363
::
6464

65-
$> sudo singularity build scilus_1.4.0.sif docker://scilus/scilus:1.4.0
65+
$> sudo singularity build scilus_1.4.2.sif docker://scilus/scilus:1.4.2
6666

6767
For developers
6868
##############
@@ -81,7 +81,7 @@ Then, you can build the singularity image:
8181

8282
::
8383

84-
$> singularity build scilus_1.4.0.sif singularity_scilus.def
84+
$> singularity build scilus_1.4.2.sif singularity_scilus.def
8585

8686
.. _docker-tractoflow:
8787

@@ -95,6 +95,6 @@ Download the last release of the Docker container for TractoFlow:
9595

9696
::
9797

98-
$> docker pull scilus/scilus:1.4.0
98+
$> docker pull scilus/scilus:1.4.2
9999

100100
Please see :ref:`profiles` section to use `macos` profile.

source/pipeline/input.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ Two types of input are available in TractoFlow: BIDS and an in-house structure.
66
BIDS parameter
77
--------------
88

9-
We recommend to use ``dcm2bids`` (https://github.com/unfmontreal/Dcm2Bids) to create BIDS datasets.
9+
We recommend to use ``dcm2bids`` (https://github.com/unfmontreal/Dcm2Bids) or ``heuviconv`` (https://github.com/nipy/heudiconv) to create BIDS datasets.
1010

1111
TractoFlow supports BIDS as input data using ``--bids YOUR_BIDS_DATASET``. TractoFlow does some verifications
1212
before launching the processing to valide the BIDS format.
1313

14+
If you need to filter some subjects/sessions/runs or some files
15+
you can create a bidsignore file using ``--bidsignore bids_ignore_path``. (Check: https://github.com/bids-standard/bids-validator#bidsignore)
16+
1417
In the case that some tags or informations are missing, TractoFlow will create a json file in ``results/Read_BIDS``.
1518
Please complete missing informations and relaunch the pipeline replacing ``--bids YOUR_BIDS_DATASET`` with ``--bids_config results/Read_BIDS/tractoflow_bids_struct.json``.
1619

source/pipeline/launch.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ To run the pipeline, use the following command:
99
::
1010

1111
# With Singularity
12-
$> nextflow run tractoflow -r 2.4.0 --bids input_bids -with-singularity scilus_1.4.0.sif -resume
12+
$> nextflow run tractoflow -r 2.4.1 --bids input_bids -with-singularity scilus_1.4.2.sif -resume
1313
# Or
14-
$> nextflow run tractoflow -r 2.4.0 --input input_folder -with-singularity scilus_1.4.0.sif -resume
14+
$> nextflow run tractoflow -r 2.4.1 --input input_folder -with-singularity scilus_1.4.2.sif -resume
1515

1616
# With Docker
17-
$> nextflow run tractoflow -r 2.4.0 --bids input_bids -with-docker scilus/scilus:1.4.0 -resume
17+
$> nextflow run tractoflow -r 2.4.1 --bids input_bids -with-docker scilus/scilus:1.4.2 -resume
1818
# Or
19-
$> nextflow run tractoflow -r 2.4.0 --input input_folder -with-docker scilus/scilus:1.4.0 -resume
19+
$> nextflow run tractoflow -r 2.4.1 --input input_folder -with-docker scilus/scilus:1.4.2 -resume
2020

2121
If you want to skip steps already processed by an anterior run, you can add `-resume` option in the command line.
2222

@@ -38,7 +38,7 @@ to be executed with ``sbatch``.
3838
#SBATCH --mem=0
3939
#SBATCH --time=48:00:00
4040

41-
nextflow -c singularity.conf run tractoflow -r 2.4.0 --input input_folder --dti_shells "DTI_SHELLS" --fodf_shells "FODF_SHELLS" -with-singularity singularity_name.sif -resume
41+
nextflow -c singularity.conf run tractoflow -r 2.4.1 --input input_folder --dti_shells "DTI_SHELLS" --fodf_shells "FODF_SHELLS" -with-singularity singularity_name.sif -resume
4242

4343
To launch on multiple nodes, you must to use the MPI option that use Ignite executor.
4444
The following example use 2 nodes with 32 threads on each nodes. The follwing lines
@@ -55,7 +55,7 @@ must be saved in ``.sh`` file (e.g. ``cmd.sh``) to be executed with ``sbatch``.
5555

5656
export NXF_CLUSTER_SEED=$(shuf -i 0-16777216 -n 1)
5757

58-
srun nextflow -c singularity.conf run tractoflow -r 2.4.0 --input input_folder --dti_shells "DTI_SHELLS" --fodf_shells "FODF_SHELLS" -with-singularity singularity_name.sif -with-mpi -resume
58+
srun nextflow -c singularity.conf run tractoflow -r 2.4.1 --input input_folder --dti_shells "DTI_SHELLS" --fodf_shells "FODF_SHELLS" -with-singularity singularity_name.sif -with-mpi -resume
5959

6060
To launch the pipeline on the HPC:
6161

source/pipeline/options.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@ Options
22
=======
33

44
To display the options of Tractoflow, please use
5-
``nextflow run tractoflow -r 2.4.0 --help``.
5+
``nextflow run tractoflow -r 2.4.1 --help``.
66

77
Optional BIDS arguments
88
------------
99

10-
``--participants_label "SUBID1 SUBID2"`` (default: none)
11-
The label(s) of the specific participant(s) you want to analyzed.
12-
It does not include "sub-".
13-
Please write one or more subjects between quotes e.g. (--participants_label "01 02 04")
14-
If this parameter is not provided all subjects should be analyzed
10+
``--bidsignore "bids_ignore_path"`` (default: none)
11+
If you want to ignore some subjects/sessions/runs or some files, you can provide an extra bidsignore file.
12+
Check: https://github.com/bids-standard/bids-validator#bidsignore
1513

1614

1715
``-clean_bids BOOL`` (default: false)

source/pipeline/profiles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To select one or multiple profiles, please use the ``-profile`` option. For exam
77

88
::
99

10-
$> nextflow run tractoflow -r 2.4.0 --input input_folder -profile macos,fully_reproducible -with-singularity singularity_name.sif -resume
10+
$> nextflow run tractoflow -r 2.4.1 --input input_folder -profile macos,fully_reproducible -with-singularity singularity_name.sif -resume
1111

1212
Profiles available
1313
------------------

source/reference/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
2.4.0
4+
2.4.1
55
########
66
Date: November 2022
77

0 commit comments

Comments
 (0)