Base Backend: dandelion.base
Preprocessing: pp
|
Annotate contigs with constant region call using blastn. |
|
Annotate contigs with constant region call using blastn. |
|
Check contigs for whether they can be considered as ambiguous or not. |
|
Add prefix to the headers/contig ids in input fasta and annotation file. |
|
Add prefix to the headers/contig ids in input fasta and annotation file. |
|
Reannotate cellranger fasta files with igblastn and parses to airr format. |
|
Correct allele calls based on a personalized genotype using tigger. |
Tools: tl
|
Calculate node closeness centrality in BCR/TCR network. |
|
Calculate node degree in BCR/TCR network. |
|
Compute clonal diversity with bootstrapping. |
|
A function to tabulate clonal overlap for input as a circos-style plot. |
|
Compute sample-based rarefaction curves with asymptotic extrapolation and optional plotting. |
|
Quantify clone sizes, globally or per group. |
|
Swap the 'active' connectivities, distances, and optionally embedding in AnnData. |
|
Concatenate data frames and return as Dandelion object. |
|
Find clones using changeo's DefineClones.py. |
|
Retrieve edge weights from graph. |
|
Find clones based on VDJ chain and VJ chain CDR3 junction hamming distance. |
|
Convert data from scirpy format to Dandelion format. |
|
Generate a Levenshtein distance network based on VDJ and VJ sequences. |
|
Compute the cell-level productive/non-productive contig ratio. |
|
Function to project pseudotime & branch probabilities from pb_adata (pseudobulk adata) to adata (cell adata). |
|
Function to pseudobulk gene expression (raw count). |
|
Function to add pseudotime and branch probabilities into adata.obs in place. |
|
Function for prepare anndata for computing pseudobulk vdj feature space. |
|
Convert Dandelion data to scirpy-compatible format. |
|
|
|
Function for making pseudobulk vdj feature space. |
|
Resample vdj data and corresponding AnnData to a specified size. |
|
Extract productive V/J gene usage from single cell data and compute PCA. |
Plotting: pl
|
A barplot function to plot usage of V/J genes in the data. |
|
A bubble plot to visualise clone sizes within groups using circle packing. |
|
Using scanpy's plotting module to plot the network. |
|
A plot function to visualise clonal overlap as a circos-style plot. |
|
Plot productive/non-productive contig ratio from AnnData (cell level). |
|
A spectratype function to plot usage of CDR3 length. |
|
A stacked bar plot function to plot usage of V/J genes in the data split by groups. |
Reading: io
|
Read in and returns a Dandelion class from .h5ddl format. |
|
Read the airr_rearrangement.tsv produced from Cell Ranger directly and returns a Dandelion object. |
|
A parser to read .csv and .json files directly from folder containing 10x cellranger-outputs, or parse an existing pandas DataFrame. |
|
Reads a standard single-cell AIRR rearrangement file. |
|
Read the TCR or BCR _AIRR.tsv produced from BD Rhapsody technology. |
|
Read the TCR or BCR _annotation_airr.tsv produced from Parse Biosciences Evercode technology. |
|
A parser to read .csv and .json files directly from folder containing SeekGene VDJ outputs, or parse an existing pandas DataFrame. |
|
Read in and returns a Dandelion class from .h5ddl format. |
|
Read in and returns a Dandelion class from .h5ddl format. |
Dandelion Class
|
Add prefix to cell_id and optionally to sequence_id. |
|
Add suffix to cell_id and optionally to sequence_id. |
|
Add prefix to sequence_id and then apply to cell_id as well. |
|
Add suffix to sequence_id and then apply to cell_id as well. |
Convert self.distances to a concrete csr matrix. |
|
Performs a deep copy of all slots in Dandelion class. |
|
One-dimensional annotation of contig observations. |
|
Names of observations (alias for .data.index). |
|
One-dimensional annotation of cell observations. |
|
Names of observations (alias for .metadata.index). |
|
|
Disambiguate VDJ and C gene calls when there's multiple calls separated by commas and strip the alleles. |
Update germline reference with corrected sequences and store in Dandelion object. |
|
|
Sync missing metadata columns into data via dictionary mapping. |
|
A Dandelion initialisation function to update and populate the .metadata slot. |
|
Retrieve additional data columns that are useful. |
|
Writes a Dandelion class to .h5ddl format. |
|
Alias for |
|
Writes a Dandelion class to AIRR formatted .tsv format. |
|
Writes a Dandelion class to .h5ddl format. |
|
Writes a Dandelion class to .h5ddl format. |
|
Writes a Dandelion object to contig-annotation formatted files compatible with multiple platforms (10x Genomics, SeekGene, etc.) so that it can be ingested by other tools. |
Polars Backend: dandelion.polars
Preprocessing: pp
|
Annotate contigs with constant region call using blastn. |
|
Annotate contigs with constant region call using blastn. |
|
Check contigs for whether they can be considered as ambiguous or not. |
|
Add prefix to the headers/contig ids in input fasta and annotation file. |
|
Add prefix to the headers/contig ids in input fasta and annotation file. |
|
Reannotate cellranger fasta files with igblastn and parses to airr format. |
|
Correct allele calls based on a personalized genotype using tigger. |
Tools: tl
|
Calculate node closeness centrality in BCR/TCR network. |
|
Calculate node degree in BCR/TCR network. |
|
Compute clonal diversity with bootstrapping. |
|
A function to tabulate clonal overlap for input as a circos-style plot. |
|
Compute sample-based rarefaction curves with asymptotic extrapolation and optional plotting. |
|
Quantify clone sizes, globally or per group. |
|
Swap the 'active' connectivities, distances, and optionally embedding in AnnData. |
|
Concatenate data frames and return as Dandelion object. |
|
Find clones using changeo's DefineClones.py. |
|
Retrieve edge weights from graph. |
|
Find clones based on VDJ chain and VJ chain CDR3 junction hamming distance. |
|
Convert data from scirpy format to Dandelion format. |
|
Generate a Levenshtein distance network based on VDJ and VJ sequences. |
|
Compute the cell-level productive/non-productive contig ratio. |
|
Function to project pseudotime & branch probabilities from pb_adata (pseudobulk adata) to adata (cell adata). |
|
Function to pseudobulk gene expression (raw count). |
|
Function to add pseudotime and branch probabilities into adata.obs in place. |
|
Function to prepare AnnData for computing pseudobulk vdj feature space. |
|
Convert Dandelion data to scirpy-compatible format. |
|
|
|
Function for making pseudobulk vdj feature space. |
|
Resample vdj data and corresponding AnnData to a specified size. |
|
Extract productive V/J gene usage from single cell data and compute PCA. |
Plotting: pl
|
A barplot function to plot usage of V/J genes in the data. |
|
A bubble plot to visualise clone sizes within groups using circle packing. |
|
Using scanpy's plotting module to plot the network. |
|
A plot function to visualise clonal overlap as a circos-style plot. |
|
Plot productive/non-productive contig ratio from AnnData (cell level). |
|
A spectratype function to plot usage of CDR3 length. |
|
A stacked bar plot function to plot usage of V/J genes in the data split by groups. |
Reading: io
|
Read a Dandelion object from a .zipddl file (hybrid Zarr v3 ZipStore container). |
|
Read the airr_rearrangement.tsv produced from Cell Ranger directly and returns a DandelionPolars object. |
|
A parser to read .csv and .json files directly from folder containing 10x cellranger-outputs, or parse an existing pandas/polars DataFrame. |
|
Reads a standard single-cell AIRR rearrangement file. |
|
Read the TCR or BCR _AIRR.tsv produced from BD Rhapsody technology. |
|
Read the TCR or BCR _annotation_airr.tsv produced from Parse Biosciences Evercode technology. |
|
A parser to read .csv and .json files directly from folder containing SeekGene VDJ outputs, or parse an existing pandas/polars DataFrame. |
|
Read a Dandelion object from a .zipddl file (hybrid Zarr v3 ZipStore container). |
|
Read in and returns a Dandelion class from .h5ddl format. |
|
Read a Dandelion object from a .zipddl file (hybrid Zarr v3 ZipStore container). |
Dandelion Class
|
Add prefix to cell_id and optionally to sequence_id. |
|
Add suffix to cell_id and optionally to sequence_id. |
|
Add prefix to sequence_id and then apply to cell_id as well. |
|
Add suffix to sequence_id and then apply to cell_id as well. |
Polars-style clone: duplicate frames and state without sharing cache handles. |
|
Convert self.distances to a concrete csr matrix. |
|
Performs a deep copy of all slots in Dandelion class. |
|
One-dimensional annotation of contig observations. |
|
Names of contig observations. |
|
One-dimensional annotation of cell observations. |
|
Names of cell observations. |
|
Number of contigs. |
|
Number of observations. |
|
Reset both IDs to their original values. |
|
|
Disambiguate VDJ and C gene calls when there's multiple calls separated by commas and strip the alleles. |
Update germline reference with corrected sequences and store in Dandelion object. |
|
Convert DandelionPolars.metadata to AnnData. |
|
Convert lazy slots to eager slots. |
|
|
Convert eager slots to lazy slots. |
Convert self from Polars to Pandas implementation. |
|
|
Convert self from Pandas to Polars implementation. |
|
Sync metadata columns into data via dictionary mapping. |
|
A Dandelion initialisation function to update and populate the .metadata slot. |
|
Retrieve additional data columns that are useful. |
|
Write a Dandelion object to a single .zipddl file (Zarr v3 ZipStore, hybrid storage) with optional compression. |
|
Alias for |
|
Writes a Dandelion class to AIRR formatted .tsv format. |
|
Write a Dandelion object to a single .zipddl file (Zarr v3 ZipStore, hybrid storage) with optional compression. |
|
Write a Dandelion object to .h5ddl format. |
|
Writes a DandelionPolars object to contig-annotation formatted files compatible with multiple platforms (10x Genomics, SeekGene, etc.) so that it can be ingested by other tools. |
|
Write a Dandelion object to a single .zipddl file (Zarr v3 ZipStore, hybrid storage) with optional compression. |
Utilities
|
Retrieve edge weights from graph. |
|
Run makeblastdb on constant region fasta file. |
Tutorial
|
Download example BCR datasets for Dandelion tutorial. |
|
Download the extremely large dataset from Parse Biosciences for Dandelion tutorial. |
|
Download example TCR datasets for Dandelion tutorial. |
Download example datasets for Dandelion V(D)J trajectory tutorial. |
Set Backend
|
Override the active backend at runtime. |
Logging
|
Versions that are essential for dandelion's operation. |
|
Versions that are essential for dandelion's operation. |
External
scanpy
|
Recipe for running a standard scanpy QC workflow. |
Immcantation
Wrappers for tools in Immcantation pipeline.
Base
changeo
|
Reannotate with IgBLASTn. |
|
Wrapper for CreateGermlines.py for reconstructing germline sequences. |
|
Parse IgBLAST output to AIRR format. |
|
Parse AIRR tsv file (heavy chain contigs only). |
|
Parse AIRR tsv file (light chain contigs only). |
shazam
|
Calculating nearest neighbor distances for tuning clonal assignment with shazam. |
|
Run basic mutation load analysis. |
scoper
|
Clonal assignment using sequence identity partitioning. |
|
Hierarchical clustering approach to clonal assignment. |
|
Spectral clustering method for clonal partitioning. |
Polars
changeo
|
Reannotate with IgBLASTn. |
|
Wrapper for CreateGermlines.py for reconstructing germline sequences. |
|
Parse IgBLAST output to AIRR format. |
|
Parse AIRR tsv file (heavy chain contigs only). |
|
Parse AIRR tsv file (light chain contigs only). |
shazam
|
Calculating nearest neighbor distances for tuning clonal assignment with shazam. |
|
Run basic mutation load analysis. |
scoper
|
Clonal assignment using sequence identity partitioning with Polars. |
|
Hierarchical clustering approach to clonal assignment with Polars. |
|
Spectral clustering method for clonal partitioning with Polars. |
tigger
|
Reassign alleles with TIgGER in R. |