-
Notifications
You must be signed in to change notification settings - Fork 13
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
Follow BIDS-Derivatives convention for outputs #42
Comments
Here are some initial thoughts on the files you outlined in nipreps/fmriprep#1678, based on bids-standard/bids-specification#519:
|
I've made a stab at this. There is a new option "--bidsoutput" that should put pretty much everything into BIDS compatible files (the exception are some text files specifying the command that was run.) |
The code-base is so huge that I'm having some trouble hunting down all of the new outputs. Are they summarized anywhere (e.g., in the documentation, or listed as targets for a test)? If not, I could probably fetch the One thing that I didn't see was associated json files. Those JSONs are optional, but they'd be pretty helpful, I think. Specifically, two fields that would be good to have are |
Sorry - I haven’t updated the documentation at all yet. Quickest way to check would be to run the second entry in the “testfmri” file in rapidtide/data/examples/src to generate bids output files. It should only take about 3 minutes to run.
You are correct - I didn’t make any json sidecars for the niftis (all the tsv files have them) and probably should. I like your suggestion on raw sources and units.
Blaise
Any typos, strange phrasing, or whimsy are because autocorrect hates me.
… On Oct 20, 2020, at 5:28 PM, Taylor Salo ***@***.***> wrote:
The code-base is so huge that I'm having some trouble hunting down all of the new outputs. Are they summarized anywhere (e.g., in the documentation, or listed as targets for a test)? If not, I could probably fetch the dev branch and run it on some data locally to figure out the final list.
One thing that I didn't see was associated json files. Those JSONs are optional, but they'd be pretty helpful, I think. Specifically, two fields that would be good to have are RawSources and Units. The RawSources would just be the inputs to the files, I think, and then if those inputs are actually not raw BIDS files (or are not final derivatives), then it would be on the tool (e.g., fMRIPrep) to chain the series of RawSources together to trace back to the actual BIDS files. Some of the files (like the lags) should be in seconds, so having Units there would be helpful. There are probably a few other common fields that are worth including, but I'd need to read through the outputs to figure that out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Ok, I've added json sidecars for all the nifti files ending in _map.nii.gz (which are the main output files). I put in RawSources and Units (although they are "None" for anything but lagtimes and lagsigma). I also added a CommandLineArgs, which shows you all the options used to invoke rapidtide. |
Based on that test, here are the files:
A few thoughts I have are:
I hope this helps. I'm not the Derivatives expert among the BIDS maintainers, so I could be wrong about some of these recommendations. |
|
Right, the "TR" keyword is entirely optional.
I've opened an issue about this in the electrophysiology derivatives BEP repository (bids-standard/bep021#2), but, from what I've heard, they will probably be slow to respond. I think it's probably best to use the
Personally, I think "lag time" is easier to interpret than "maximum correlation time" since it's how users will think of it, but I guess it's a matter of choosing between the interpretation and the actual value. Ultimately, I think that One other question- is Other than that, it all looks very good to me. The |
You may be right - let me think about that.
Yes it is - fixed.
It's the cleaned dataset. This was kind of confusing - I've changed the names a bit. now "desc-lfofilterCleaned.nii.gz" is the name of the denoised BOLD data after confound regression, and "desc-lfofilterRemoved.nii.gz" is the voxel-wise, lagged LFO confound regressor (this file is only saved if the "--nolimitoutput" flag is selected). I'm working on a table for the documentation with clear explanations of what file is what. To get decent tables, I need to use markdown (can't figure out how to make nice tables in .rst). The file "candidate_usage.md" has the modifications so far. |
Ah, that makes sense. Thank you for the clarification.
Do these tables look alright? If so, I can help with the RST tables. |
Those look great. I’m happy to stay with .rst if I can figure out table formatting. The only real change I made to candidate_usage.md after conversion was to mess with the BIDS output tables.
Blaise
… On Oct 26, 2020, at 11:28 AM, Taylor Salo ***@***.***> wrote:
It's the cleaned dataset. This was kind of confusing - I've changed the names a bit. now "desc-lfofilterCleaned.nii.gz" is the name of the denoised BOLD data after confound regression, and "desc-lfofilterRemoved.nii.gz" is the voxel-wise, lagged LFO confound regressor (this file is only saved if the "--nolimitoutput" flag is selected).
Ah, that makes sense. Thank you for the clarification.
I'm working on a table for the documentation with clear explanations of what file is what. To get decent tables, I need to use markdown (can't figure out how to make nice tables in .rst). The file "candidate_usage.md" has the modifications so far.
Do these tables <https://tedana.readthedocs.io/en/latest/outputs.html#tedana-derivatives> look alright? If so, I can help with the RST tables.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAH5DU3J5DSEKMINQCPLUA3SMWIRJANCNFSM4PYXTVLQ>.
|
Is your feature request related to a problem? Please describe.
BIDSifying rapidtide outputs will make it easier to integrate rapidtide with fMRIPrep and other BIDS Apps.
Describe the solution you'd like
Generated files could follow BIDS-Derivatives convention, both in terms of the filenames and the file formats. Additionally, it would be great if the documentation included an
Outputs of rapidtide
page. Tedana's version uses tables, while fMRIPrep's version is more expansive and text-oriented.Describe alternatives you've considered
The documentation under "Usage" could be expanded instead of adding a new page just for describing workflow outputs. This might be better for rapidtide, given the sheer number of different workflows that are included in the package. In tedana and fMRIPrep's cases, they only support one or two workflows for which the outputs need documentation.
Additional context
This request stems from nipreps/fmriprep#1678 (comment).
The text was updated successfully, but these errors were encountered: