{
  "_id": "6a3bae2e5cdecea1d682abd0",
  "Package": "genio",
  "Title": "Genetics Input/Output Functions",
  "Version": "1.1.6.9000",
  "Authors@R": "person(given = \"Alejandro\",\nfamily = \"Ochoa\",\nrole = c(\"aut\", \"cre\"),\nemail = \"alejandro.ochoa@duke.edu\",\ncomment = c(ORCID = \"0000-0003-4928-3403\"))",
  "Description": "Implements readers and writers for file formats associated\nwith genetics data.  Reading and writing Plink BED/BIM/FAM and\nGCTA binary GRM formats is fully supported, including a\nlightning-fast BED reader and writer implementations.  Other\nfunctions are 'readr' wrappers that are more constrained,\nuser-friendly, and efficient for these particular applications;\nhandles Plink and Eigenstrat tables (FAM, BIM, IND, and SNP\nfiles).  There are also make functions for FAM and BIM tables\nwith default values to go with simulated genotype data.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/OchoaLab/genio",
  "BugReports": "https://github.com/OchoaLab/genio/issues",
  "Config/pak/sysreqs": "libx11-dev",
  "Repository": "https://ochoalab.r-universe.dev",
  "Date/Publication": "2025-02-20 22:53:41 UTC",
  "RemoteUrl": "https://github.com/ochoalab/genio",
  "RemoteRef": "HEAD",
  "RemoteSha": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 10:10:11 UTC",
    "User": "root"
  },
  "Author": "Alejandro Ochoa [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4928-3403>)",
  "Maintainer": "Alejandro Ochoa <alejandro.ochoa@duke.edu>",
  "MD5sum": "dca029d3ebe03a7abae90fdf9ce99036",
  "_user": "ochoalab",
  "_type": "src",
  "_file": "genio_1.1.6.9000.tar.gz",
  "_fileid": "5e102302e556cef1a757d2c59a0f1e8bcf3ef3dc39d465e21e8379d8d31eff56",
  "_filesize": 786227,
  "_sha256": "5e102302e556cef1a757d2c59a0f1e8bcf3ef3dc39d465e21e8379d8d31eff56",
  "_created": "2026-06-24T10:10:11.000Z",
  "_published": "2026-06-24T10:15:10.756Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83169359109,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7846526397"
    },
    {
      "job": 83169359082,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7846519858"
    },
    {
      "job": 83169359124,
      "time": 182,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846535016"
    },
    {
      "job": 83169359094,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846523146"
    },
    {
      "job": 83169359099,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7846510653"
    },
    {
      "job": 83169359110,
      "time": 256,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7846560414"
    },
    {
      "job": 83169359111,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7846503038"
    },
    {
      "job": 83169359058,
      "time": 225,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7846547418"
    },
    {
      "job": 83168732933,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846463380"
    },
    {
      "job": 83169359032,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846519349"
    },
    {
      "job": 83169359127,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7846515965"
    },
    {
      "job": 83169359104,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7846509080"
    },
    {
      "job": 83169359159,
      "time": 142,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7846518765"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ochoalab/genio",
  "_commit": {
    "id": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
    "author": "Alejandro Ochoa Garcia <alexviiiag@gmail.com>",
    "committer": "Alejandro Ochoa Garcia <alexviiiag@gmail.com>",
    "message": "Internal function `add_ext_read` (affects `count_lines`, `het_reencode_bed`, and probably all or most `read_*` functions) now works as intended when the file without extension matches a directory name, so that the directory is ignored and the extension is added as expected\n",
    "time": 1740092021
  },
  "_maintainer": {
    "name": "Alejandro Ochoa",
    "email": "alejandro.ochoa@duke.edu",
    "login": "alexviiia",
    "orcid": "0000-0003-4928-3403",
    "description": "Statistical geneticist, computational biologist.  Well-rounded nerd, also love languages and music.",
    "uuid": 12603341
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "readr",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BEDMatrix",
      "role": "Suggests"
    },
    {
      "package": "snpStats",
      "role": "Suggests"
    },
    {
      "package": "lobstr",
      "role": "Suggests"
    }
  ],
  "_owner": "ochoalab",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [],
  "_tags": [],
  "_stars": 18,
  "_contributors": [
    {
      "user": "alexviiia",
      "count": 104,
      "uuid": 12603341
    }
  ],
  "_userbio": {
    "uuid": 41968176,
    "type": "organization",
    "name": "Ochoa Lab at Duke StatGen",
    "followers": 6,
    "description": "Research in statgen, biostats, compbio"
  },
  "_downloads": {
    "count": 1169,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/genio"
  },
  "_devurl": "https://github.com/ochoalab/genio",
  "_searchresults": 447,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/genio.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ochoalab/genio",
  "_realowner": "ochoalab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.9",
      "date": "2019-05-24"
    },
    {
      "version": "1.0.10",
      "date": "2019-05-28"
    },
    {
      "version": "1.0.12",
      "date": "2019-12-17"
    },
    {
      "version": "1.0.23",
      "date": "2021-06-11"
    },
    {
      "version": "1.0.25",
      "date": "2021-07-26"
    },
    {
      "version": "1.1.1",
      "date": "2022-04-27"
    },
    {
      "version": "1.1.2",
      "date": "2023-01-07"
    }
  ],
  "_exports": [
    "count_lines",
    "delete_files_grm",
    "delete_files_phen",
    "delete_files_plink",
    "geno_to_char",
    "het_reencode_bed",
    "ind_to_fam",
    "make_bim",
    "make_fam",
    "read_bed",
    "read_bim",
    "read_eigenvec",
    "read_fam",
    "read_grm",
    "read_ind",
    "read_matrix",
    "read_phen",
    "read_plink",
    "read_snp",
    "require_files_grm",
    "require_files_phen",
    "require_files_plink",
    "sex_to_char",
    "sex_to_int",
    "sim_and_write_plink",
    "symlink",
    "tidy_kinship",
    "write_bed",
    "write_bim",
    "write_eigenvec",
    "write_fam",
    "write_grm",
    "write_ind",
    "write_matrix",
    "write_phen",
    "write_plink",
    "write_snp"
  ],
  "_help": [
    {
      "page": "count_lines",
      "title": "Count the number of lines of a file",
      "topics": [
        "count_lines"
      ]
    },
    {
      "page": "delete_files_grm",
      "title": "Delete all GCTA binary GRM files",
      "topics": [
        "delete_files_grm"
      ]
    },
    {
      "page": "delete_files_phen",
      "title": "Delete PHEN files",
      "topics": [
        "delete_files_phen"
      ]
    },
    {
      "page": "delete_files_plink",
      "title": "Delete all Plink binary files",
      "topics": [
        "delete_files_plink"
      ]
    },
    {
      "page": "genio",
      "title": "genio (GENetics I/O): A package for reading and writing genetics data",
      "topics": [
        "genio-package",
        "genio"
      ]
    },
    {
      "page": "geno_to_char",
      "title": "Convert a genotype matrix from numeric to character codes",
      "topics": [
        "geno_to_char"
      ]
    },
    {
      "page": "het_reencode_bed",
      "title": "Reencode a Plink BED file to (twice) heterozygote indicators",
      "topics": [
        "het_reencode_bed"
      ]
    },
    {
      "page": "ind_to_fam",
      "title": "Convert an Eigenstrat IND tibble into a Plink FAM tibble",
      "topics": [
        "ind_to_fam"
      ]
    },
    {
      "page": "make_bim",
      "title": "Create a Plink BIM tibble",
      "topics": [
        "make_bim"
      ]
    },
    {
      "page": "make_fam",
      "title": "Create a Plink FAM tibble",
      "topics": [
        "make_fam"
      ]
    },
    {
      "page": "read_bed",
      "title": "Read a genotype matrix in Plink BED format",
      "topics": [
        "read_bed"
      ]
    },
    {
      "page": "read_bim",
      "title": "Read Plink *.bim files",
      "topics": [
        "read_bim"
      ]
    },
    {
      "page": "read_eigenvec",
      "title": "Read Plink eigenvec file",
      "topics": [
        "read_eigenvec"
      ]
    },
    {
      "page": "read_fam",
      "title": "Read Plink *.fam files",
      "topics": [
        "read_fam"
      ]
    },
    {
      "page": "read_grm",
      "title": "Read GCTA GRM and related plink2 binary files",
      "topics": [
        "read_grm"
      ]
    },
    {
      "page": "read_ind",
      "title": "Read Eigenstrat *.ind files",
      "topics": [
        "read_ind"
      ]
    },
    {
      "page": "read_matrix",
      "title": "Read a numerical matrix file into an R matrix",
      "topics": [
        "read_matrix"
      ]
    },
    {
      "page": "read_phen",
      "title": "Read *.phen files",
      "topics": [
        "read_phen"
      ]
    },
    {
      "page": "read_plink",
      "title": "Read genotype and sample data in a Plink BED/BIM/FAM file set.",
      "topics": [
        "read_plink"
      ]
    },
    {
      "page": "read_snp",
      "title": "Read Eigenstrat *.snp files",
      "topics": [
        "read_snp"
      ]
    },
    {
      "page": "require_files_grm",
      "title": "Require that GCTA binary GRM files are present",
      "topics": [
        "require_files_grm"
      ]
    },
    {
      "page": "require_files_phen",
      "title": "Require that PHEN file is present",
      "topics": [
        "require_files_phen"
      ]
    },
    {
      "page": "require_files_plink",
      "title": "Require that Plink binary files are present",
      "topics": [
        "require_files_plink"
      ]
    },
    {
      "page": "sex_to_char",
      "title": "Convert integer sex codes to character codes",
      "topics": [
        "sex_to_char"
      ]
    },
    {
      "page": "sex_to_int",
      "title": "Convert character sex codes to integer codes",
      "topics": [
        "sex_to_int"
      ]
    },
    {
      "page": "sim_and_write_plink",
      "title": "Simulate and write genotypes to plink format on the fly",
      "topics": [
        "sim_and_write_plink"
      ]
    },
    {
      "page": "symlink",
      "title": "Create a symbolic link to a file, adjusting paths automatically if needed",
      "topics": [
        "symlink"
      ]
    },
    {
      "page": "tidy_kinship",
      "title": "Create a tidy version of a kinship matrix",
      "topics": [
        "tidy_kinship"
      ]
    },
    {
      "page": "write_bed",
      "title": "Write a genotype matrix into Plink BED format",
      "topics": [
        "write_bed"
      ]
    },
    {
      "page": "write_bim",
      "title": "Write Plink *.bim files",
      "topics": [
        "write_bim"
      ]
    },
    {
      "page": "write_eigenvec",
      "title": "Write eigenvectors table into a Plink-format file",
      "topics": [
        "write_eigenvec"
      ]
    },
    {
      "page": "write_fam",
      "title": "Write Plink *.fam files",
      "topics": [
        "write_fam"
      ]
    },
    {
      "page": "write_grm",
      "title": "Write GCTA GRM and related plink2 binary files",
      "topics": [
        "write_grm"
      ]
    },
    {
      "page": "write_ind",
      "title": "Write Eigenstrat *.ind files",
      "topics": [
        "write_ind"
      ]
    },
    {
      "page": "write_matrix",
      "title": "Write a matrix to a file without row or column names",
      "topics": [
        "write_matrix"
      ]
    },
    {
      "page": "write_phen",
      "title": "Write *.phen files",
      "topics": [
        "write_phen"
      ]
    },
    {
      "page": "write_plink",
      "title": "Write genotype and sample data into a Plink BED/BIM/FAM file set.",
      "topics": [
        "write_plink"
      ]
    },
    {
      "page": "write_snp",
      "title": "Write Eigenstrat *.snp files",
      "topics": [
        "write_snp"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ochoalab/genio/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ochoalab/genio/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "genio.Rmd",
      "filename": "genio.html",
      "title": "Read and write BED files with genio",
      "author": "Alejandro Ochoa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Generate a large matrix of random genotypes",
        "Write genotypes to Plink files",
        "Read back the genotypes",
        "Memory estimation",
        "Comparison to other packages",
        "BEDMatrix",
        "snpStats",
        "Overall time comparisons",
        "Memory comparison",
        "Cleanup"
      ],
      "created": "2019-05-17 04:07:33",
      "modified": "2021-07-26 21:46:29",
      "commits": 12
    }
  ],
  "_score": 7.927637048836408,
  "_indexed": true,
  "_nocasepkg": "genio",
  "_universes": [
    "ochoalab",
    "alexviiia"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "2b644319a5e56848b66ffaa8b9bda868c904644388e1024c233c0045411953e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "bf673e714d833bb2460f32cf9034a5fa62a2b22cfbc76e190e64e4bd2e85cf82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:13:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "57e5b8877ce72b04693a25c13dff3ae2303e17036bd3fc4a9acfb24e3ed7ff47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "e5c9048845beb244a9b4846a2e0b6d3b37155fa2a3a378e75db3a8933daa357f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:09.000Z",
      "arch": "aarch64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "8642b7ddaf91e78943390af8741cb12d2b6fb8462b299504960faea92923e8bb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:13:49.000Z",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "e862a0a934a25de14f9fb1c37499e7c6b4de8458da6f3f00898e6782ba08d2ff",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:11:55.000Z",
      "arch": "aarch64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "45de33ef76bb4a87ba1a6acf8983e4f4cadea4d952d45f6bd1d1d6d94db1ba8f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:42.000Z",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "cf471eed6937605a0337ae5e8167ba23f9214337293214306625648eab38513d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:12:51.000Z",
      "arch": "emscripten",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "1ef950bc5574efbf7e2bf3cbadc891d804d477aff1b859c3317a55cd74b826c9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:11:49.000Z",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "625581ec9bae0f64e80840ecb2880c637b6b70041344f0d53c23d56535098ca9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:11:33.000Z",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "c2b36057b7acd708070104190d7216b7f82df29510658e29864b5d25e9c957a6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.6.9000",
      "date": "2026-06-24T10:11:46.000Z",
      "arch": "x86_64",
      "commit": "b776208acca322e3d858c2785e81f0af4f0d0b6d",
      "fileid": "abf77b956668e82e6abf98b283afc75b74b18e94df2b2feccc986bda093bc2e2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ochoalab/actions/runs/28090991723"
    }
  ]
}