--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouOj-UiihgapSdHK0TseBR5XAJN0kpjf7vwCfDXawwKwNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/7e787dec-32b7-493b-9a40-ca302d884b4b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouOj-UiihgapSdHK0TseBR5XAJN0kpjf7vwCfDXawwKwNw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAPO0dgr9ZD31g6exv0WeLSY8U8-VH%2BWQOuHfTub8LbHLiK1qpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I’m not sure if I follow the proposal here. Are you proposing
sub-01_srctype-T1w_brainmask_<key1>-<value1>_<key2>-<value2>_<suffix>.<extension>
If underscores separate <key-value> pairs, that still looks like you have two suffixes to me…
Cheers,
-MH
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO 63110 Email: mha...@wustl.edu
.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz4L1V3HtjPLJH_ZEPhL3yx25ubw2wvUe9RC-2aZ6Wz-pg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/9DBF225D-5DD2-4613-AE06-CFA7580FE315%40wustl.edu.
This looks good to me.Regards,Franco
On Jul 7, 2018, at 11:04 PM, Chris Gorgolewski <krzysztof.gorgolewski@gmail.com> wrote:
Issue: All derivatives are named with the following scheme:<source_file>_<key1>-<value1>_<key2>-<value2>_<suffix>.<extension>where <source_file> is already in a form of<key1>-<value1>_<key2>-<value2>_<suffix>Example:sub-01_T1w_brainmask.nii,gzThis breaks with the overarching rule in the main specification of each filename consisting of key/value pairs followed by a single suffix. The suffix from the source file breaks this pattern.Proposed solution: turn the suffix from the source_file to a key/value pair with key set to "srctype". For example"sub-01_srctype-T1w_brainmask.nii,gzPlease let me know what do you think think about this proposal.Best,Chris--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouOj-UiihgapSdHK0TseBR5XAJN0kpjf7vwCfDXawwKwNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/F00CF6EA-AACC-4BE5-94ED-C29F1B4ECFF8%40gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouOj-UiihgapSdHK0TseBR5XAJN0kpjf7vwCfDXawwKwNw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAK-KoxTdX6p%3Dz3CcV7Ox7NhEu6SnYptxWCx2iiQZf9sT58kDBQ%40mail.gmail.com.
Will this handle multiple sources/types? E.g. if we do an analysis using multiple derivatives from multiple modalities?
VDC
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/994e5323-a3ec-45b5-a54b-eef1099972e2%40googlegroups.com.
Will this handle multiple sources/types? E.g. if we do an analysis using multiple derivatives from multiple modalities?
<srckey1>-<srcvalue1>_<srckey2>-<srcvalue2>_<derkey1>-<dervalue1>_<derkey2>-<dervalue2>_<source_suffix>_<der_suffix>.<extension>
sub-01_T1w_brainmask.nii,gz
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/977f52e0-aeda-42ba-a911-489fde23cd72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Best wishes/hartelijke groet,
Henk(-Jan) Mutsaerts, MD PhD
VUmc Amsterdam/AMC Amsterdam/UMCU Utrecht
UMCG Groningen/Sunnybrook Toronto/RIT NY
Phone: +31 6 4390 8284; Skype: hj.mutsaerts
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz7G7bsERMcecr0wOKMzj7xdMmeNVkaJu%3DgYEB9Orvjv4g%40mail.gmail.com.
+1Best wishes/hartelijke groet,
Henk(-Jan) Mutsaerts, MD PhD
VUmc Amsterdam/AMC Amsterdam/UMCU Utrecht
UMCG Groningen/Sunnybrook Toronto/RIT NYPhone: +31 6 4390 8284; Skype: hj.mutsaerts
On Mon, 9 Jul 2018 at 16:50, Thomas Nichols <thomas....@bdi.ox.ac.uk> wrote:
What about appending multiple key-less values at the end?<srckey1>-<srcvalue1>_<srckey2>-<srcvalue2>_<derkey1>-<dervalue1>_<derkey2>-<dervalue2>_<source_suffix>_<der_suffix>.<extension>It breaks the current syntax but it is well defined and reads well, e.g.:sub-01_T1w_brainmask.nii,gzand better, IMHO, than sub-01_srctype-T1w_brainmask.nii,gzAlso, it scales to multiple successive derivatives.-Tom
On Mon, Jul 9, 2018 at 3:43 PM yarikoptic <yarik...@gmail.com> wrote:
--
On Monday, July 9, 2018 at 10:36:34 AM UTC-4, vcalhoun wrote:Will this handle multiple sources/types? E.g. if we do an analysis using multiple derivatives from multiple modalities?
Any in-congruent "key" (or suffix for that matter) probably should be dropped anyways in such cases where there is no clear original "type" since coming from multiple types/modalities/etc. ATM BIDS derivatives spec seems to rely heavily on having a <source_file> prefix assuming "a single major source file". May be we should reserve in the sidecar "source_files" field to point to multiple files whenever relevant? But IMHO that is also an orthogonal to the original topic here (_suffix -> _key=value) and if not yet discussed/settled upon - we should start a new thread
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/977f52e0-aeda-42ba-a911-489fde23cd72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----__________________________________________________________Thomas Nichols, PhDProfessor of Neuroimaging StatisticsNuffield Department of Population Health | University of Oxford
Big Data Institute | Li Ka Shing Centre for Health Information and Discovery
Old Road Campus | Headington | Oxford | OX3 7LF | United Kingdom
T: +44 1865 743590 | E: thomas....@bdi.ox.ac.uk
W: http://nisox.org | http://www.bdi.ox.ac.uk
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz7G7bsERMcecr0wOKMzj7xdMmeNVkaJu%3DgYEB9Orvjv4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAPO0dgorGR1GwqvpD%3D8BxkP5K2fdv6JF4J44crvvT_%2BOUvj_wQ%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
+1
IMO, attempting to (effectively) encode provenance info as part of the file name is going to lead to some very long file names…
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-di...@googlegroups.com> on behalf of yarikoptic <yarik...@gmail.com>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 10:38 AM
To: bids-discussion <bids-di...@googlegroups.com>
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/b4187364-489f-48f1-9750-cac88be908a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/977f52e0-aeda-42ba-a911-489fde23cd72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----__________________________________________________________Thomas Nichols, PhDProfessor of Neuroimaging StatisticsNuffield Department of Population Health | University of Oxford
Big Data Institute | Li Ka Shing Centre for Health Information and Discovery
Old Road Campus | Headington | Oxford | OX3 7LF | United Kingdom
T: +44 1865 743590 | E: thomas....@bdi.ox.ac.uk
W: http://nisox.org | http://www.bdi.ox.ac.uk
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz7G7bsERMcecr0wOKMzj7xdMmeNVkaJu%3DgYEB9Orvjv4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAPO0dgorGR1GwqvpD%3D8BxkP5K2fdv6JF4J44crvvT_%2BOUvj_wQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CALMaa8316uJ72qC7BUQ8PWjj1tN0mqJNtPbdY4CnYj9Rg74WCw%40mail.gmail.com.
Is there a firm definition of what constitutes a “modality” vs a “suffix”? You seem to be viewing them as distinct, but in the previous email chain “T1w” (for example) has been treated as a “suffix”…
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-di...@googlegroups.com> on behalf of Tal Yarkoni <tyar...@gmail.com>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 12:20 PM
To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
One approach to this issue that seems reasonable to me is to say that any key-value pairs that apply to the file as it currently exists should be encoded in the filename, and any key-value pairs (or any other metadata) that applied to one or more source files used to generate the current derivative file should go in the JSON file as metadata.
.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAMQtfP%2Bk1KspLt07662LOvqE6THqXk5jJBVocUtEejDcXAKQOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/1BC53A33-87AE-4154-8973-FCECD4FADA06%40wustl.edu.
Yes, and perhaps more explicitly distinguish between “modality” and “suffix” in the documentation. Currently, “suffix” is used interchangeably to refer to both modality labels, but also to optional key/label pairs (e.g., “_run-1”) and things like “_physio” and “_stim” additions.
There is also the odd allowance (IMO) for anatomy data to end with a “_defacemask” suffix (although not explicitly called a suffix), in which case the modality can be *optionally* specified with a “mod-<label>” key/value pair…
Cheers,
-MH
.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAMQtfPKve5ZKxvx6-9PntXM%3DRJY%3D_Jz9Q%3D%2B3ZwRoq7oPOsHAbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Consider the case of a preprocessed BOLD image: it would make sense to call this "...run-1_preproc_bold.nii.gz". Provided both modalities apply to the current file, one does not need to determine whether the bold part has been around since some predecessor file, or was newly introduced. BUT, in a case where the predecessor file *was* a BOLD image, but the present file is not, then "bold" would (optionally) go in the JSON sidecar. (We could also stipulate that new modalities must be inserted *before* any current ones, giving at least an implicit sense of the history of the file).
When there is only one scan of a given type the suffix MAY be omitted.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz6jnfGpxOe0m8WLAzMEjsyv%2BwzD6MyDCf%3DsVJokDNhOHQ%40mail.gmail.com.
I think it will be important that any proposal deal from the get-go with the issue of chained derivatives.
Along those lines, given the infinite number of ways to “preprocess” data, and chain together different preprocessing steps, is it meaningful to have a catch-all “suffix” that is simply “_preproc” ?
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-di...@googlegroups.com> on behalf of Tal Yarkoni <tyar...@gmail.com>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 3:14 PM
To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
On my reading of the relevant section, I think this is a misuse of the term "suffix", as the example is clearly referring to keywords like "run". It's basically saying that you don't need to explicitly add a run index if you only have a single run. That seems reasonable. I definitely don't think it's reasonable to make the suffix optional, but I think this is just a matter of fixing the language in the spec, not of changing the intended meaning.
.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAMQtfP%2B_g4%2Bjf_kYKh-iG-FQYtuJh0Xsbfc0Bdnmgreswr-CWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On my reading of the relevant section, I think this is a misuse of the term "suffix", as the example is clearly referring to keywords like "run". It's basically saying that you don't need to explicitly add a run index if you only have a single run. That seems reasonable. I definitely don't think it's reasonable to make the suffix optional, but I think this is just a matter of fixing the language in the spec, not of changing the intended meaning.
If several scans of the same modality are acquired they MUST be indexed with a key-value pairsuffix: _run-1, _run-2, _run-3 etc. (only integers are allowed as run labels). When there is only one scan of a given type the run keysuffix MAY be omitted.
With respect to the more general issue, my suggestion is that we always propagate *all* suffixes that remain applicable to the current file. I haven't thought about this at length, but all the cases I can think of seem pretty cut and dried. E.g., if the derivative file still has the modality "bold", "T1w", "physio", and so on, then you would keep that suffix. If the modality changes, you would drop it. It doesn't seem like there's much ambiguity. I can see there being some uncertainty down the line in the case of multiple chained derivatives; e.g., if you do some further processing of a "*_preproc_bold.nii.gz" image, you would definitely need to keep the "bold" suffix, but would you keep the "preproc" modality as well? I'm not sure. But I kind of feel like weird things are going to happen once we start talking about second-order derivatives anyway, so I'm not sure how much of a concern this is. We would have similar problems even if we didn't adopt the convention I'm proposing (e.g., how do we encode the various steps that constitute the full provenance of a file in the JSON sidecar?).
Not sure if I’m a fan of reading backwards from the end of the file name to imply the history of the processing, esp. in the context of chained processing…
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-di...@googlegroups.com> on behalf of Thomas Nichols <thomas....@bdi.ox.ac.uk>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 3:37 PM
To: BIDS Discussion <bids-di...@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAJoTcz7p1cXuD92RtxmX57Tr1xFLbOZN7aRV0UGPuFxzy7TVHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Not sure if I’m a fan of reading backwards from the end of the file name to imply the history of the processing, esp. in the context of chained processing…
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-discussion@googlegroups.com> on behalf of Thomas Nichols <thomas....@bdi.ox.ac.uk>
Reply-To: "bids-discussion@googlegroups.com" <bids-discussion@googlegroups.com>
Date: Monday, July 9, 2018 at 3:37 PM
To: BIDS Discussion <bids-discussion@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
Phew! I've just proposed this change in the 1.1.1 draft:
If several scans of the same modality are acquired they MUST be indexed with a key-value pairsuffix: _run-1, _run-2, _run-3 etc. (only integers are allowed as run labels). When there is only one scan of a given type the run keysuffix MAY be omitted.
As a minor thing, I used "run key-value pair", but I see the "value" is always called "label". It's a minor point, but I don't know if there can be any improved clarity between what's a "value" in a key-value pair vs. a label.
With respect to the more general issue, my suggestion is that we always propagate *all* suffixes that remain applicable to the current file. I haven't thought about this at length, but all the cases I can think of seem pretty cut and dried. E.g., if the derivative file still has the modality "bold", "T1w", "physio", and so on, then you would keep that suffix. If the modality changes, you would drop it. It doesn't seem like there's much ambiguity. I can see there being some uncertainty down the line in the case of multiple chained derivatives; e.g., if you do some further processing of a "*_preproc_bold.nii.gz" image, you would definitely need to keep the "bold" suffix, but would you keep the "preproc" modality as well? I'm not sure. But I kind of feel like weird things are going to happen once we start talking about second-order derivatives anyway, so I'm not sure how much of a concern this is. We would have similar problems even if we didn't adopt the convention I'm proposing (e.g., how do we encode the various steps that constitute the full provenance of a file in the JSON sidecar?).
So, just to be clear, you're proposing to keep the 'modality' suffix at the end of the name, adding on derived "pre-suffixes" before. This makes sense to me, as if an image is mainly "bold" then that's the first thing you'll want to see at the end.
-Tom
__________________________________________________________
Thomas Nichols, PhD
Professor of Neuroimaging Statistics
Nuffield Department of Population Health | University of Oxford
Big Data Institute | Li Ka Shing Centre for Health Information and Discovery
Old Road Campus | Headington | Oxford | OX3 7LF | United Kingdom
T: +44 1865 743590 | E: thomas....@bdi.ox.ac.uk
W: http://nisox.org | http://www.bdi.ox.ac.uk
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
To view this discussion on the web visit
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to bids-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/2485C47C-EA66-471E-A666-EA3C6D2CBC65%40wustl.edu.
Apologies if I missed mention of this earlier in the thread as I have just done a brief scan, but wouldn't you also want to have derivatives that are derived from more than one source image (e.g. freesurfer that uses T2w for peel surface)?Although in this case having the source image(s) as kw pairs would definitely work better.
On 10 July 2018 at 06:46, Harms, Michael <mha...@wustl.edu> wrote:
Not sure if I’m a fan of reading backwards from the end of the file name to imply the history of the processing, esp. in the context of chained processing…
--
Michael Harms, Ph.D.
-----------------------------------------------------------
Associate Professor of Psychiatry
Washington University School of Medicine
Department of Psychiatry, Box 8134
St. Louis, MO 63110 Email: mha...@wustl.edu
From: <bids-di...@googlegroups.com> on behalf of Thomas Nichols <thomas....@bdi.ox.ac.uk>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 3:37 PM
To: BIDS Discussion <bids-di...@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
Phew! I've just proposed this change in the 1.1.1 draft:
If several scans of the same modality are acquired they MUST be indexed with a key-value pairsuffix: _run-1, _run-2, _run-3 etc. (only integers are allowed as run labels). When there is only one scan of a given type the run keysuffix MAY be omitted.
As a minor thing, I used "run key-value pair", but I see the "value" is always called "label". It's a minor point, but I don't know if there can be any improved clarity between what's a "value" in a key-value pair vs. a label.
With respect to the more general issue, my suggestion is that we always propagate *all* suffixes that remain applicable to the current file. I haven't thought about this at length, but all the cases I can think of seem pretty cut and dried. E.g., if the derivative file still has the modality "bold", "T1w", "physio", and so on, then you would keep that suffix. If the modality changes, you would drop it. It doesn't seem like there's much ambiguity. I can see there being some uncertainty down the line in the case of multiple chained derivatives; e.g., if you do some further processing of a "*_preproc_bold.nii.gz" image, you would definitely need to keep the "bold" suffix, but would you keep the "preproc" modality as well? I'm not sure. But I kind of feel like weird things are going to happen once we start talking about second-order derivatives anyway, so I'm not sure how much of a concern this is. We would have similar problems even if we didn't adopt the convention I'm proposing (e.g., how do we encode the various steps that constitute the full provenance of a file in the JSON sidecar?).
So, just to be clear, you're proposing to keep the 'modality' suffix at the end of the name, adding on derived "pre-suffixes" before. This makes sense to me, as if an image is mainly "bold" then that's the first thing you'll want to see at the end.
-Tom
__________________________________________________________
Thomas Nichols, PhD
Professor of Neuroimaging Statistics
Nuffield Department of Population Health | University of Oxford
Big Data Institute | Li Ka Shing Centre for Health Information and Discovery
Old Road Campus | Headington | Oxford | OX3 7LF | United Kingdom
T: +44 1865 743590 | E: thomas....@bdi.ox.ac.uk
W: http://nisox.org | http://www.bdi.ox.ac.uk
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/2485C47C-EA66-471E-A666-EA3C6D2CBC65%40wustl.edu.
--THOMAS G. CLOSE, PHDSenior Informatics OfficerMonash Biomedical ImagingMonash UniversityRoom 139, 770 Blackburn RdClayton Campus, Clayton VIC 3800Australia
--
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CADTb%3DgaBo0t2yOcs37gRUvAPrS3ki0TeChVCMHveXMrpH4okCw%40mail.gmail.com.
--
We are all colleagues working together to shape brain imaging for tomorrow, please be respectful, gracious, and patient with your fellow group members.
---
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouMEoHy0%2BbaahASLs%2B73oKkzBGLeBT3S3N1nUipn%2BpNtJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
PS: I assume this ship has sailed, but have we committed to 7 whole letters to spell out “variant”? Seems excessive.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/EDB8AF57-3BC6-497A-9DE4-6F1CDF6E495B%40bdi.ox.ac.uk.
From: <bids-di...@googlegroups.com> on behalf of Thomas Nichols <thomas....@bdi.ox.ac.uk>
Reply-To: "bids-di...@googlegroups.com" <bids-di...@googlegroups.com>
Date: Monday, July 9, 2018 at 3:37 PM
To: BIDS Discussion <bids-di...@googlegroups.com>
Subject: Re: [bids-discussion] Re: [derivatives] Changing file naming scheme
--
We are all colleagues working together to shape brain imaging for tomorrow, please be respectful, gracious, and patient with your fellow group members.
---
You received this message because you are subscribed to the Google Groups "bids-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bids-discussi...@googlegroups.com.
To post to this group, send email to bids-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/d147b203-172c-4940-a3de-575bc83f2c25%40googlegroups.com.
Hi,
I agree with Satra regarding waiting for NIDM-BIDS union; however, I am not sure how far we are from there.
I would prefer #2 due to provenance and filename length related considerations. As long as src values are clear and unambiguous, they can provide an alias for the source, so that any derivative would refer only to its closest source(s) by the src key. It can be also used to indicate more than one sources, which cannot be done with #5. E.g.:
1.
sub-01_src-T1w_brainmask.nii.gz
sub-01_task-rest_src-bold_variant-smoothed_ processedfunctional.nii.gz (I would use a less ambiguous and fully written suffix than preproc)
2.
sub-01_task-rest_src-T1w_src-processedfunctional_mean.tsv.gz
Con.: What to do with multiple variants/versions of the same source? But that is something the (NIDM) provenance model could cover.
#5 wold be my second choice.
Con.1.: It looks less intuitive. Is the variant-smoothed refer to the bold or the preprocessed (again, fully written suffix)? Contextually/semantically, this ambiguity can be resolved in perhaps most cases, because variant is not an usual/allowed(?) key for bold.
Con.2.: How to handle multiple sources? Some/most(?) cases (like the example above) may be straightforward, because one can see that the brainmask has been applied on the preprocessed, so
2.
sub-01_task-rest_variant-smoothed_bold_preprocessed_mean.tsv.gz
Vale,
Tibor
Auer, Tibor (Ph '99)
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CA%2BA4wO%3DMhK1gmgMfhHaD8iMm_EEonRiWk%2BmtNgvW-wzK5tAJiQ%40mail.gmail.com.
Best wishes/hartelijke groet,
Henk(-Jan) Mutsaerts, MD PhD
VUmc Amsterdam/AMC Amsterdam/UMCU Utrecht
UMCG Groningen/Sunnybrook Toronto/RIT NY
Phone: +31 6 4390 8284; Skype: hj.mutsaerts
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/00b801d428d3%2430846320%24918d2960%24%40gmail.com.
I would go for shortest filenames as possible without hurting the BIDS essentials (as Thom points out preferring "var" rather than "variance".
Do we need the "src" prefix, since "T1w", or "BOLD" are names reserved for src (e.g. cannot belong to another key)?
It would be great if provenance could be stored inside the JSON, this probably goes too far for the filename. However, we could use some default letters that allow for short names and overview:e.g.r = resampleds = smoothetc. which is already used by some software packages (e.g. SPM).We could also be pragmatic and simply keep the last "operation" in the filename (e.g. r or s) and leave the earlier operations in the sidecar.
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAPO0dgqySm9daS4EL8%2B8G7ud0tpp8KeUC7%3DXkSpfX%3DcvGc%2B2VA%40mail.gmail.com.
+1 for var
I am not sure whether proposal 5 limits the number of ‘keyless values’. Or do we consider keeping only the last ‘keyless value’ of the source, i.e. omitting T1w for the second order derivative in the example?
I am not sure how scalable the ‘letter-based provenance’ is. I mean there is certainly more operations than letters and there are more tools to perform the same operation.
I would keep the var(iance) values to store freetext labels (like acq for raw data). I think they can help to distinguish different flavours/variances of the same data even within the same operation (e.g. stronglysmoothed/lightlysmoothed, normalisedTal/normalisedMNI).
Vale,
Tibor
Auer, Tibor (Ph '99)
To view this discussion on the web visit https://groups.google.com/d/msgid/bids-discussion/CAAQzouP_M4asDPJ-XgXzJMTeLNP1uxr%2BPhRaRJ9WHqBUV%2BUO_w%40mail.gmail.com.