TY - JOUR T1 - Beware (surprisingly common) left-right flips in your MRI data: an efficient and robust method to check using AFNI JF - medRxiv DO - 10.1101/19009787 SP - 19009787 AU - Daniel R. Glen AU - Paul A. Taylor AU - Bradley R. Buchsbaum AU - Robert W. Cox AU - Richard C. Reynolds Y1 - 2019/01/01 UR - http://medrxiv.org/content/early/2019/10/22/19009787.abstract N2 - Knowing the difference between left and right is generally assumed throughout the brain MRI research community. However, we note rather widespread occurrences of left-right orientation errors in MRI open database repositories where volumes have contained systematic left-right flips 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 subject’s acquired volumes; 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 ER -