Package: piglet 1.5.2

piglet: Program for Inferring Immunoglobulin Allele Similarity Clusters and Genotypes

Improves genotype inference and downstream Adaptive Immune Receptor Repertoire Sequence data analysis. Inference of allele similarity clusters, an alternative naming scheme and genotype inference for immunoglobulin heavy chain repertoires. The main tools are allele similarity clusters, and allele based genotype. The first tool is designed to reduce the ambiguity within the immunoglobulin heavy chain V alleles. The ambiguity is caused by duplicated or similar alleles which are shared among different genes. The second tool is an allele based genotype, that determined the presence of an allele based on a threshold derived from a naive population. See Peres et al. (2023) <doi:10.1093/nar/gkad603>.

Authors:Ayelet Peres [aut, cre], William Lees [aut], Gur Yaari [aut, cph]

piglet_1.5.2.tar.gz
piglet_1.5.2.zip(r-4.7-x86_64)piglet_1.5.2.zip(r-4.7-arm64)piglet_1.5.2.zip(r-4.6-x86_64)piglet_1.5.2.zip(r-4.6-arm64)piglet_1.5.2.zip(r-4.5-x86_64)
piglet_1.5.2.tgz(r-4.6-x86_64)piglet_1.5.2.tgz(r-4.6-arm64)piglet_1.5.2.tgz(r-4.5-x86_64)piglet_1.5.2.tgz(r-4.5-arm64)
piglet_1.5.2.tar.gz(r-4.7-arm64)piglet_1.5.2.tar.gz(r-4.7-x86_64)piglet_1.5.2.tar.gz(r-4.6-arm64)piglet_1.5.2.tar.gz(r-4.6-x86_64)
piglet_1.5.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
piglet/json (API)

# Install 'piglet' in R:
install.packages('piglet', repos = c('https://ayeletperes.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ayeletperes/piglet/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

5.72 score 50 scripts 314 downloads 50 exports 95 dependencies

Last updated from:39d6600e67. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK253
linux-devel-x86_64OK326
source / vignettesOK332
linux-release-arm64OK275
linux-release-x86_64OK307
macos-release-arm64OK309
macos-release-x86_64OK383
macos-oldrel-arm64OK278
macos-oldrel-x86_64OK713
windows-devel-arm64OK483
windows-devel-x86_64OK317
windows-release-arm64OK503
windows-release-x86_64OK297
windows-oldrel-x86_64OK265
wasm-releaseOK135

Exports:%>%allele_diffallele_diff_indicesallele_diff_indices_parallelallele_diff_indices_parallel2allele_diff_pairedallele_diff_stringsalleleClusterNamesallelePaletteannotateRepertoireIUISartificialFRW1GermlineascIUISVocabularyascUsagePhenotypeassignAlleleClustersdetect_communities_leidendistance_to_graphextractASCTablegenotypeToTiggergermlineASCigClustigDistanceighvClustighvDistanceinferAlleleClustersinferGenotypeAlleleinferGenotypeAllele_ascinsert_gapsinsert_gaps2_vecnew_germline_clusteroptimize_resolutionpairingCellTestspairingLeadCharacterpairingPhenotypepairingScanpairingTableplotClusterComparisonplotCommunityNetworkplotGenotypeAlleleplotSilhouetteOptimizationplotTruncatedTreeqtlClumpqtlLDGroupsqtlScanMultivariateqtlScanUnivariateqtlSmallestGenotypeClassrecentAlleleClustersregroupASCByLabelrunGeneUsageQTLrunPairingQTLzenodoArchive

Dependencies:ade4airralakazamapeBHBiocGenericsBiocParallelBiostringsbitbit64bitopscigarillocirclizeclicliprclustercodetoolscolorspacecpp11crayondata.tableDBIDECIPHERdendextenddigestdoParalleldplyrfarverforeachformatRfutile.loggerfutile.optionsgenericsGenomicAlignmentsGenomicRangesggplot2GlobalOptionsgluegridExtragtablegtoolshmsigraphIRangesisobanditeratorsjsonlitelabelinglambda.rlatticelazyevallifecyclemagrittrMASSMatrixnlmepillarpixmappkgconfigprettyunitsprogresspurrrR6RColorBrewerRcppRcppArmadilloreadrRhtslibrlangRsamtoolsS4VectorsS7scalessegmentedSeqinfoseqinrshapesnowspstringdiststringistringrtibbletidyrtidyselecttiggertzdbutf8vctrsviridisviridisLitevroomwithrXVectoryaml

Gene-usage QTL: from repertoire to association
What this analysis asks | Input | Labels are not identities | Analysis | The usage scan | The conditional pairing scan | Which combinations are established | Output | Reading a p-value | One ceiling worth stating

Last update: 2026-09-14
Started: 2026-09-14

Generating Allele Similarity Clusters (ASC) for BIOMED IGHV Reference
Overview

Last update: 2026-02-23
Started: 2025-07-08

PIgLET: Program for Ig clusters
Introduction | Package Overview | Allele Similarity Cluster: | Allele based genotype: | Allele Similarity Cluster | Library amplicon length | Inferring Allele Similarity Clusters | Artificial framework 1 reference set | Allele based genotype | ASC-based thresholds | Introduction | Retriving Zenodo archive | Inferring ASC-based genotype | Contact | References

Last update: 2026-02-23
Started: 2023-06-09

Readme and manuals

Help Manual

Help pageTopics
Allele similarity cluster tableallele_cluster_table
Alleles nucleotide position differenceallele_diff
Calculate differences between characters in columns of germs and return their indices as an int vector.allele_diff_indices
Deprecated: use 'allele_diff_paired'allele_diff_indices_parallel
Deprecated: use 'allele_diff_paired'allele_diff_indices_parallel2
Count or locate SNPs between paired germline and input sequencesallele_diff_paired
Calculate differences between characters in columns of germs and return them as a string vector.allele_diff_strings
Allele thresholds tableallele_threshold_table
Allele similarity cluster naming schemealleleClusterNames
Allele color paletteallelePalette
Add IUIS gene-group columns to a genotype-corrected repertoireannotateRepertoireIUIS
FWR1 artificial dataset generatorartificialFRW1Germline
Build the ASC subgroup to IUIS gene-group vocabularyascIUISVocabulary
Per-subject usage of each gene groupascUsagePhenotype
Assign allele similarity clustersassignAlleleClusters
Leiden community detectiondetect_communities_leiden
Convert distance matrix to weighted graphdistance_to_graph
Extracts the allele cluster table from the archive file.extractASCTable
Generate allele similarity reference setgenerateReferenceSet
Convert a PIgLET genotype to a TIgGER/VDJbase genotype tablegenotypeToTigger
Converts IGHV germline set to ASC germline set.germlineASC
Human IGHV germlines functionality descriptionhv_functionality
Human IGHV germlinesHVGERM
Allele similarity clusteringigClust
Germline set alleles distanceigDistance
Allele similarity clustering (deprecated)ighvClust
Germline set alleles distance (deprecated)ighvDistance
Allele similarity clusterinferAlleleClusters
Allele based genotype inferenceinferGenotypeAllele
Allele similarity cluster based genotype inference Testing functioninferGenotypeAllele_asc
Insert gaps into an ungapped sequence based on a gapped reference sequence.insert_gaps
Deprecated: use 'insert_gaps'insert_gaps2_vec
Create a GermlineCluster objectnew_germline_cluster
Optimize resolution parameter using silhouette scoreoptimize_resolution
Per-cell follow-up under a significant pairing hitpairingCellTests
Characterise pairing leads: what kind of signal is this?pairingLeadCharacter
The response matrix for one anchor genepairingPhenotype
Scan variants against a gene's partner distributionpairingScan
Observed against expected gene pairing, per subjectpairingTable
The Program for Ig clusters (PIgLET) packagepiglet
Plot method for GermlineClusterplot.GermlineCluster
Plotting the dendrogram of the clustersplotAlleleCluster
Compare hierarchical and Leiden clusteringplotClusterComparison
Plot community networkplotCommunityNetwork
Plot a PIgLET genotype with a per-allele confidence panelplotGenotypeAllele
Plot silhouette optimization resultsplotSilhouetteOptimization
Plot truncated tree visualizationplotTruncatedTree
Print method for GermlineClusterprint.GermlineCluster
Independent lead variants by greedy clumpingqtlClump
Collapse variants carrying identical genotype informationqtlLDGroups
Multivariate QTL scan by Pillai's traceqtlScanMultivariate
Univariate QTL scan of every phenotype on every variantqtlScanUnivariate
Smallest observed genotype class per variantqtlSmallestGenotypeClass
Retrieving allele similarity clusters Zenodo archiverecentAlleleClusters
Regroup Allele Similarity Clusters by a per-allele labelregroupASCByLabel
Gene-usage QTL scan for one locusrunGeneUsageQTL
Conditional gene-pairing QTL scan for one anchoringrunPairingQTL
Summary method for GermlineClustersummary.GermlineCluster
zenodoArchivezenodoArchive