New to BIDS (dcm2bids config json)

612 views
Skip to first unread message

Alex Dufford

unread,
Jul 20, 2017, 4:42:37 PM7/20/17
to bids-discussion
Hi all,

I am very new to BIDS and I am trying to use dcm2bids (https://github.com/cbedetti/Dcm2Bids) to convert my data that was acquired on a Tim Trio. I am unclear on how to set up the configuration file based upon the example given. Has anyone who has used this converter and Trio data and willing to lend me a hand? Thanks so much!

Best,
Alex

Chris Gorgolewski

unread,
Jul 20, 2017, 4:49:41 PM7/20/17
to bids-discussion
Hi,

Welcome! I personally do not have experience with this converted (I have used heudiconv before), but Christophe Bedetti is on this mailing list so hopefully he can help.

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/6b03fea3-9066-4e92-b909-233d0edb5995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

PERNET Cyril

unread,
Jul 21, 2017, 3:42:18 AM7/21/17
to bids-discussion

from the PRISMA, choosing the option for BIDS generates a json file that contains the relevant information -  so you don't have to do it. That's pretty much it.


cyril



--
Dr Cyril Pernet,
Senior Academic Fellow, Neuroimaging Sciences
Software Sustainability Institute Fellow 

The University of Edinburgh
Centre for Clinical Brain Sciences (CCBS)
Chancellor's Building, Room GU426D
49 Little France Crescent
Edinburgh EH16 4SB
cyril....@ed.ac.uk
http://www.sbirc.ed.ac.uk/cyril
http://www.ed.ac.uk/edinburgh-imaging




From: bids-di...@googlegroups.com <bids-di...@googlegroups.com> on behalf of Chris Gorgolewski <krzysztof....@gmail.com>
Sent: 20 July 2017 21:49
To: bids-discussion
Subject: Re: [bids-discussion] New to BIDS (dcm2bids config json)
 
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/CAAQzouPRx4TAWrBv34h%3DaL6cU%3DuDbRJzrY8%2BANYU6-Uzi%3DwS1A%40mail.gmail.com.

PERNET Cyril

unread,
Jul 21, 2017, 3:46:42 AM7/21/17
to bids-discussion, Chris Gorgolewski

@Chris Gorgolewski FYI, attached are the json files generated automatically for MPRAGE and fMRI BOLD


--
Dr Cyril Pernet,
Senior Academic Fellow, Neuroimaging Sciences
Software Sustainability Institute Fellow 

The University of Edinburgh
Centre for Clinical Brain Sciences (CCBS)
Chancellor's Building, Room GU426D
49 Little France Crescent
Edinburgh EH16 4SB
cyril....@ed.ac.uk
http://www.sbirc.ed.ac.uk/cyril
http://www.ed.ac.uk/edinburgh-imaging




From: bids-di...@googlegroups.com <bids-di...@googlegroups.com> on behalf of Chris Gorgolewski <krzysztof....@gmail.com>
Sent: 20 July 2017 21:49
To: bids-discussion
Subject: Re: [bids-discussion] New to BIDS (dcm2bids config json)
 
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/CAAQzouPRx4TAWrBv34h%3DaL6cU%3DuDbRJzrY8%2BANYU6-Uzi%3DwS1A%40mail.gmail.com.
4_MPRAGE_ADNI_P2_MPRAGE_ADNI_P2.json
12_RestingState_fMRI_RestingState_fMRI.json

Alex Dufford

unread,
Jul 26, 2017, 5:52:51 PM7/26/17
to bids-discussion, cyril....@ed.ac.uk
Dear Dr. Pernet,

Thanks so much for your response. I got to the point where I have the json specific for my mprage (attached). However, when I run dcm2bids ( dcm2bids -d sub1 -p 001 -c sub1_mprage_5e_20140427134518_13.json) I get the following error:

Traceback (most recent call last):
  File "/usr/local/dcm2bids/07.19.2017/scripts/dcm2bids", line 61, in <module>
    sys.exit(main())
  File "/usr/local/dcm2bids/07.19.2017/scripts/dcm2bids", line 57, in main
    return app.run()
  File "/usr/local/dcm2bids/07.19.2017/dcm2bids/dcm2bids.py", line 35, in run
    parser = Sidecarparser(dcm2niix.sidecars, self.config["descriptions"])
KeyError: 'descriptions'

Thanks for any help you can give with this error.

Best,
Alex

On Friday, July 21, 2017 at 1:46:42 AM UTC-6, PERNET Cyril wrote:

...@Chris Gorgolewski FYI, attached are the json files generated automatically for MPRAGE and fMRI BOLD

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/6b03fea3-9066-4e92-b909-233d0edb5995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
sub1_mprage_5e_20140427134518_13.json

anandh...@gmail.com

unread,
Feb 12, 2019, 4:52:27 PM2/12/19
to bids-discussion
hi,

did you get any reply?

Johan Carlin

unread,
Feb 13, 2019, 4:53:04 AM2/13/19
to bids-discussion
If you would consider using my fork of dcmbids, there is a tutorial demo for this here:


The full config that the tutorial uses is also here:

https://github.com/jooh/Dcm2Bids/blob/master/example/bids_test5-20170120_config.json

It's for a Prisma rather than Trio but should be similar enough to get you started.

Johan
Reply all
Reply to author
Forward
0 new messages