{
  "_id": "6a444a7bc375b2cc78b774ca",
  "Package": "variantstring",
  "Type": "Package",
  "Title": "Functions for working with variant string format",
  "Version": "1.8.7",
  "Authors@R": "c(\nperson(\"Bob\", \"Verity\", email = \"r.verity@imperial.ac.uk\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "Contains a series of functions for working with genetic\ninformation encoded in variant string format. Includes methods\nfor comparing and manipulating strings.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://plasmogenepi.r-universe.dev",
  "Date/Publication": "2026-06-30 22:19:52 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/variantstring",
  "RemoteRef": "HEAD",
  "RemoteSha": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-30 22:57:12 UTC",
    "User": "root"
  },
  "Author": "Bob Verity [aut, cre]",
  "Maintainer": "Bob Verity <r.verity@imperial.ac.uk>",
  "MD5sum": "01d8beb3047eea1ee33506a5a3aef135",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "variantstring_1.8.7.tar.gz",
  "_fileid": "cda6880a1b2ba7f14a419f39416c28bcc2052bec79b3bddbeeb88aa52f1b7ad1",
  "_filesize": 125391,
  "_sha256": "cda6880a1b2ba7f14a419f39416c28bcc2052bec79b3bddbeeb88aa52f1b7ad1",
  "_created": "2026-06-30T22:57:12.000Z",
  "_published": "2026-06-30T23:00:10.964Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84417896019,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7995716513"
    },
    {
      "job": 84417896000,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7995712165"
    },
    {
      "job": 84417896024,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7995699995"
    },
    {
      "job": 84417895997,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7995709843"
    },
    {
      "job": 84417422287,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7995677341"
    },
    {
      "job": 84417895999,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7995705141"
    },
    {
      "job": 84417896006,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7995708851"
    },
    {
      "job": 84417896003,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7995698161"
    },
    {
      "job": 84417896044,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7995696447"
    }
  ],
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/variantstring",
  "_commit": {
    "id": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
    "author": "bobverity <r.verity@imperial.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #29 from mrc-ide/refactor/efficiency-and-bugfixes\n\nRefactor internals for speed, fix bugs, bump to 1.8.7",
    "time": 1782857992
  },
  "_maintainer": {
    "name": "Bob Verity",
    "email": "r.verity@imperial.ac.uk",
    "login": "bobverity",
    "description": "",
    "uuid": 9216594
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mrc-ide",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.8.3",
      "date": "2025-11-28"
    },
    {
      "name": "v1.8.4",
      "date": "2025-12-02"
    },
    {
      "name": "v1.8.5",
      "date": "2025-12-02"
    },
    {
      "name": "v1.8.6",
      "date": "2025-12-07"
    },
    {
      "name": "v1.8.7",
      "date": "2026-06-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bobverity",
      "count": 58,
      "uuid": 9216594
    }
  ],
  "_userbio": {
    "uuid": 140542976,
    "type": "organization",
    "name": "PlasmoGenEpi",
    "followers": 1,
    "description": "We are a network of scientists who have come together since 2018 to address challenges in malaria genomic epidemiology."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/variantstring"
  },
  "_devurl": "https://github.com/mrc-ide/variantstring",
  "_searchresults": 17,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/variantstring.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "allowed_amino_acids",
    "check_position_string",
    "check_variant_string",
    "compare_position_string",
    "compare_variant_string",
    "count_phased_hets",
    "count_unphased_hets",
    "drop_read_counts",
    "extract_single_locus_variants",
    "get_component_variants",
    "long_to_position",
    "long_to_variant",
    "order_position_string",
    "order_variant_string",
    "overlay_variant",
    "position_from_variant_string",
    "position_to_long",
    "subset_position",
    "variant_to_long"
  ],
  "_help": [
    {
      "page": "allowed_amino_acids",
      "title": "List allowed amino acids",
      "topics": [
        "allowed_amino_acids"
      ]
    },
    {
      "page": "check_position_string",
      "title": "Check for a valid position string",
      "topics": [
        "check_position_string"
      ]
    },
    {
      "page": "check_variant_string",
      "title": "Check for a valid variant string",
      "topics": [
        "check_variant_string"
      ]
    },
    {
      "page": "compare_position_string",
      "title": "Compares a position strings against variant strings to look for a match",
      "topics": [
        "compare_position_string"
      ]
    },
    {
      "page": "compare_variant_string",
      "title": "Compares variant strings to look for a match",
      "topics": [
        "compare_variant_string"
      ]
    },
    {
      "page": "count_phased_hets",
      "title": "Count the number of phased heterozygous loci",
      "topics": [
        "count_phased_hets"
      ]
    },
    {
      "page": "count_unphased_hets",
      "title": "Count the number of unphased heterozygous loci",
      "topics": [
        "count_unphased_hets"
      ]
    },
    {
      "page": "drop_read_counts",
      "title": "Drop read counts from a variant string.",
      "topics": [
        "drop_read_counts"
      ]
    },
    {
      "page": "extract_single_locus_variants",
      "title": "Extract all single-locus variants from a variant string",
      "topics": [
        "extract_single_locus_variants"
      ]
    },
    {
      "page": "get_component_variants",
      "title": "Get all genotypes that are consistent with a variant string",
      "topics": [
        "get_component_variants"
      ]
    },
    {
      "page": "long_to_position",
      "title": "Take long form information and convert to position string",
      "topics": [
        "long_to_position"
      ]
    },
    {
      "page": "long_to_variant",
      "title": "Take long form information and convert to variant string",
      "topics": [
        "long_to_variant"
      ]
    },
    {
      "page": "order_position_string",
      "title": "Reorders a position string",
      "topics": [
        "order_position_string"
      ]
    },
    {
      "page": "order_variant_string",
      "title": "Reorders a variant string",
      "topics": [
        "order_variant_string"
      ]
    },
    {
      "page": "overlay_variant",
      "title": "Overlay one variant string onto another",
      "topics": [
        "overlay_variant"
      ]
    },
    {
      "page": "position_from_variant_string",
      "title": "Extract a position string from a variant string",
      "topics": [
        "position_from_variant_string"
      ]
    },
    {
      "page": "position_to_long",
      "title": "Expand position strings into long form data.frames",
      "topics": [
        "position_to_long"
      ]
    },
    {
      "page": "subset_position",
      "title": "Subset position of a variant string",
      "topics": [
        "subset_position"
      ]
    },
    {
      "page": "variant_to_long",
      "title": "Expand variant strings into long form data.frames",
      "topics": [
        "variant_to_long"
      ]
    }
  ],
  "_readme": "https://github.com/mrc-ide/variantstring/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.406540180433955,
  "_indexed": false,
  "_nocasepkg": "variantstring",
  "_universes": [
    "plasmogenepi"
  ],
  "_previous": "1.8.6",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.7",
      "date": "2026-06-30T22:59:35.000Z",
      "distro": "resolute",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "4477d82a3aee41265c34e821eee87b4c47ecabfe531737f50e1bf7c60d589460",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.8.7",
      "date": "2026-06-30T22:59:18.000Z",
      "distro": "resolute",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "cd34890bd9cc40fce254932a31d91b62d2b146b24cc4871f6a35ef6532ddc997",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.7",
      "date": "2026-06-30T22:58:38.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "0c70b3671ceaead6e431373110382acaca3fba76720d102f1083dab08176ec7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.8.7",
      "date": "2026-06-30T22:59:10.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "968222d4b76386ee0ce1d774343a15fc1c825f82748290de9a0ca4c79656a2af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.7",
      "date": "2026-06-30T22:59:08.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "fbb766f26c8471cc9399e6c55559386c038654e7805edf0bd02946dd41217cce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-06-30T22:59:05.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "e41c8b14c11e86751663a5d58f876eb7cf0c7d562ed828638b6d5b52ed4690a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-06-30T22:58:20.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "7514f0ccecb9bbd3be540dfd15df2657054c8589283f24b373c6ab7a253854c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-06-30T22:58:15.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "7c69fb917d497e9b5739a028ec808c0b018ad6afbef90fff987a11c74e3d130f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/28481080886"
    }
  ]
}