PT - JOURNAL ARTICLE AU - Daniel R. Glen AU - Paul A. Taylor AU - Bradley R. Buchsbaum AU - Robert W. Cox AU - Richard C. Reynolds TI - Beware (surprisingly common) left-right flips in your MRI data: an efficient and robust method to check MRI dataset consistency using AFNI AID - 10.1101/19009787 DP - 2020 Jan 01 TA - medRxiv PG - 19009787 4099 - http://medrxiv.org/content/early/2020/01/24/19009787.short 4100 - http://medrxiv.org/content/early/2020/01/24/19009787.full AB - Knowing the difference between left and right is generally assumed throughout the brain MRI research community. However, we note widespread occurrences of left-right orientation errors in MRI open database repositories where volumes have contained systematic left-right flips between subject EPIs and anatomicals, due to having incorrect or missing file header information. Here we present a simple method in AFNI for determining the consistency of left and right within a pair of acquired volumes for a particular subject; the presence of EPI-anatomical inconsistency, for example, is a sign that dataset header information likely requires correction. The method contains both a quantitative evaluation as well as a visualizable verification. We test the functionality using publicly available datasets. Left-right flipping is not immediately obvious in most cases, so we also present visualization methods for looking at this problem (and other potential problems), using examples from both FMRI and DTI datasets.Competing Interest StatementThe authors have declared no competing interest.Clinical Protocols https://afni.nimh.nih.gov Funding StatementNIMH and NINDS Intramural Research Programs (ZICMH002888) of the NIH (HHS, USA) NIH's Brain Initiative (1R24MH117467-01)Author DeclarationsAll relevant ethical guidelines have been followed and any necessary IRB and/or ethics committee approvals have been obtained.YesAll necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.Not ApplicableAny clinical trials involved have been registered with an ICMJE-approved registry such as ClinicalTrials.gov and the trial ID is included in the manuscript.Not ApplicableI have followed all appropriate research reporting guidelines and uploaded the relevant Equator, ICMJE or other checklist(s) as supplementary files, if applicable.YesAll data is publicly available from open data repositories. The software is open source. Additionally, our processing scripts are provided in the appendix. https://afni.nimh.nih.gov/pub/dist/edu/data/CD.tgz https://www.nitrc.org/frs/?group_id=296 https://www.nitrc.org/frs/?group_id=404 https://openneuro.org/datasets/ds000114/versions/1.0.1/download https://openneuro.org/datasets/ds000172/versions/1.0.1/download https://openneuro.org/datasets/ds000003/versions/00001/download