{
  "_id": "6a2280c2cd65a98ecbd51869",
  "Package": "variantstring",
  "Type": "Package",
  "Title": "Functions for working with variant string format",
  "Version": "1.8.6",
  "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": "2025-12-07 15:00:20 UTC",
  "RemoteUrl": "https://github.com/mrc-ide/variantstring",
  "RemoteRef": "HEAD",
  "RemoteSha": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:47:04 UTC",
    "User": "root"
  },
  "Author": "Bob Verity [aut, cre]",
  "Maintainer": "Bob Verity <r.verity@imperial.ac.uk>",
  "MD5sum": "a470650637150075e58b240ee4d78f21",
  "_user": "plasmogenepi",
  "_type": "src",
  "_file": "variantstring_1.8.6.tar.gz",
  "_fileid": "946d725aab6a3d0cabd2c3dabf273279f1e439d1b970d607c5a39abc9248e741",
  "_filesize": 112003,
  "_sha256": "946d725aab6a3d0cabd2c3dabf273279f1e439d1b970d607c5a39abc9248e741",
  "_created": "2026-06-05T07:47:04.000Z",
  "_published": "2026-06-05T07:54:42.065Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79686073970,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431487372"
    },
    {
      "job": 79686073859,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431487726"
    },
    {
      "job": 79686073835,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431566721"
    },
    {
      "job": 79686073902,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431577776"
    },
    {
      "job": 79685695954,
      "time": 157,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431450202"
    },
    {
      "job": 79686073843,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431481363"
    },
    {
      "job": 79686073842,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431479046"
    },
    {
      "job": 79686073850,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431472262"
    },
    {
      "job": 79686073858,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431474752"
    }
  ],
  "_buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mrc-ide/variantstring",
  "_commit": {
    "id": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
    "author": "bobverity <r.verity@imperial.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #28 from mrc-ide/develop\n\nDevelop",
    "time": 1765119620
  },
  "_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": "tidyr",
      "role": "Imports"
    },
    {
      "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
    }
  ],
  "_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"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bobverity",
      "count": 56,
      "uuid": 9216594
    }
  ],
  "_userbio": {
    "uuid": 140542976,
    "type": "organization",
    "name": "PlasmoGenEpi",
    "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.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/variantstring.html",
    "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",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.230448921378274,
  "_indexed": false,
  "_nocasepkg": "variantstring",
  "_universes": [
    "plasmogenepi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.8.6",
      "date": "2026-06-05T07:49:04.000Z",
      "distro": "noble",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "e82d421ade91c3c12b2ce0b246c7bddac5bea3134c3dc699ec30bbaf3acb1a57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.8.6",
      "date": "2026-06-05T07:49:06.000Z",
      "distro": "noble",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "49aff3b330178ae57a9f9383918e3f6eb67e3c3792ec64c1e3330eba1d1c4dab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.8.6",
      "date": "2026-06-05T07:53:33.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "8d5205d6cc56588325e10c2b962c17a559471e3bde63a6ab950265047f984bc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.8.6",
      "date": "2026-06-05T07:54:05.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "d61723a3dbe46fea8d8e0588e69629a16248f54f4c34937d2fee8331d3d062b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.8.6",
      "date": "2026-06-05T07:49:01.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "adcf09d025020418c76474937d500ff02c89d5f0690441987cf24e18f999f479",
      "status": "success",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.8.6",
      "date": "2026-06-05T07:48:31.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "5bd01697b72d992858e8aa5c9feae8be09ae21380941be37e6c2d1e9ca0badb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.8.6",
      "date": "2026-06-05T07:48:09.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "14d83dc6976a683d3b20a4a367449d0ad4609b94ea31296c823cdc92b871c59a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.8.6",
      "date": "2026-06-05T07:48:13.000Z",
      "commit": "b6c78b52f042af28b32c6b071f6ebd30dbfaa925",
      "fileid": "87c782d74f212a9b14fd138ec0551eb21ce1b632e8b54f41df2e038c8f4b0b16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/plasmogenepi/actions/runs/27002383646"
    }
  ]
}