This is the code associated with the paper titled "Publicly Available Imaging Datasets for Age-related Macular Degeneration: Evaluation according to the Findable, Accessible, Interoperable, Reproducible (FAIR) Principles". Age-related macular degeneration (AMD), a leading cause of vision loss among older adults, affects more than 200 million people worldwide. In this paper, We evaluated openly available AMD-related datasets containing optical coherence tomography (OCT) data against the FAIR principles. This repository contains the Jupyter notebook developed to analyze data for the paper and generate figures. See this inventory for all related resources, including the paper.
The overall code is structured according to the FAIR-BioRS guidelines. The Python code in the Jupyter notebook main.ipynb follows the PEP8 guidelines. Functions are documented with docstring formatted following Google's style guide. All the dependencies are documented in the environment.yml file.
We recommend using Anaconda to create and manage your development environment and using JupyterLab to run the notebook. All the subsequent instructions are provided assuming you are using Anaconda (Python 3 version) and JupyterLab.
Clone the repo or download as a zip and extract.
Open Anaconda prompt (Windows) or the system Command line interface then naviguate to the code
cd .FAIR-AMD-OCT-paper-code
$ conda env create -f environment.yml
$ conda activate FAIR-AMD-OCT-paper-code
$ conda install ipykernel
$ ipython kernel install --user --name=<any_name_for_kernel>
$ conda deactivate
Launch Jupyter lab and naviguate to open the main.ipynb file. Make sure to change the kernel to the one created above (e.g., see here). We recommend to use the JupyterLab code formatter along with the Black and isort formatters to facilitate compliance with PEP8 if you are editing the notebook.
The Jupyter notebook makes use of files in the dataset associated with the paper (see here). You will need to download the dataset at add it in the input folder (call the dataset folder 'dataset').
Outputs of the code include plots displayed in the notebook but also saved as files. These saved plot files are included in the output folder.
This work is licensed under MIT. See LICENSE for more information.
Use the GitHub issues for submitting feedback or making suggestions. You can also work the repository and submit a pull request with suggestions.
If you use this code, please cite the related paper (it will be listed here when available) and also cite this repository as:
Gim, Nayoon, Patel, Bhavesh. Code: FAIR AMD OCT Datasets Paper [Software]. Zenodo. https://doi.org/10.5281/zenodo.12662728