{
  "_id": "6a1f2ab6b401979e73424b8d",
  "Package": "tidyGenR",
  "Title": "Tidy Multilocus Amplicon Genotypes",
  "Version": "0.1.8",
  "Authors@R": "c(\nperson(\"Miguel\", \"Camacho\", , \"miguelcamachosanchez@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6385-7963\")),\nperson(\"Jennifer\", \"Leonard\", role = \"fnd\")\n)",
  "Description": "Variant determination and genotyping from high throughput\nsequences from multilocus amplicon libraries, typically\nsequenced in Illumina MiSeq or similar. It provides a set of\ncore functions for the central steps: demultiplex by locus,\ntruncate reads, variant calling, and genotype calling.\nAdditionally, it provides a set of functions for diagnosis and\nestimation of best running parameters and multiple extensions\nfor genotype/variants manipulation and reformatting. Output\nvariants and genotypes are output in 'tidy' format, thus\nfacilitating reformatting, manipulation and potential\nconnection to other R packages.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/csmiguel/tidyGenR",
  "BugReports": "https://github.com/csmiguel/tidyGenR/issues",
  "biocViews": "Software, Sequencing, Classification, Phylogenetics",
  "Encoding": "UTF-8",
  "LazyData": "false",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 12:28:23 UTC",
    "User": "root"
  },
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "cutadapt >=2.0\n(https://cutadapt.readthedocs.io/en/stable/)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make libbz2-dev libicu-dev libjpeg-dev liblzma-dev\nlibpng-dev libx11-dev xz-utils zlib1g-dev",
  "Repository": "https://csmiguel.r-universe.dev",
  "Date/Publication": "2026-05-15 10:59:16 UTC",
  "RemoteUrl": "https://github.com/csmiguel/tidygenr",
  "RemoteRef": "HEAD",
  "RemoteSha": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
  "Author": "Miguel Camacho [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6385-7963>),\nJennifer Leonard [fnd]",
  "Maintainer": "Miguel Camacho <miguelcamachosanchez@gmail.com>",
  "MD5sum": "852650beb824770577fc2792786f00e7",
  "_user": "csmiguel",
  "_type": "src",
  "_file": "tidyGenR_0.1.8.tar.gz",
  "_fileid": "6353726909888888872c18955132d1294d5fcf9a0392511ad3406fd50d3141a1",
  "_filesize": 1425459,
  "_sha256": "6353726909888888872c18955132d1294d5fcf9a0392511ad3406fd50d3141a1",
  "_created": "2026-05-15T12:28:23.000Z",
  "_published": "2026-06-02T19:10:46.178Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79151145001,
      "time": 390,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7017155823"
    },
    {
      "job": 79151144900,
      "time": 419,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7017163996"
    },
    {
      "job": 79151145076,
      "time": 293,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7017122573"
    },
    {
      "job": 79151144892,
      "time": 339,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7017129431"
    },
    {
      "job": 79151144581,
      "time": 330,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7017045047"
    },
    {
      "job": 79151144332,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367376331"
    },
    {
      "job": 79151144972,
      "time": 391,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7017155680"
    },
    {
      "job": 79151145771,
      "time": 355,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7017145582"
    },
    {
      "job": 79151145193,
      "time": 379,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7017153092"
    }
  ],
  "_buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/csmiguel/tidygenr",
  "_commit": {
    "id": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
    "author": "Miguel Camacho <miguelcamachosanchez@gmail.com>",
    "committer": "Miguel Camacho <miguelcamachosanchez@gmail.com>",
    "message": "R1 peerj. added align_variants_ref\n",
    "time": 1778842756
  },
  "_maintainer": {
    "name": "Miguel Camacho",
    "email": "miguelcamachosanchez@gmail.com",
    "login": "csmiguel",
    "orcid": "0000-0002-6385-7963",
    "uuid": 12279367
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Biostrings",
      "role": "Imports"
    },
    {
      "package": "dada2",
      "version": ">= 1.16",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "ShortRead",
      "version": ">= 1.32.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "DECIPHER",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "ape",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tools",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    }
  ],
  "_owner": "csmiguel",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 3
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 5
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2025-08-08"
    },
    {
      "name": "v0.1.2",
      "date": "2025-08-26"
    },
    {
      "name": "v0.1.3",
      "date": "2025-09-19"
    },
    {
      "name": "v0.1.4",
      "date": "2026-01-19"
    },
    {
      "name": "v0.1.5",
      "date": "2026-01-22"
    },
    {
      "name": "v0.1.6",
      "date": "2026-02-10"
    },
    {
      "name": "v0.1.8",
      "date": "2026-05-15"
    }
  ],
  "_topics": [
    "software",
    "sequencing",
    "classification",
    "phylogenetics"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "csmiguel",
      "count": 18,
      "uuid": 12279367
    }
  ],
  "_userbio": {
    "uuid": 12279367,
    "type": "user",
    "name": "Miguel Camacho"
  },
  "_downloads": {
    "count": 158,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidyGenR"
  },
  "_devurl": "https://github.com/csmiguel/tidygenr",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_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/tidyGenR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/csmiguel/tidygenr",
  "_realowner": "csmiguel",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.7",
      "date": "2026-02-17"
    }
  ],
  "_exports": [
    "align_variants_ref",
    "amplisas2tidy",
    "check_raw_reads",
    "compare_calls",
    "demultiplex",
    "dereplicate",
    "explore_dada",
    "filter_variants",
    "gen_compact2wide",
    "gen_tidy2compact",
    "gen_tidy2genalex",
    "gen_tidy2integers",
    "gen_tidy2wide",
    "gen_wide2structure",
    "genotype",
    "out_popart",
    "reads_loci_samples",
    "reads_track",
    "remove_hemizygotes",
    "remove_monomorphic",
    "remove_poor_fastq",
    "rename_alleles",
    "tidy2sequences",
    "trunc_amp",
    "var_seq2len",
    "variant_call"
  ],
  "_datasets": [
    {
      "name": "genotypes",
      "title": "Genotypes",
      "object": "genotypes",
      "file": "genotypes.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sample",
        "locus",
        "allele",
        "allele_no",
        "reads",
        "nt",
        "md5",
        "sequence"
      ],
      "rows": 2372,
      "table": true,
      "tojson": true
    },
    {
      "name": "primers",
      "title": "Primers for multiplex PCR",
      "object": "primers",
      "file": "primers.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "locus",
        "fw",
        "rv"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "trunc_fr",
      "title": "Per-locus truncation lengths for forward and reverse reads.",
      "object": "trunc_fr",
      "file": "trunc_fr.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "locus",
        "trunc_f",
        "trunc_r"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    },
    {
      "name": "variant_calls",
      "title": "List of tidy variants",
      "object": "variant_calls",
      "file": "variant_calls.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "variants",
      "title": "Variants",
      "object": "variants",
      "file": "variants.rda",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sample",
        "locus",
        "variant",
        "reads",
        "nt",
        "md5",
        "sequence"
      ],
      "rows": 1461,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_allele_no",
      "title": "add allele_no to genotypes",
      "topics": [
        "add_allele_no"
      ]
    },
    {
      "page": "align_variants_ref",
      "title": "Align variant sequences against a reference FASTA database",
      "topics": [
        "align_variants_ref"
      ]
    },
    {
      "page": "amplisas2tidy",
      "title": "Read AmpliSAT results into tidy variants",
      "topics": [
        "amplisas2tidy"
      ]
    },
    {
      "page": "check_raw_reads",
      "title": "Check input raw FASTA/Q files",
      "topics": [
        "check_raw_reads"
      ]
    },
    {
      "page": "check1_lowcount",
      "title": "Check1",
      "topics": [
        "check1_lowcount"
      ]
    },
    {
      "page": "check2_unique_snames",
      "title": "Check2",
      "topics": [
        "check2_unique_snames"
      ]
    },
    {
      "page": "check3_non_orphan",
      "title": "Check3",
      "topics": [
        "check3_non_orphan"
      ]
    },
    {
      "page": "compare_calls",
      "title": "Comparision between multiple tidy variants or genotypes.",
      "topics": [
        "compare_calls"
      ]
    },
    {
      "page": "cutadapt_command",
      "title": "Create cutadapt command",
      "topics": [
        "cutadapt_command"
      ]
    },
    {
      "page": "demultiplex",
      "title": "Demultiplex reads by locus",
      "topics": [
        "demultiplex"
      ]
    },
    {
      "page": "dereplicate",
      "title": "De-replicate reads into frequency tables for a set of FASTQ files",
      "topics": [
        "dereplicate"
      ]
    },
    {
      "page": "dist_m",
      "title": "Distance between two matrices",
      "topics": [
        "dist_m"
      ]
    },
    {
      "page": "dist_m_all",
      "title": "Applies distance between all tables in a list.",
      "topics": [
        "dist_m_all"
      ]
    },
    {
      "page": "explore_dada",
      "title": "Explore variants output by DADA2 in the parameter space",
      "topics": [
        "explore_dada"
      ]
    },
    {
      "page": "filter_variants",
      "title": "Filter variants based on frequency and depth",
      "topics": [
        "filter_variants"
      ]
    },
    {
      "page": "genotype",
      "title": "Genotype samples from tidy variants",
      "topics": [
        "genotype",
        "geno_direct"
      ]
    },
    {
      "page": "genotype_conversion",
      "title": "Conversion among genotype formats: tidy, compact, wide, STRUCTURE",
      "topics": [
        "genotype_conversion",
        "gen_compact2wide",
        "gen_tidy2compact",
        "gen_tidy2genalex",
        "gen_tidy2integers",
        "gen_tidy2wide",
        "gen_wide2structure"
      ]
    },
    {
      "page": "genotypes",
      "title": "Genotypes",
      "topics": [
        "genotypes"
      ]
    },
    {
      "page": "mds_comp",
      "title": "plot MDS",
      "topics": [
        "mds_comp"
      ]
    },
    {
      "page": "out_popart",
      "title": "Format MSA and traits for PopArt",
      "topics": [
        "out_popart"
      ]
    },
    {
      "page": "primers",
      "title": "Primers for multiplex PCR",
      "topics": [
        "primers"
      ]
    },
    {
      "page": "reads_loci_samples",
      "title": "Output reads per locus",
      "topics": [
        "reads_loci_samples"
      ]
    },
    {
      "page": "reads_track",
      "title": "Output reads across pipeline",
      "topics": [
        "reads_track"
      ]
    },
    {
      "page": "remove_hemizygotes",
      "title": "Remove hemizygote calls",
      "topics": [
        "remove_hemizygotes"
      ]
    },
    {
      "page": "remove_monomorphic",
      "title": "Remove monorphic loci",
      "topics": [
        "remove_monomorphic"
      ]
    },
    {
      "page": "remove_poor_fastq",
      "title": "Remove empty FASTQ",
      "topics": [
        "remove_poor_fastq"
      ]
    },
    {
      "page": "rename_alleles",
      "title": "Rename alleles in a dataframe based on reference alleles",
      "topics": [
        "rename_alleles"
      ]
    },
    {
      "page": "rm_n_msa",
      "title": "Remove Ns introduced in 'mergePairs(justConcatenate = T)'",
      "topics": [
        "rm_n_msa"
      ]
    },
    {
      "page": "tidy2sequences",
      "title": "Output FASTA sequences",
      "topics": [
        "tidy2sequences"
      ]
    },
    {
      "page": "trunc_fr",
      "title": "Per-locus truncation lengths for forward and reverse reads.",
      "topics": [
        "trunc_fr"
      ]
    },
    {
      "page": "truncate",
      "title": "Truncate reads",
      "topics": [
        "truncate",
        "trunc_amp"
      ]
    },
    {
      "page": "var_seq2len",
      "title": "Convert sequence-based variants to length-based",
      "topics": [
        "var_seq2len"
      ]
    },
    {
      "page": "variant_call",
      "title": "Variant calling",
      "topics": [
        "variant_call"
      ]
    },
    {
      "page": "variant_calling_dada",
      "title": "Variant calling using DADA2 ASV approach",
      "topics": [
        "chimera_removal",
        "dada2list",
        "loess_err_mod4",
        "variant_calling_dada",
        "variant_call_dada"
      ]
    },
    {
      "page": "variant_calls",
      "title": "List of tidy variants",
      "topics": [
        "variant_calls"
      ]
    },
    {
      "page": "variants",
      "title": "Variants",
      "topics": [
        "variants"
      ]
    }
  ],
  "_readme": "https://github.com/csmiguel/tidygenr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "BH",
    "Biobase",
    "BiocGenerics",
    "BiocParallel",
    "Biostrings",
    "bit",
    "bit64",
    "bitops",
    "cigarillo",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "dada2",
    "DBI",
    "DECIPHER",
    "DelayedArray",
    "deldir",
    "digest",
    "dplyr",
    "farver",
    "formatR",
    "futile.logger",
    "futile.options",
    "generics",
    "GenomicAlignments",
    "GenomicRanges",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "hwriter",
    "interp",
    "IRanges",
    "isoband",
    "jpeg",
    "labeling",
    "lambda.r",
    "lattice",
    "latticeExtra",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "patchwork",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "prettyunits",
    "progress",
    "purrr",
    "pwalign",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "reshape2",
    "Rhtslib",
    "rlang",
    "Rsamtools",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "scales",
    "Seqinfo",
    "ShortRead",
    "snow",
    "SparseArray",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "writexl",
    "XVector"
  ],
  "_vignettes": [
    {
      "source": "tidyGenR-intro.Rmd",
      "filename": "tidyGenR-intro.html",
      "title": "Introduction to tidyGenR",
      "author": "Miguel Camacho-Sanchez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Input raw sequences",
        "Demultiplex loci",
        "Truncate reads",
        "Variant calling",
        "Genotype"
      ],
      "created": "2025-04-06 15:54:48",
      "modified": "2026-02-13 11:32:45",
      "commits": 4
    },
    {
      "source": "tidyGenR-optimization.Rmd",
      "filename": "tidyGenR-optimization.html",
      "title": "Optimization of variant calling",
      "author": "Miguel Camacho-Sanchez",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "explore_dada()",
        "compare_calls()"
      ],
      "created": "2026-02-09 18:48:31",
      "modified": "2026-02-09 18:48:31",
      "commits": 1
    }
  ],
  "_score": 4.857332496431269,
  "_indexed": true,
  "_nocasepkg": "tidygenr",
  "_universes": [
    "csmiguel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-15T12:31:41.000Z",
      "distro": "noble",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "16e7bafed39e4a13d23e51e8d79ff0018e0d5fe865ea30070d3814f109fc9506",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-15T12:32:02.000Z",
      "distro": "noble",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "9bd184647dbd64917574aee144c991934e2ca5b711d2631bad831d542590c267",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-15T12:31:08.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "722f4f410f7ea20bb4094f9f50aae9d822f4608ace0e8a864023aeed5a8a6f2b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-15T12:31:05.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "d8a12c0c81167ca46c95e3f66df757e9ffaa38e3f2841d353e33c8df81818a45",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-15T12:31:13.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "ccea35c0c27f4e7203ddbed85c8b785a1706ba655864f8316febd29ecb0e2e7d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-15T12:30:34.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "8e8de510e4396bbf491446074d353500248ea27431f7703c6cabed7fd1a42584",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-15T12:30:53.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "dbf636a42c944450bed34a3e591e93f51047b3a409f69c88edc902fe024a112d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-06-02T19:10:20.000Z",
      "commit": "c8f9e1eae7b105dd30fb2987897a2b25f2994180",
      "fileid": "d55f8d8ee139f39cdd861f730e28c414e7e8f3526ff57ed59419f9859cce2385",
      "status": "success",
      "buildurl": "https://github.com/r-universe/csmiguel/actions/runs/25917567873"
    }
  ]
}