Brain imaging researchers regularly work with large, heterogeneous, high-dimensional datasets. Historically, researchers have dealt with this complexity idiosyncratically, with every lab or individual implementing their own preprocessing and analysis procedures. The resulting lack of field-wide standards has severely limited reproducibility and data sharing and reuse.To address this problem, we and others recently introduced the Brain Imaging Data Standard (BIDS; (Gorgolewski et al., 2016)), a specification meant to standardize the process of representing brain imaging data. BIDS is deliberately designed with adoption in mind; it adheres to a user-focused philosophy that prioritizes common use cases and discourages complexity. By successfully encouraging a large and ever-growing subset of the community to adopt a common standard for naming and organizing files, BIDS has made it much easier for researchers to share, re-use, and process their data (Gorgolewski et al., 2017).The ability to efficiently develop high-quality spec-compliant applications itself depends to a large extent on the availability of good tooling. Because many operations recur widely across diverse contexts—for example, almost every tool designed to work with BIDS datasets involves regular file-filtering operations—there is a strong incentive to develop utility libraries that provide common functionality via a standardized, simple API.PyBIDS is a Python package that makes it easier to work with BIDS datasets. In principle, its scope includes virtually any functionality that is likely to be of general use when working with BIDS datasets (i.e., that is not specific to one narrow context). At present, its core and most widely used module supports simple and flexible querying and manipulation of BIDS datasets. PyBIDS makes it easy for researchers and developers working in Python to search for BIDS files by keywords and/or metadata; to consolidate and retrieve file-associated metadata spread out across multiple levels of a BIDS hierarchy; to construct BIDS-valid path names for new files; and to validate projects against the BIDS specification, among other applications.In addition to this core functionality, PyBIDS also contains an ever-growing set of modules that support additional capabilities meant to keep up with the evolution and expansion of the BIDS specification itself. Currently, PyBIDS includes tools for (1) reading and manipulating data contained in various BIDS-defined files (e.g., physiological recordings, event files, or participant-level variables); (2) constructing design matrices and contrasts that support the new BIDS-StatsModel specification (for machine-readable representation of fMRI statistical models); and (3) automated generation of partial Methods sections for inclusion in publications.PyBIDS can be easily installed on all platforms via pip (pip install pybids), though currently it is not officially supported on Windows. The package has few dependencies outside of standard Python numerical and image analysis libraries (i.e., numpy, scipy, pandas, and NiBabel). The core API is deliberately kept minimalistic: nearly all interactions with PyBIDS functionality occur through a core BIDSLayout object initialized by passing in a path to a BIDS dataset. For most applications, no custom configuration should be required.Although technically still in alpha release, PyBIDS is already being used both as a dependency in dozens of other open-source brain imaging packages – e.g., fMRIPrep (Esteban et al., 2019), MRIQC (Esteban et al., 2017), datalad-neuroimaging (https://github.com/datalad/datalad-neuroimaging), and fitlins (https://github.com/poldracklab/fitlins) – and directly in many researchers’ custom Python workflows. Development is extremely active, with bug fixes and new features continually being added (https://github.com/bids-standard/pybids), and major releases occurring approximately every 6 months. As of this writing, 29 people have contributed code to PyBIDS, and many more have provided feedback and testing. The API is relatively stable, and documentation and testing standards follow established norms for open-source scientific software. We encourage members of the brain imaging community currently working in Python to try using PyBIDS, and welcome new contributions.
Authors: Krzysztof J Gorgolewski; Fidel Alfaro-Almagro; Tibor Auer; Pierre Bellec; Mihai Capotă; M Mallar Chakravarty; Nathan W Churchill; Alexander Li Cohen; R Cameron Craddock; Gabriel A Devenyi; Anders Eklund; Oscar Esteban; Guillaume Flandin; Satrajit S Ghosh; J Swaroop Guntupalli; Mark Jenkinson; Anisha Keshavan; Gregory Kiar; Franziskus Liem; Pradeep Reddy Raamana; David Raffelt; Christopher J Steele; Pierre-Olivier Quirion; Robert E Smith; Stephen C Strother; Gaël Varoquaux; Yida Wang; Tal Yarkoni; Russell A Poldrack Journal: PLoS Comput Biol Date: 2017-03-09 Impact factor: 4.475
Authors: Krzysztof J Gorgolewski; Tibor Auer; Vince D Calhoun; R Cameron Craddock; Samir Das; Eugene P Duff; Guillaume Flandin; Satrajit S Ghosh; Tristan Glatard; Yaroslav O Halchenko; Daniel A Handwerker; Michael Hanke; David Keator; Xiangrui Li; Zachary Michael; Camille Maumet; B Nolan Nichols; Thomas E Nichols; John Pellman; Jean-Baptiste Poline; Ariel Rokem; Gunnar Schaefer; Vanessa Sochat; William Triplett; Jessica A Turner; Gaël Varoquaux; Russell A Poldrack Journal: Sci Data Date: 2016-06-21 Impact factor: 6.444
Authors: Oscar Esteban; Daniel Birman; Marie Schaer; Oluwasanmi O Koyejo; Russell A Poldrack; Krzysztof J Gorgolewski Journal: PLoS One Date: 2017-09-25 Impact factor: 3.240
Authors: Russell A Poldrack; Krzysztof J Gorgolewski; Oscar Esteban; Christopher J Markiewicz; Ross W Blair; Craig A Moodie; A Ilkay Isik; Asier Erramuzpe; James D Kent; Mathias Goncalves; Elizabeth DuPre; Madeleine Snyder; Hiroyuki Oya; Satrajit S Ghosh; Jessey Wright; Joke Durnez Journal: Nat Methods Date: 2018-12-10 Impact factor: 28.547
Authors: Agah Karakuzu; Stefan Appelhoff; Tibor Auer; Mathieu Boudreau; Franklin Feingold; Ali R Khan; Alberto Lazari; Chris Markiewicz; Martijn Mulder; Christophe Phillips; Taylor Salo; Nikola Stikov; Kirstie Whitaker; Gilles de Hollander Journal: Sci Data Date: 2022-08-24 Impact factor: 8.501
Authors: Michel-Pierre Coll; Hocine Slimani; Choong-Wan Woo; Tor D Wager; Pierre Rainville; Étienne Vachon-Presseau; Mathieu Roy Journal: Proc Natl Acad Sci U S A Date: 2022-06-03 Impact factor: 12.779
Authors: Julien Cohen-Adad; Eva Alonso-Ortiz; Mihael Abramovic; Carina Arneitz; Nicole Atcheson; Laura Barlow; Robert L Barry; Markus Barth; Marco Battiston; Christian Büchel; Matthew Budde; Virginie Callot; Anna J E Combes; Benjamin De Leener; Maxime Descoteaux; Paulo Loureiro de Sousa; Marek Dostál; Julien Doyon; Adam Dvorak; Falk Eippert; Karla R Epperson; Kevin S Epperson; Patrick Freund; Jürgen Finsterbusch; Alexandru Foias; Michela Fratini; Issei Fukunaga; Claudia A M Gandini Wheeler-Kingshott; Giancarlo Germani; Guillaume Gilbert; Federico Giove; Charley Gros; Francesco Grussu; Akifumi Hagiwara; Pierre-Gilles Henry; Tomáš Horák; Masaaki Hori; James Joers; Kouhei Kamiya; Haleh Karbasforoushan; Miloš Keřkovský; Ali Khatibi; Joo-Won Kim; Nawal Kinany; Hagen H Kitzler; Shannon Kolind; Yazhuo Kong; Petr Kudlička; Paul Kuntke; Nyoman D Kurniawan; Slawomir Kusmia; René Labounek; Maria Marcella Laganà; Cornelia Laule; Christine S Law; Christophe Lenglet; Tobias Leutritz; Yaou Liu; Sara Llufriu; Sean Mackey; Eloy Martinez-Heras; Loan Mattera; Igor Nestrasil; Kristin P O'Grady; Nico Papinutto; Daniel Papp; Deborah Pareto; Todd B Parrish; Anna Pichiecchio; Ferran Prados; Àlex Rovira; Marc J Ruitenberg; Rebecca S Samson; Giovanni Savini; Maryam Seif; Alan C Seifert; Alex K Smith; Seth A Smith; Zachary A Smith; Elisabeth Solana; Y Suzuki; George Tackley; Alexandra Tinnermann; Jan Valošek; Dimitri Van De Ville; Marios C Yiannakas; Kenneth A Weber Ii; Nikolaus Weiskopf; Richard G Wise; Patrik O Wyss; Junqian Xu Journal: Sci Data Date: 2021-08-16 Impact factor: 6.444
Authors: Jan Cimbalnik; Jaromir Dolezal; Çağdaş Topçu; Michal Lech; Victoria S Marks; Boney Joseph; Martin Dobias; Jamie Van Gompel; Gregory Worrell; Michal Kucewicz Journal: Sci Data Date: 2022-01-13 Impact factor: 6.444
Authors: John Kruper; Jason D Yeatman; Adam Richie-Halford; David Bloom; Mareike Grotheer; Sendy Caffarra; Gregory Kiar; Iliana I Karipidis; Ethan Roy; Bramsh Q Chandio; Eleftherios Garyfallidis; Ariel Rokem Journal: Apert Neuro Date: 2021-11-17
Authors: Samuel A Nastase; Yun-Fei Liu; Hanna Hillman; Asieh Zadbood; Liat Hasenfratz; Neggin Keshavarzian; Janice Chen; Christopher J Honey; Yaara Yeshurun; Mor Regev; Mai Nguyen; Claire H C Chang; Christopher Baldassano; Olga Lositsky; Erez Simony; Michael A Chow; Yuan Chang Leong; Paula P Brooks; Emily Micciche; Gina Choe; Ariel Goldstein; Tamara Vanderwal; Yaroslav O Halchenko; Kenneth A Norman; Uri Hasson Journal: Sci Data Date: 2021-09-28 Impact factor: 8.501
Authors: Christopher J Markiewicz; Krzysztof J Gorgolewski; Franklin Feingold; Ross Blair; Yaroslav O Halchenko; Eric Miller; Nell Hardcastle; Joe Wexler; Oscar Esteban; Mathias Goncavles; Anita Jwa; Russell Poldrack Journal: Elife Date: 2021-10-18 Impact factor: 8.713
Authors: Alejandro de la Vega; Roberta Rocca; Ross W Blair; Christopher J Markiewicz; Jeff Mentch; James D Kent; Peer Herholz; Satrajit S Ghosh; Russell A Poldrack; Tal Yarkoni Journal: Elife Date: 2022-08-30 Impact factor: 8.713