{
  "_id": "6a1003d6acfb0bcc41c7d6c5",
  "Package": "biogram",
  "Type": "Package",
  "Title": "N-Gram Analysis of Biological Sequences",
  "Version": "1.6.3",
  "LazyData": "true",
  "Date": "2020-03-31",
  "Authors@R": "c(\nperson(\"Michal\", \"Burdukiewicz\",\nemail = \"michalburdukiewicz@gmail.com\",\ncomment = c(ORCID = \"0000-0001-8926-582X\"),\nrole = c(\"cre\", \"aut\")),\nperson(\"Piotr\", \"Sobczyk\",\nrole = \"aut\"),\nperson(\"Chris\", \"Lauber\",\nrole = \"aut\"),\nperson(\"Dominik\", \"Rafacz\",\nrole = \"aut\"),\nperson(\"Katarzyna\", \"Sidorczuk\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6576-9054\")))",
  "Description": "Tools for extraction and analysis of various n-grams\n(k-mers) derived from biological sequences (proteins or nucleic\nacids). Contains QuiPT (quick permutation test) for fast\nfeature-filtering of the n-gram data.",
  "License": "GPL-3",
  "URL": "https://github.com/michbur/biogram",
  "BugReports": "https://github.com/michbur/biogram/issues",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://michbur.r-universe.dev",
  "Date/Publication": "2024-08-30 20:56:22 UTC",
  "RemoteUrl": "https://github.com/michbur/biogram",
  "RemoteRef": "HEAD",
  "RemoteSha": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
  "Packaged": {
    "Date": "2026-05-22 07:16:13 UTC",
    "User": "root"
  },
  "Author": "Michal Burdukiewicz [cre, aut] (ORCID:\n<https://orcid.org/0000-0001-8926-582X>),\nPiotr Sobczyk [aut],\nChris Lauber [aut],\nDominik Rafacz [aut],\nKatarzyna Sidorczuk [ctb] (ORCID:\n<https://orcid.org/0000-0001-6576-9054>)",
  "Maintainer": "Michal Burdukiewicz <michalburdukiewicz@gmail.com>",
  "MD5sum": "d1eee17f461a6f76c1bc3429bbd2de62",
  "_user": "michbur",
  "_type": "src",
  "_file": "biogram_1.6.3.tar.gz",
  "_fileid": "35ba07944bbe5ba4c0b60cf91ecb57cd28f81406b87eca76b1914717b1c51192",
  "_filesize": 624249,
  "_sha256": "35ba07944bbe5ba4c0b60cf91ecb57cd28f81406b87eca76b1914717b1c51192",
  "_created": "2026-05-22T07:16:13.000Z",
  "_published": "2026-05-22T07:20:54.402Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77333965485,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7154930994"
    },
    {
      "job": 77333965484,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7154928932"
    },
    {
      "job": 77333965516,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7154914932"
    },
    {
      "job": 77333965480,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7154917609"
    },
    {
      "job": 77333519330,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154885657"
    },
    {
      "job": 77333965461,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154918892"
    },
    {
      "job": 77333965455,
      "time": 215,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7154948192"
    },
    {
      "job": 77333965477,
      "time": 237,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7154954948"
    },
    {
      "job": 77333965433,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7154915866"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/michbur/biogram",
  "_commit": {
    "id": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
    "author": "michbur <michalburdukiewicz@gmail.com>",
    "committer": "michbur <michalburdukiewicz@gmail.com>",
    "message": "trying to speed up test_features\n",
    "time": 1725051382
  },
  "_maintainer": {
    "name": "Michal Burdukiewicz",
    "email": "michalburdukiewicz@gmail.com",
    "login": "michbur",
    "bluesky": "@burdukiewicz.bsky.social",
    "orcid": "0000-0001-8926-582X",
    "twitter": "@burdukiewicz",
    "description": "",
    "uuid": 5267317
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "slam",
      "role": "Depends"
    },
    {
      "package": "combinat",
      "role": "Imports"
    },
    {
      "package": "entropy",
      "role": "Imports"
    },
    {
      "package": "partitions",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "michbur",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "biological-sequences",
    "ngram-analysis"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "michbur",
      "count": 414,
      "uuid": 5267317
    },
    {
      "user": "psobczyk",
      "count": 15,
      "uuid": 1227394
    },
    {
      "user": "ksidorczuk",
      "count": 5,
      "uuid": 39734693
    },
    {
      "user": "dominikrafacz",
      "count": 4,
      "uuid": 32573752
    },
    {
      "user": "mwn29",
      "count": 3,
      "uuid": 16581661
    }
  ],
  "_userbio": {
    "uuid": 5267317,
    "type": "user",
    "name": "Michał Burdukiewicz"
  },
  "_downloads": {
    "count": 258,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/biogram"
  },
  "_devurl": "https://github.com/michbur/biogram",
  "_searchresults": 97,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/biogram.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/michbur/biogram",
  "_realowner": "michbur",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-12-19"
    },
    {
      "version": "1.1",
      "date": "2015-02-03"
    },
    {
      "version": "1.2",
      "date": "2015-06-22"
    },
    {
      "version": "1.3",
      "date": "2016-09-21"
    },
    {
      "version": "1.4",
      "date": "2017-01-06"
    },
    {
      "version": "1.6.1",
      "date": "2020-01-09"
    },
    {
      "version": "1.6.3",
      "date": "2020-03-31"
    }
  ],
  "_exports": [
    "add_1grams",
    "binarize",
    "calc_criterion",
    "calc_cs",
    "calc_ed",
    "calc_ig",
    "calc_kl",
    "calc_pi",
    "calc_si",
    "check_criterion",
    "cluster_reg_exp",
    "code_ngrams",
    "construct_ngrams",
    "count_multigrams",
    "count_ngrams",
    "count_specified",
    "count_total",
    "create_encoding",
    "create_feature_target",
    "create_ngrams",
    "decode_ngrams",
    "degenerate",
    "degenerate_ngrams",
    "distr_crit",
    "encoding2df",
    "fast_crosstable",
    "full2simple",
    "gap_ngrams",
    "generate_single_region",
    "generate_single_unigram",
    "generate_unigrams",
    "get_ngrams_ind",
    "is_ngram",
    "l2n",
    "lengths_ngrams",
    "list2matrix",
    "n2l",
    "ngrams2df",
    "position_ngrams",
    "read_fasta",
    "read_txt",
    "regenerate",
    "seq2ngrams",
    "simple2full",
    "table_ngrams",
    "test_features",
    "validate_encoding",
    "write_encoding",
    "write_fasta"
  ],
  "_datasets": [
    {
      "name": "aaprop",
      "title": "Normalized amino acids properties",
      "object": "aaprop",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "a",
        "r",
        "n",
        "d",
        "c",
        "q",
        "e",
        "g",
        "h",
        "i",
        "l",
        "k",
        "m",
        "f",
        "p",
        "s",
        "t",
        "w",
        "y",
        "v"
      ],
      "rows": 550,
      "table": true,
      "tojson": true
    },
    {
      "name": "human_cleave",
      "title": "Human signal peptides cleavage sites",
      "object": "human_cleave",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "P1",
        "P2",
        "P3",
        "P4",
        "P5",
        "P6",
        "P7",
        "P8",
        "P9",
        "tar"
      ],
      "rows": 1296,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "biogram-package",
      "title": "biogram - analysis of biological sequences using n-grams",
      "topics": [
        "biogram-package",
        "biogram"
      ]
    },
    {
      "page": "aaprop",
      "title": "Normalized amino acids properties",
      "topics": [
        "aaprop"
      ]
    },
    {
      "page": "add_1grams",
      "title": "Add 1-grams",
      "topics": [
        "add_1grams"
      ]
    },
    {
      "page": "as.data.frame.feature_test",
      "title": "Coerce feature_test object to a data frame",
      "topics": [
        "as.data.frame.feature_test"
      ]
    },
    {
      "page": "binarize",
      "title": "Binarize",
      "topics": [
        "binarize"
      ]
    },
    {
      "page": "calc_criterion",
      "title": "Calculate value of criterion",
      "topics": [
        "calc_criterion"
      ]
    },
    {
      "page": "calc_cs",
      "title": "Calculate Chi-squared-based measure",
      "topics": [
        "calc_cs"
      ]
    },
    {
      "page": "calc_ed",
      "title": "Calculate encoding distance",
      "topics": [
        "calc_ed"
      ]
    },
    {
      "page": "calc_ig",
      "title": "Calculate IG for single feature",
      "topics": [
        "calc_ig"
      ]
    },
    {
      "page": "calc_kl",
      "title": "Calculate KL divergence of features",
      "topics": [
        "calc_kl"
      ]
    },
    {
      "page": "calc_pi",
      "title": "Calculate partition index",
      "topics": [
        "calc_pi"
      ]
    },
    {
      "page": "calc_si",
      "title": "Compute similarity index",
      "topics": [
        "calc_si"
      ]
    },
    {
      "page": "check_criterion",
      "title": "Check chosen criterion",
      "topics": [
        "check_criterion"
      ]
    },
    {
      "page": "cluster_reg_exp",
      "title": "Clustering of sequences based on regular expression",
      "topics": [
        "cluster_reg_exp"
      ]
    },
    {
      "page": "code_ngrams",
      "title": "Code n-grams",
      "topics": [
        "code_ngrams"
      ]
    },
    {
      "page": "construct_ngrams",
      "title": "Construct and filter n-grams",
      "topics": [
        "construct_ngrams"
      ]
    },
    {
      "page": "count_multigrams",
      "title": "Detect and count multiple n-grams in sequences",
      "topics": [
        "count_multigrams"
      ]
    },
    {
      "page": "count_ngrams",
      "title": "Count n-grams in sequences",
      "topics": [
        "count_ngrams"
      ]
    },
    {
      "page": "count_specified",
      "title": "Count specified n-grams",
      "topics": [
        "count_specified"
      ]
    },
    {
      "page": "count_total",
      "title": "Count total number of n-grams",
      "topics": [
        "count_total"
      ]
    },
    {
      "page": "create_encoding",
      "title": "Create encoding",
      "topics": [
        "create_encoding"
      ]
    },
    {
      "page": "create_feature_target",
      "title": "Create feature according to given contingency matrix",
      "topics": [
        "create_feature_target"
      ]
    },
    {
      "page": "create_ngrams",
      "title": "Get all possible n-Grams",
      "topics": [
        "create_ngrams"
      ]
    },
    {
      "page": "criterion_distribution",
      "title": "criterion_distribution class",
      "topics": [
        "criterion_distribution"
      ]
    },
    {
      "page": "cut.feature_test",
      "title": "Categorize tested features",
      "topics": [
        "cut.feature_test"
      ]
    },
    {
      "page": "decode_ngrams",
      "title": "Decode n-grams",
      "topics": [
        "decode_ngrams"
      ]
    },
    {
      "page": "degenerate",
      "title": "Degenerate protein sequence",
      "topics": [
        "degenerate"
      ]
    },
    {
      "page": "degenerate_ngrams",
      "title": "Degenerate n-grams",
      "topics": [
        "degenerate_ngrams"
      ]
    },
    {
      "page": "distr_crit",
      "title": "Compute criterion distribution",
      "topics": [
        "distr_crit"
      ]
    },
    {
      "page": "encoding2df",
      "title": "Convert encoding to data frame",
      "topics": [
        "encoding2df"
      ]
    },
    {
      "page": "fast_crosstable",
      "title": "2d cross-tabulation",
      "topics": [
        "fast_crosstable"
      ]
    },
    {
      "page": "feature_test",
      "title": "feature_test class",
      "topics": [
        "feature_test"
      ]
    },
    {
      "page": "full2simple",
      "title": "Convert encoding from full to simple format",
      "topics": [
        "full2simple"
      ]
    },
    {
      "page": "gap_ngrams",
      "title": "Gap n-grams",
      "topics": [
        "gap_ngrams"
      ]
    },
    {
      "page": "generate_sequence",
      "title": "Generate sequence",
      "topics": [
        "generate_sequence"
      ]
    },
    {
      "page": "generate_single_region",
      "title": "Generate single region",
      "topics": [
        "generate_single_region"
      ]
    },
    {
      "page": "generate_single_unigram",
      "title": "Generate single unigram",
      "topics": [
        "generate_single_unigram"
      ]
    },
    {
      "page": "generate_unigrams",
      "title": "Generate unigrams",
      "topics": [
        "generate_unigrams"
      ]
    },
    {
      "page": "get_ngrams_ind",
      "title": "Get indices of n-grams",
      "topics": [
        "get_ngrams_ind"
      ]
    },
    {
      "page": "human_cleave",
      "title": "Human signal peptides cleavage sites",
      "topics": [
        "human_cleave"
      ]
    },
    {
      "page": "is_ngram",
      "title": "Validate n-gram",
      "topics": [
        "is_ngram"
      ]
    },
    {
      "page": "l2n",
      "title": "Convert letters to numbers",
      "topics": [
        "l2n"
      ]
    },
    {
      "page": "lengths_ngrams",
      "title": "Get lengths of the n-grams",
      "topics": [
        "lengths_ngrams"
      ]
    },
    {
      "page": "list2matrix",
      "title": "Convert list of sequences to matrix",
      "topics": [
        "list2matrix"
      ]
    },
    {
      "page": "n2l",
      "title": "Convert numbers to letters",
      "topics": [
        "n2l"
      ]
    },
    {
      "page": "ngrams2df",
      "title": "n-grams to data frame",
      "topics": [
        "ngrams2df"
      ]
    },
    {
      "page": "plot.criterion_distribution",
      "title": "Plot criterion distribution",
      "topics": [
        "plot.criterion_distribution"
      ]
    },
    {
      "page": "position_ngrams",
      "title": "Position n-grams",
      "topics": [
        "position_ngrams"
      ]
    },
    {
      "page": "print.feature_test",
      "title": "Print tested features",
      "topics": [
        "print.feature_test"
      ]
    },
    {
      "page": "read_fasta",
      "title": "Read FASTA files",
      "topics": [
        "read_fasta"
      ]
    },
    {
      "page": "read_txt",
      "title": "Read sequences from .txt file",
      "topics": [
        "read_txt"
      ]
    },
    {
      "page": "regenerate",
      "title": "Regenerate n-grams",
      "topics": [
        "regenerate"
      ]
    },
    {
      "page": "regional_param",
      "title": "regional_param class",
      "topics": [
        "regional_param"
      ]
    },
    {
      "page": "seq2ngrams",
      "title": "Extract n-grams from sequence",
      "topics": [
        "seq2ngrams"
      ]
    },
    {
      "page": "simple2full",
      "title": "Convert encoding from simple to full format",
      "topics": [
        "simple2full"
      ]
    },
    {
      "page": "summary.feature_test",
      "title": "Summarize tested features",
      "topics": [
        "summary.feature_test"
      ]
    },
    {
      "page": "table_ngrams",
      "title": "Tabulate n-grams",
      "topics": [
        "table_ngrams"
      ]
    },
    {
      "page": "test_features",
      "title": "Permutation test for feature selection",
      "topics": [
        "test_features"
      ]
    },
    {
      "page": "validate_encoding",
      "title": "Validate encoding",
      "topics": [
        "validate_encoding"
      ]
    },
    {
      "page": "write_encoding",
      "title": "Write encodings to a file",
      "topics": [
        "write_encoding"
      ]
    },
    {
      "page": "write_fasta",
      "title": "Write FASTA files",
      "topics": [
        "write_fasta"
      ]
    }
  ],
  "_readme": "https://github.com/michbur/biogram/raw/HEAD/README.md",
  "_rundeps": [
    "combinat",
    "entropy",
    "gmp",
    "lattice",
    "Matrix",
    "partitions",
    "pbapply",
    "polynom",
    "rbibutils",
    "Rdpack",
    "sets",
    "slam"
  ],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "biogram package",
      "author": "Michał Burdukiewicz, Piotr Sobczyk",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reduction of dimensionality",
        "Alphabet reduction",
        "Similarity index",
        "Encoding distance",
        "biogram implementation",
        "Quick Permutation Test (QuiPT)",
        "Definition - entropy",
        "Definition -  conditional entropy",
        "Definition - Information gain",
        "Computing IG distribution under null hypothesis",
        "References"
      ],
      "created": "2015-10-29 09:04:20",
      "modified": "2020-04-01 14:09:28",
      "commits": 14
    }
  ],
  "_score": 7.242044239369551,
  "_indexed": true,
  "_nocasepkg": "biogram",
  "_universes": [
    "michbur"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.3",
      "date": "2026-05-22T07:18:37.000Z",
      "distro": "noble",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "99cd83033c2b9c6841477597b454f0c5865ef484c73dac82f876bf68671b4bdc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.6.3",
      "date": "2026-05-22T07:18:32.000Z",
      "distro": "noble",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "4c10922b081198d32e97b93397349d48f8abd20879c28456a92c24d9f93daab7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.3",
      "date": "2026-05-22T07:17:52.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "2c4b2c540dbeb5d59139238271115d4794d5bd6f19e8cceaa20c0abcd7d6cd36",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.6.3",
      "date": "2026-05-22T07:18:00.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "ddfd0f1bbd9c8f724de2eb0bd2d0d88958612f7f739e7b668647f9410f82dc0c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.3",
      "date": "2026-05-22T07:18:32.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "2ef21b956ce62e599d2d9caca5ac893c0e16bf3df51fa0d7f050a0f85c0737f0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-05-22T07:19:21.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "63fffe070a364f12defadb3aa976b79186c1ac93b867078d6840168ae4a30477",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-05-22T07:19:45.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "512e850805ae4acad1823f9a7e4452eeb64e4e786add5e29d190f1129aa1ab83",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.6.3",
      "date": "2026-05-22T07:17:39.000Z",
      "commit": "c06cd55946dae1adc812ede4a558d16ef4f10d10",
      "fileid": "d0a1e89f7b98cba1571b9b07ff88f41ae369a4c5dfec23c2854a5809305cd5fb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/michbur/actions/runs/26273895761"
    }
  ]
}