Skip to content

Commit b7b908b

Browse files
Correc default params (#56)
* removed t1head_automask for marmo and marmot2 (marmot li threshold) * t1 gcc erode/diltate=6 for macaque * modif doc
1 parent 585a9cb commit b7b908b

20 files changed

Lines changed: 57 additions & 123 deletions

Dockerfile_spm_hdbet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010
# Timestamp: 2020/12/02 18:33:44 UTC
1111

12-
FROM macatools/macapype:v0.5.10-full2
12+
FROM macatools/macapype:v0.6-spm-hdbet
1313

1414
USER root
1515

Dockerfile_testpypi_spm_hdbet

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by: Neurodocker version 0.7.0+15.ga4940e3.dirty
2+
# Latest release: Neurodocker version 0.7.0
3+
#
4+
# Thank you for using Neurodocker. If you discover any issues
5+
# or ways to improve this software, please submit an issue or
6+
# pull request on our GitHub repository:
7+
#
8+
# https://github.com/ReproNim/neurodocker
9+
#
10+
# Timestamp: 2020/12/02 18:33:44 UTC
11+
12+
FROM macatools/macapype:v0.6-spm-hdbet
13+
14+
USER root
15+
16+
ARG DEBIAN_FRONTEND="noninteractive"
17+
18+
MAINTAINER David Meunier "david.meunier@univ-amu.fr"
19+
20+
############################################# install skullTo3d
21+
22+
RUN python -m pip install --no-deps --index-url https://test.pypi.org/simple/ --pre skullTo3d
23+
24+
RUN python -c "import skullTo3d; print(skullTo3d.__version__)"

docs/command.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ exclusive parameters
9898
*(but one is mandatory)*
9999

100100
* ``-params`` : *(mandatory if -species is omitted)* a json file specifiying the global parameters of the analysis. See :ref:`Parameters <params>` for more details
101-
* ``-species`` : *(mandatory if -params is omitted)* followed the NHP species corresponding to the image, e.g. {macaque | marmo | baboon | chimp}
101+
* ``-species`` : *(mandatory if -params is omitted)* followed the NHP species corresponding to the image, e.g. {macaque | marmo }
102102

103103
**NB** marmoT2 can be used for segmenting from the T2w image (by default, T1w is used for marmo)
104104
**NB** macaque_0p5 is available to use downsampled template (faster results)

docs/docker_install.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Container install
77
*****************
88

9-
Docker allows to provide all necessary softwares in extra to macapype packages. The Docker image we provide include ANTS 2.3.1, FSL 5.0.10 and AFNI (latest version). See at the bottom of this page for docker with SPM Stand-alone.
9+
Docker allows to provide all necessary softwares in extra to macapype packages. The Docker image we provide include ANTS 2.4.3, FSL 6.0.7.17 and AFNI (latest version). See at the bottom of this page for docker with SPM Stand-alone.
1010

1111
**Note 1** :the image is quite big (~5GB) so requires some space on your "/" partition.
1212
**Note 2** : due to standard naming format, the repository on DockerHub is called "skullto3d", not "skullTo3d" - please note the difference in uppercase lowercase "T"...
@@ -33,15 +33,20 @@ A docker image can also be downloaded directly from `DockerHub repo <https://hub
3333
3434
$ docker pull macatools/skullto3d:latest
3535
36-
Starting from the release v0.2.1 on github, the docker images are tagged accordingly on Dockerhub:
36+
Docker images are tagged accordingly on Dockerhub:
3737

3838
.. code:: bash
3939
40-
$ docker pull macatools/skullto3d:version-0.2.1
41-
40+
$ docker pull macatools/skullto3d:v0.1
4241
4342
See :ref:`Quick test <quick_test>` for testing if your docker installation works properly on test datasets.
4443

44+
**NB** for running ``-soft SPM`` and/or hdbet (corresponding ``-soft ANTS_quick``), a bigger version of the docker is available:
45+
46+
.. code:: bash
47+
48+
$ docker pull macatools/skullto3d:v0.1
49+
4550
Note on Singularity
4651
-------------------
4752

@@ -51,7 +56,7 @@ Here is an example of a command line to install and convert the docker image to
5156

5257
.. code:: bash
5358
54-
$ export SINGULARITY_TMPDIR=/tmp/; export SINGULARITY_CACHEDIR=/tmp/; sudo -E /path/to/bin/singularity build /path/to/containers/skullto3d_v0.0.4.1.sif docker://macatools/skullto3d:v0.0.4.1
59+
$ export SINGULARITY_TMPDIR=/tmp/; export SINGULARITY_CACHEDIR=/tmp/; sudo -E /path/to/bin/singularity build /path/to/containers/skullto3d_v0.1.sif docker://macatools/skullto3d:v0.1
5560
5661
It *seems* the sudo priviliges are required to install and build images, so in case you have trouble, ask the admin of your cluster to perform this operation
5762

docs/quick_test.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Testing from Singularity image
2525

2626
.. code:: bash
2727
28-
$ singularity run -B /path/to/data:/data /path/to/containers/skullto3d_v0.0.5.sif segment_skull -data /data/skullTo3d_CI_v2/cerimed_marmo -out /data/skullTo3d_CI_v2/cerimed_marmo/results -soft ANTS_skull_robustreg -species marmo -sub Tresor -ses 01 -brain_dt T1 T2 -skull_dt T1 petra CT -deriv -padback
28+
$ singularity run -B /path/to/data:/data /path/to/containers/skullto3d_v0.1.sif segment_skull -data /data/skullTo3d_CI_v2/cerimed_marmo -out /data/skullTo3d_CI_v2/cerimed_marmo/results -soft ANTS_skull_robustreg -species marmo -sub Tresor -ses 01 -brain_dt T1 T2 -skull_dt T1 petra CT -deriv -padback
2929
3030
3131
Testing from docker image
@@ -35,7 +35,7 @@ For testing the docker installation, the beginning of the commands should be rep
3535

3636
.. code:: bash
3737
38-
$ docker run -v /path/to/data:/data macatools/skullto3d:v0.0.5 segment_skull -data /data/skullTo3d_CI_v2/cerimed_marmo -out /data/skullTo3d_CI_v2/cerimed_marmo/results -soft ANTS_skull_robustreg -species marmo -sub Tresor -ses 01 -brain_dt T1 T2 -skull_dt T1 petra CT -deriv -padback
38+
$ docker run -v /path/to/data:/data macatools/skullto3d:v0.1 segment_skull -data /data/skullTo3d_CI_v2/cerimed_marmo -out /data/skullTo3d_CI_v2/cerimed_marmo/results -soft ANTS_skull_robustreg -species marmo -sub Tresor -ses 01 -brain_dt T1 T2 -skull_dt T1 petra CT -deriv -padback
3939
4040
Testing from python package install
4141
-----------------------------------
@@ -68,6 +68,6 @@ Macaque CT petra
6868

6969
.. code:: bash
7070
71-
$ singularity run -B /path/to/data/:/data /path/to/containers/skullto3d_v0.0.5.sif segment_skull -data /data/skullTo3d_CI_v2/cerimed_macaque -out /data/skullTo3d_CI_v2/cerimed_macaque/results -soft ANTS_skull_robustreg -species macaque -sub Stevie -ses 01 -brain_dt T1 T2 -skull_dt CT petra t1 -deriv -padback
71+
$ singularity run -B /path/to/data/:/data /path/to/containers/skullto3d_v0.1.sif segment_skull -data /data/skullTo3d_CI_v2/cerimed_macaque -out /data/skullTo3d_CI_v2/cerimed_macaque/results -soft ANTS_skull_robustreg -species macaque -sub Stevie -ses 01 -brain_dt T1 T2 -skull_dt CT petra t1 -deriv -padback
7272
7373
See :ref:`Commands <command>` for more info on robustreg in soft

workflows/params_segment_macaque_ants_4animal_skull.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@
112112
"t1_skull_gcc_erode":
113113
{
114114
"kernel_shape": "boxv",
115-
"kernel_size": 3.0
115+
"kernel_size": 6.0
116116
},
117117
"t1_skull_gcc_dilate":
118118
{
119119
"operation": "modal",
120120
"kernel_shape": "boxv",
121-
"kernel_size": 3.0
121+
"kernel_size": 6.0
122122
},
123123
"t1_skull_dilate":
124124
{

workflows/params_segment_macaque_ants_4animal_skullnoisypetra.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@
111111
"t1_skull_gcc_erode":
112112
{
113113
"kernel_shape": "boxv",
114-
"kernel_size": 3.0
114+
"kernel_size": 6.0
115115
},
116116
"t1_skull_gcc_dilate":
117117
{
118118
"operation": "modal",
119119
"kernel_shape": "boxv",
120-
"kernel_size": 3.0
120+
"kernel_size": 6.0
121121
},
122122
"t1_skull_dilate":
123123
{

workflows/params_segment_macaque_ants_quick_skull.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@
111111
"t1_skull_gcc_erode":
112112
{
113113
"kernel_shape": "boxv",
114-
"kernel_size": 3.0
114+
"kernel_size": 6.0
115115
},
116116
"t1_skull_gcc_dilate":
117117
{
118118
"operation": "modal",
119119
"kernel_shape": "boxv",
120-
"kernel_size": 3.0
120+
"kernel_size": 6.0
121121
},
122122
"t1_skull_dilate":
123123
{

workflows/params_segment_macaque_ants_quick_skullnoisypetra.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@
110110
"t1_skull_gcc_erode":
111111
{
112112
"kernel_shape": "boxv",
113-
"kernel_size": 3.0
113+
"kernel_size": 6.0
114114
},
115115
"t1_skull_gcc_dilate":
116116
{
117117
"operation": "modal",
118118
"kernel_shape": "boxv",
119-
"kernel_size": 3.0
119+
"kernel_size": 6.0
120120
},
121121
"t1_skull_dilate":
122122
{

workflows/params_segment_macaque_ants_skull.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@
117117
"t1_skull_gcc_erode":
118118
{
119119
"kernel_shape": "boxv",
120-
"kernel_size": 3.0
120+
"kernel_size": 6.0
121121
},
122122
"t1_skull_gcc_dilate":
123123
{
124124
"operation": "modal",
125125
"kernel_shape": "boxv",
126-
"kernel_size": 3.0
126+
"kernel_size": 6.0
127127
},
128128
"t1_skull_dilate":
129129
{

0 commit comments

Comments
 (0)