{
  "_id": "6aba1f3399f7aa8c6aa3cb7c",
  "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-09-28 07:33:40 UTC",
    "User": "root"
  },
  "Author": "Bob Verity [aut, cre]",
  "Maintainer": "Bob Verity <r.verity@imperial.ac.uk>",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "variantstring_1.8.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/6f6b0edbd8ab0c03c6867067500bd9d8fa5ed2634a4ef24390eeab4a895ad9f5",
  "_filesize": 121700,
  "_sha256": "6f6b0edbd8ab0c03c6867067500bd9d8fa5ed2634a4ef24390eeab4a895ad9f5",
  "_expires": "2027-01-06T08:02:58.000Z",
  "_created": "2026-09-28T07:33:40.000Z",
  "_published": "2026-09-28T08:02:59.754Z",
  "_jobs": [
    {
      "job": 108830762745,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10956876751"
    },
    {
      "job": 108830762881,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10957325236"
    },
    {
      "job": 108830762910,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10957163355"
    },
    {
      "job": 108830762698,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10958020810"
    },
    {
      "job": 108829630109,
      "time": 231,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10955624807"
    },
    {
      "job": 108830762712,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10957380194"
    },
    {
      "job": 108830762783,
      "time": 65,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10956747390"
    },
    {
      "job": 108830762856,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10956623493"
    },
    {
      "job": 108830762780,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10956757430"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/variantstring.html",
    "LICENSE"
  ],
  "_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.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "variantstring",
  "_universes": [
    "plasmogenepi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.7",
      "date": "2026-09-28T07:35:56.000Z",
      "distro": "resolute",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/8c9d8acde09bc7a4c361c05e8b509f65c959af8b727559675f8d051e16d263b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.8.7",
      "date": "2026-09-28T07:35:42.000Z",
      "distro": "resolute",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/5c4b9ca98b3dfcc92702231066826c3845d18db379ddfeec92f1fc0664ba5f64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.7",
      "date": "2026-09-28T08:01:51.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/614ae485c977ca3a62789e97d661744850fdb5a61654cb95fe901de6c16b4052",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.8.7",
      "date": "2026-09-28T07:57:22.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/273a0e912f6fccbfd5c58b8304bb70ba2e654124e596dd51e73fc152a5666cb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.7",
      "date": "2026-09-28T07:35:46.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/5ebd3de155ce357fd2124fbb61f99f2cf38ae69166a027bb904881fc198d86f2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-09-28T07:34:42.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/0151f34672c9964b529a885e1bb452bf3c1f1e036dd9be43b1faa2bc577c54f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-09-28T07:34:57.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/2856a62e9fc4d294715ba60caba748c78a6966bf2cc8335eabec12e3cbcdfd90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.8.7",
      "date": "2026-09-28T07:34:45.000Z",
      "commit": "53cb0a2d3824cb69239fa08fa0bca54e40d8c7b6",
      "fileid": "https://r2.ropensci.org/5651a384e9c5a99cc6eed08618002e6b077c9b5d2f9709cd203a4938da3e66dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/36391920540"
    }
  ]
}