bidsgnostic
BIDS app to view a dataset content and the events file content
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Keywords
bids
bids-apps
eeg
fnirs
ieeg
meg
mri
pet
quality-control
snakebids
snakemake
visualization
Last synced: 6 months ago
·
JSON representation
·
Repository
BIDS app to view a dataset content and the events file content
Basic Info
- Host: GitHub
- Owner: Remi-Gau
- License: other
- Language: Python
- Default Branch: main
- Homepage: http://bidsgnostic.rtfd.io/
- Size: 1.54 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
- Releases: 0
Topics
bids
bids-apps
eeg
fnirs
ieeg
meg
mri
pet
quality-control
snakebids
snakemake
visualization
Created about 3 years ago
· Last pushed 7 months ago
Metadata Files
Readme
License
Citation
README.rst
.. image:: https://img.shields.io/badge/license-GPL3-blue.svg
:target: https://raw.githubusercontent.com/Remi-Gau/bidsgnostic/main/LICENSE
:alt: license GPL3
.. image:: https://results.pre-commit.ci/badge/github/Remi-Gau/bidsgnostic/main.svg
:target: https://results.pre-commit.ci/latest/github/Remi-Gau/bidsgnostic/main
:alt: precommit status
.. image:: https://readthedocs.org/projects/bidsgnostic/badge/?version=latest
:target: https://bidsgnostic.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: black
.. image:: https://img.shields.io/badge/Sourcery-enabled-brightgreen.svg
:target: https://sourcery.ai
:alt: sourcery
.. image:: https://dl.circleci.com/status-badge/img/gh/Remi-Gau/bidsgnostic/tree/main.svg?style=svg
:target: https://dl.circleci.com/status-badge/redirect/gh/Remi-Gau/bidsgnostic/tree/main
:alt: circle ci
bidsgnostic
===========
BIDS app to view:
- the dataset content
- events file content
Install from github with pip
----------------------------
.. code-block:: bash
pip install -e git+https://github.com/Remi-Gau/bidsgnostic#egg=bidsgnostic
Note: you can re-run this command to re-install with the latest version
Usage
-----
short form
**********
participant level
_________________
.. code-block:: bash
bidsgnostic /path/to/bids/dir /path/to/output/dir participant --cores all
.. image:: https://raw.githubusercontent.com/Remi-Gau/bidsgnostic/main/docs/images/sub-01_task-balloonanalogrisktask_run-01_events.png
:width: 1000
:alt: example particicant output
See `here for participant level interactive figure as html `_.
Figures will not be generated if your events have more than 14 type of events.
If that is the case use the ``include`` argument to select which events you want to see.
group level
___________
.. code-block:: bash
bidsgnostic_layout /path/to/bids/dir /path/to/output/dir group
.. image:: https://raw.githubusercontent.com/Remi-Gau/bidsgnostic/main/docs/images/dataset-balloonanalogrisktakingtask_splitby-suffix_summary.png
:width: 1000
:alt: example group output
See `here for group level interactive figure as html `_.
all the gory details of the API
*******************************
subject Level
_____________
.. code-block:: text
usage: bidsgnostic [-h]
[--pybidsdb-dir PYBIDSDB_DIR]
[--reset-db]
[--force-output]
[--help-snakemake]
[--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
[--exclude_participant_label EXCLUDE_PARTICIPANT_LABEL [EXCLUDE_PARTICIPANT_LABEL ...]]
[--derivatives DERIVATIVES [DERIVATIVES ...]]
[--log_level LOG_LEVEL]
[--filter-events FILTER_EVENTS [FILTER_EVENTS ...]]
[--wildcards-events WILDCARDS_EVENTS [WILDCARDS_EVENTS ...]]
[--path-events PATH_EVENTS]
bids_dir output_dir {participant}
Snakebids helps build BIDS Apps with Snakemake
optional arguments:
-h, --help show this help message and exit
STANDARD:
Standard options for all snakebids apps
--pybidsdb-dir PYBIDSDB_DIR,
Optional path to directory of SQLite databasefile for PyBIDS.
If directory is passed and folder exists, indexing is skipped.
If reset_db is called, indexing will persist
--reset-db,
Reindex existing PyBIDS SQLite database
--force-output,
Force output in a new directory that already has contents
--help-snakemake,
Options to Snakemake can also be passed directly at the command-line,
use this to print Snakemake usage
SNAKEBIDS:
Options for snakebids app
bids_dir The directory with the input dataset formatted according to the BIDS standard.
output_dir The directory where the output files should be stored.
If you are running group level analysis this folder should be prepopulated
with the results of the participant level analysis.
{participant} Level of the analysis that will be performed.
--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...],
The label(s) of the participant(s) that should be analyzed.
The label corresponds to sub-
from the BIDS spec (so it does not include "sub-").
If this parameter is not provided all subjects should be analyzed.
Multiple participants can be specified with a space separated list.
--exclude_participant_label EXCLUDE_PARTICIPANT_LABEL [EXCLUDE_PARTICIPANT_LABEL ...],
The label(s) of the participant(s) that should be excluded.
The label corresponds to sub- from the BIDS spec
(so it does not include "sub-").
If this parameter is not provided all subjects should be analyzed.
Multiple participants can be specified with a space separated list.
--derivatives DERIVATIVES [DERIVATIVES ...]
Path(s) to a derivatives dataset, for folder(s)
that contains multiple derivatives datasets (default: False)
--log_level LOG_LEVEL,
The log_level level of the reporting
that will be printed to the console.
The default is "0", which means that
only warnings and errors will be reported.
If set to "1", all warnings, errors,
and informational messages will be reported.
If set to "2", all warnings, errors,
informational and debug messages will be reported.
--include-events INCLUDE_EVENTS [INCLUDE_EVENTS ...],
A list of events name to include in the plot.
If none is passed then all events will be included.
Must be less than 15 events.
--event_column EVENT_COLUMN,
Name of the column containing the events.
BIDS FILTERS:
Filters to customize PyBIDS get() as key=value pairs
--filter-events FILTER_EVENTS [FILTER_EVENTS ...],
(default: suffix=events extension=.tsv)
INPUT WILDCARDS:
File path entities to use as wildcards in snakemake
--wildcards-events WILDCARDS_EVENTS [WILDCARDS_EVENTS ...],
(default: subject session acquisition task run)
PATH OVERRIDE:
Options for overriding BIDS by specifying absolute paths that include wildcards,
e.g.: /path/to/my_data/{subject}/t1.nii.gz
--path-events PATH_EVENTS, --path_events PATH_EVENTS
group Level
___________
.. code-block:: text
usage: bidsgnostic_layout [-h]
[--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
[--plot_by PLOT_BY [PLOT_BY ...]]
[--log_level {0,1,2}]
bids_dir output_dir {group}
Group level diagnostic tool for BIDS datasets.
Plots the number of files per participant / session per:
- datatype,
- datatype / task,
- datatype / task and split by any other BIDS entity.
positional arguments:
bids_dir
output_dir
{group}
options:
-h, --help
--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]
--log_level {0,1,2}
--plot_by PLOT_BY [PLOT_BY ...]
BIDS entity to split plots by.
Owner
- Name: Remi Gau
- Login: Remi-Gau
- Kind: user
- Location: Louvain la neuve, Belgium
- Company: Crossmodal perception plasticity lab
- Website: https://remi-gau.github.io/
- Twitter: RemiGau
- Repositories: 70
- Profile: https://github.com/Remi-Gau
Neuroimaging (high-res & laminar fMRI) and multisensory. Too much matlab and presentation and not enough R and python
Citation (CITATION.cff)
cff-version: 1.2.0
title: "bidsgnostic"
version: 0.1.0
abstract: |
"BIDS app to view:
- the dataset content
- events file content"
message: "If you use this software, please cite it as below."
repository-code: "https://github.com/Remi-Gau/bidsgnostic.git "
contact:
- affiliation: "Université catholique de Louvain"
email: remi.gau@uclouvain.be
family-names: Gau
given-names: Rémi
authors:
- affiliation: "Université catholique de Louvain"
email: remi.gau@uclouvain.be
family-names: Gau
given-names: Rémi
license: GPL-3.0
keywords:
- BIDS
- brain imaging data structure
- neuroimaging
- automated pipeline
- Python
- data visualization
- qualtiy control
GitHub Events
Total
- Delete event: 10
- Issue comment event: 8
- Push event: 11
- Pull request review event: 8
- Pull request event: 16
- Create event: 9
Last Year
- Delete event: 10
- Issue comment event: 8
- Push event: 11
- Pull request review event: 8
- Pull request event: 16
- Create event: 9
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Remi Gau | r****u@h****m | 129 |
| pre-commit-ci[bot] | 6****] | 48 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 11
- Total pull requests: 61
- Average time to close issues: 6 days
- Average time to close pull requests: 4 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 0.55
- Average comments per pull request: 0.26
- Merged pull requests: 61
- Bot issues: 1
- Bot pull requests: 60
Past Year
- Issues: 1
- Pull requests: 15
- Average time to close issues: about 10 hours
- Average time to close pull requests: 10 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 1.0
- Merged pull requests: 15
- Bot issues: 1
- Bot pull requests: 15
Top Authors
Issue Authors
- Remi-Gau (10)
- pre-commit-ci[bot] (1)
Pull Request Authors
- pre-commit-ci[bot] (79)
- Remi-Gau (1)
Top Labels
Issue Labels
bug (2)
Pull Request Labels
Dependencies
.github/workflows/codespell.yml
actions
- actions/checkout v3 composite
- actions/setup-python v4 composite
.github/workflows/package.yml
actions
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/validation.yml
actions
- actions/checkout v3 composite
- actions/checkout master composite
- citation-file-format/cffconvert-github-action 2.0.0 composite
- codespell-project/actions-codespell master composite
- gaurav-nelson/github-action-markdown-link-check v1 composite
Dockerfile
docker
- python 3.11.1-slim-bullseye build
docs/requirements.txt
pypi
- docutils <0.18
- snakebids ==0.7.1
- sphinx-argparse *
- sphinx_rtd_theme *
pyproject.toml
pypi
- ipywidgets >=7.0.0
- loguru *
- plotly *
- rich *
- snakebids >=0.7.1
- snakemake *
requirements_doc.txt
pypi
- myst-parser *
- rstcheck *
- snakebids *
- sphinx *
- sphinx-argparse *
- sphinx-copybutton *
- sphinx_rtd_theme *
- sphinxcontrib-matlabdomain *
- sphinxcontrib-mermaid *
setup.py
pypi