Preprocessing: pp¶
|
Annotate contigs with constant region call using blastn |
|
Annotate contigs with constant region call using blastn |
|
Calculating nearest neighbor distances for tuning clonal assignment with shazam. |
|
Runs CreateGermlines.py to reconstruct the germline V(D)J sequence, from which the Ig lineage and mutations can be inferred. |
|
Filters doublets and poor quality cells and corresponding contigs based on provided V(D)J DataFrame and AnnData objects. |
|
Adds prefix to the headers/contig ids in cellranger fasta and annotation file. |
|
Adds prefix to the headers/contig ids in cellranger fasta and annotation file. |
|
Runs basic mutation load analysis implemented in shazam. |
|
Reannotate cellranger fasta files with igblastn and parses to airr/changeo data format. |
|
Correct allele calls based on a personalized genotype using tigger-reassignAlleles. |
Preprocessing (external): pp.external¶
|
Reannotate with IgBLASTn. |
|
Wrapper for CreateGermlines.py for reconstructing germline sequences, |
|
Parses IgBLAST output to airr format. |
|
Parses AIRR table (heavy chain contigs only). |
|
Parses AIRR table (light chain contigs only). |
|
Recipe for running a standard scanpy QC workflow. |
|
Reassign alleles with TIgGER in R. |
Tools: tl¶
|
Calculates node closeness centrality in BCR network. |
|
Calculates node degree in BCR network. |
|
Compute B cell clones diversity : Gini indices, Chao1 estimates, or Shannon entropy. |
|
A function to tabulate clonal overlap for input as a circos-style plot. |
|
Returns rarefaction predictions for cell numbers vs clone size. |
|
Quantifies size of clones |
|
Find clones using changeo’s DefineClones.py. |
|
Retrieves edge weights (BCR levenshtein distance) from graph. |
|
Find clones based on heavy chain and light chain CDR3 junction hamming distance. |
|
Generates a Levenshtein distance network based on full length VDJ sequence alignments for heavy and light chain(s). |
|
Transfer data in Dandelion slots to AnnData object, updating the .obs, .uns, .obsm and `.obsp`slots. |
Plotting: pl¶
|
A barplot function to plot usage of V/J genes in the data. |
|
Using scanpy’s plotting module to plot the network. |
|
A plot function to visualise clonal overlap as a circos-style plot. |
|
Plots rarefaction curve for cell numbers vs clone size. |
|
A spectratype function to plot usage of CDR3 length in the data split by groups. |
|
A stackedbarplot function to plot usage of V/J genes in the data split by groups. |
Utilities: utl¶
|
Reads in or copy dataframe object and set sequence_id as index without dropping. |
|
Runs makeblastdb on constant region fasta file |
|
Reads in and returns a Dandelion class from .h5 format. |
|
Reads in and returns a Dandelion class saved using pickle format. |
|
Reads the 10x AIRR rearrangement .tsv directly and returns a Dandelion object. |
|
A Dandelion initialisation function to update and populate the .metadata slot. |
|
Concatenate dataframe and return as Dandelion object. |
|
Converts a Dandelion object to scirpy’s format. |
|
Reads a scirpy initialized AnnData oject and returns a Dandelion object. |
Dandelion¶
|
Performs a deep copy of all slots in Dandelion class. |
|
Update germline reference with corrected sequences and store in Dandelion object. |
|
Writes a Dandelion class to .h5 format. |
|
Writes a Dandelion class to .pkl format. |
Logging¶
|
Versions that are essential for dandelion’s operation. |
|
Versions that are essential for dandelion’s operation. |