Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial sketch for the mriqc/fmriprep singularity based workflow #438

Draft
wants to merge 38 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8f4469e
Initial sketch for the mriqc/fmriprep singularity based workflow
yarikoptic Jul 18, 2019
de0442f
DOC: added a few comments
yarikoptic Jul 18, 2019
a18521d
DOC: note on execution of mriqc
yarikoptic Jul 18, 2019
92388ed
ENH: make possible to quickly switch from reproman to datalad + some …
yarikoptic Aug 6, 2019
1588f76
ENH: text2git for mriqc output
yarikoptic Aug 6, 2019
5b95ded
BF: make get_participants_ids work + set -x for debugging
yarikoptic Aug 15, 2019
79c3a99
another perspective one on kwyk
yarikoptic Aug 21, 2019
57b6b6c
ENH/RF: shellcheck, group common bids-app logic into run_bids_app, ex…
yarikoptic Oct 10, 2019
fedb8b0
moved datalad install containers before working in containers subdir
chaselgrove Dec 12, 2019
dc5dc0b
Merge branch 'master' into doc-usecases
chaselgrove Dec 17, 2019
76450af
RF: compose proper call for fmriprep, inline querying participant labels
yarikoptic Dec 19, 2019
850b36f
RF: reordered commands so settings come first and then all the actions
yarikoptic Dec 19, 2019
7110ec6
BF+RF: improve handling of fs license, more TODO comments (seems to w…
yarikoptic Dec 19, 2019
a81e457
ENH: do not create bids app results dataset if directory exists already
yarikoptic Dec 20, 2019
d5e9028
defaulting RM_RESOURCE and RM_SUB to local but allowing overrides
chaselgrove Jan 3, 2020
924980c
Merge remote-tracking branch 'origin/master' into doc-usecases
yarikoptic Jan 8, 2020
d05430d
Merge branch 'doc-usecases' of https://github.com/yarikoptic/ReproNim…
yarikoptic Jan 8, 2020
5ab5a8b
clean the containers repo after freezing versions
chaselgrove Jan 14, 2020
7ae46ab
Revert "clean the containers repo after freezing versions"
chaselgrove Jan 28, 2020
a4af6ba
Merge branch 'master' into doc-usecases
chaselgrove Apr 27, 2020
5a2f0f3
Fix runscript regexp to work on Mac OS
chaselgrove Apr 29, 2020
b70144e
ENH: always set -x, add env vars to not require patching for FS licen…
yarikoptic May 21, 2020
82df248
Comments on which images must be prepropulated in containers repo and…
yarikoptic May 22, 2020
6009dd0
ENH: Script for reproducible rerun of the demo script
yarikoptic May 22, 2020
295d9d2
kyle1-ps4 setup
yarikoptic May 25, 2020
fc91ec2
Merge remote-tracking branch 'origin/master' into doc-usecases
yarikoptic May 25, 2020
8905cc4
BF: Fix failure on unset BIDS_APP with set -u
chaselgrove May 26, 2020
cffa3a3
BF: Add mac workaround in get_participant_ids
chaselgrove May 27, 2020
85a41dc
ENH: Update parallel install message for mac users
chaselgrove May 27, 2020
baab991
BF: export PS1 within -reproduce.sh
yarikoptic May 27, 2020
75fa815
ENH: Use temporary HOME, cp .gitconfig and .freesurfer-license, confi…
yarikoptic May 27, 2020
7920234
reproman-master setup for -reproduce and min datalad 0.12.7
yarikoptic May 27, 2020
29500a7
master reproman now has [datalad] installation target
yarikoptic May 28, 2020
3bf4e38
Merge remote-tracking branch 'origin/master' (needs datalad 0.13.0rc1…
yarikoptic May 28, 2020
d895cc4
ENH: add containers/licenses into --input, specify data/bids explicit…
yarikoptic May 28, 2020
e28d011
DOC: note that datalad runner group analysis probably does nothing
yarikoptic May 28, 2020
795eed8
ENH: point to subject specific input data
yarikoptic May 28, 2020
52c19fc
Merge remote-tracking branch 'yarik/doc-usecases' into doc-usecases
chaselgrove Jun 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: note on execution of mriqc
yarikoptic committed Jul 18, 2019
commit a18521d10ce085083a670372393bcd022cc5fbb6
12 changes: 12 additions & 0 deletions docs/usecases/bids-fmriprep-workflow-NP.sh
Original file line number Diff line number Diff line change
@@ -141,6 +141,18 @@ RM_SUB=condor

# Q/TODO: Is there a way to execute/reference the container?
# for now doing manually
datalad create -d . data/mriqc

# Sample run without any parallelization, and doing both levels (participant and group)
reproman run --follow -r "${RM_RESOURCE}" --sub "${RM_SUB}" --orc "${RM_ORC}" \
--jp container=containers/bids-mriqc data/bids data/mriqc participant,group
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the original, datalad command would be

datalad containers-run -n containers/bids-mriqc data/bids data/mriqc participant,group

TODO : add inputs/outputs specification


# ultimately we should be able to parallelize across subjects. Here is the sample invocation for subj 02
# singularity run containers/images/bids/bids-mriqc--0.15.0.sing \
# data/bids/ data/mriqc/ participant --participant_label 02
# and at the "group" level should have no --participant_label option


reproman run --follow -r "${RM_RESOURCE}" --sub "${RM_SUB}" --orc "${RM_ORC}" \
--bp 'thing=thing-*' \
--input '{p[thing]}' \