@bgicli/bgicli 2.1.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/skills/aav-vector-design-agent/SKILL.md +198 -0
- package/data/skills/adaptyv/SKILL.md +112 -0
- package/data/skills/adhd-daily-planner/SKILL.md +271 -0
- package/data/skills/aeon/SKILL.md +372 -0
- package/data/skills/agent-browser/SKILL.md +159 -0
- package/data/skills/agentd-drug-discovery/SKILL.md +52 -0
- package/data/skills/ai-analyzer/SKILL.md +218 -0
- package/data/skills/alphafold/SKILL.md +183 -0
- package/data/skills/alphafold-database/SKILL.md +500 -0
- package/data/skills/anndata/SKILL.md +394 -0
- package/data/skills/antibody-design-agent/SKILL.md +64 -0
- package/data/skills/arboreto/SKILL.md +237 -0
- package/data/skills/armored-cart-design-agent/SKILL.md +225 -0
- package/data/skills/arxiv-search/SKILL.md +224 -0
- package/data/skills/autonomous-oncology-agent/SKILL.md +77 -0
- package/data/skills/bayesian-optimizer/SKILL.md +60 -0
- package/data/skills/benchling-integration/SKILL.md +473 -0
- package/data/skills/bgpt-paper-search/SKILL.md +81 -0
- package/data/skills/bindcraft/SKILL.md +198 -0
- package/data/skills/binder-design/SKILL.md +182 -0
- package/data/skills/binding-characterization/SKILL.md +234 -0
- package/data/skills/bindingdb-database/SKILL.md +332 -0
- package/data/skills/bio-admet-prediction/SKILL.md +224 -0
- package/data/skills/bio-alignment-files-bam-statistics/SKILL.md +340 -0
- package/data/skills/bio-alignment-filtering/SKILL.md +322 -0
- package/data/skills/bio-alignment-indexing/SKILL.md +249 -0
- package/data/skills/bio-alignment-io/SKILL.md +301 -0
- package/data/skills/bio-alignment-msa-parsing/SKILL.md +366 -0
- package/data/skills/bio-alignment-msa-statistics/SKILL.md +375 -0
- package/data/skills/bio-alignment-pairwise/SKILL.md +277 -0
- package/data/skills/bio-alignment-sorting/SKILL.md +296 -0
- package/data/skills/bio-alignment-validation/SKILL.md +374 -0
- package/data/skills/bio-atac-seq-atac-peak-calling/SKILL.md +221 -0
- package/data/skills/bio-atac-seq-atac-qc/SKILL.md +292 -0
- package/data/skills/bio-atac-seq-differential-accessibility/SKILL.md +268 -0
- package/data/skills/bio-atac-seq-footprinting/SKILL.md +256 -0
- package/data/skills/bio-atac-seq-motif-deviation/SKILL.md +319 -0
- package/data/skills/bio-atac-seq-nucleosome-positioning/SKILL.md +321 -0
- package/data/skills/bio-basecalling/SKILL.md +368 -0
- package/data/skills/bio-batch-downloads/SKILL.md +384 -0
- package/data/skills/bio-batch-processing/SKILL.md +303 -0
- package/data/skills/bio-bedgraph-handling/SKILL.md +336 -0
- package/data/skills/bio-blast-searches/SKILL.md +354 -0
- package/data/skills/bio-causal-genomics-colocalization-analysis/SKILL.md +264 -0
- package/data/skills/bio-causal-genomics-fine-mapping/SKILL.md +267 -0
- package/data/skills/bio-causal-genomics-mediation-analysis/SKILL.md +264 -0
- package/data/skills/bio-causal-genomics-mendelian-randomization/SKILL.md +221 -0
- package/data/skills/bio-causal-genomics-pleiotropy-detection/SKILL.md +292 -0
- package/data/skills/bio-cfdna-preprocessing/SKILL.md +200 -0
- package/data/skills/bio-chipseq-differential-binding/SKILL.md +262 -0
- package/data/skills/bio-chipseq-motif-analysis/SKILL.md +387 -0
- package/data/skills/bio-chipseq-peak-annotation/SKILL.md +239 -0
- package/data/skills/bio-chipseq-peak-calling/SKILL.md +277 -0
- package/data/skills/bio-chipseq-qc/SKILL.md +391 -0
- package/data/skills/bio-chipseq-super-enhancers/SKILL.md +288 -0
- package/data/skills/bio-chipseq-visualization/SKILL.md +289 -0
- package/data/skills/bio-clinical-databases-clinvar-lookup/SKILL.md +188 -0
- package/data/skills/bio-clinical-databases-dbsnp-queries/SKILL.md +171 -0
- package/data/skills/bio-clinical-databases-gnomad-frequencies/SKILL.md +205 -0
- package/data/skills/bio-clinical-databases-hla-typing/SKILL.md +248 -0
- package/data/skills/bio-clinical-databases-myvariant-queries/SKILL.md +174 -0
- package/data/skills/bio-clinical-databases-pharmacogenomics/SKILL.md +232 -0
- package/data/skills/bio-clinical-databases-polygenic-risk/SKILL.md +276 -0
- package/data/skills/bio-clinical-databases-somatic-signatures/SKILL.md +261 -0
- package/data/skills/bio-clinical-databases-tumor-mutational-burden/SKILL.md +301 -0
- package/data/skills/bio-clinical-databases-variant-prioritization/SKILL.md +225 -0
- package/data/skills/bio-clip-seq-binding-site-annotation/SKILL.md +66 -0
- package/data/skills/bio-clip-seq-clip-alignment/SKILL.md +70 -0
- package/data/skills/bio-clip-seq-clip-motif-analysis/SKILL.md +62 -0
- package/data/skills/bio-clip-seq-clip-peak-calling/SKILL.md +282 -0
- package/data/skills/bio-clip-seq-clip-preprocessing/SKILL.md +142 -0
- package/data/skills/bio-codon-usage/SKILL.md +353 -0
- package/data/skills/bio-comparative-genomics-ancestral-reconstruction/SKILL.md +312 -0
- package/data/skills/bio-comparative-genomics-hgt-detection/SKILL.md +341 -0
- package/data/skills/bio-comparative-genomics-ortholog-inference/SKILL.md +308 -0
- package/data/skills/bio-comparative-genomics-positive-selection/SKILL.md +354 -0
- package/data/skills/bio-comparative-genomics-synteny-analysis/SKILL.md +315 -0
- package/data/skills/bio-compressed-files/SKILL.md +263 -0
- package/data/skills/bio-consensus-sequences/SKILL.md +340 -0
- package/data/skills/bio-copy-number-cnv-annotation/SKILL.md +307 -0
- package/data/skills/bio-copy-number-cnv-visualization/SKILL.md +294 -0
- package/data/skills/bio-copy-number-cnvkit-analysis/SKILL.md +290 -0
- package/data/skills/bio-copy-number-gatk-cnv/SKILL.md +270 -0
- package/data/skills/bio-crispr-screens-base-editing-analysis/SKILL.md +110 -0
- package/data/skills/bio-crispr-screens-batch-correction/SKILL.md +316 -0
- package/data/skills/bio-crispr-screens-crispresso-editing/SKILL.md +205 -0
- package/data/skills/bio-crispr-screens-hit-calling/SKILL.md +264 -0
- package/data/skills/bio-crispr-screens-jacks-analysis/SKILL.md +313 -0
- package/data/skills/bio-crispr-screens-library-design/SKILL.md +417 -0
- package/data/skills/bio-crispr-screens-mageck-analysis/SKILL.md +222 -0
- package/data/skills/bio-crispr-screens-screen-qc/SKILL.md +243 -0
- package/data/skills/bio-ctdna-mutation-detection/SKILL.md +234 -0
- package/data/skills/bio-data-visualization-circos-plots/SKILL.md +405 -0
- package/data/skills/bio-data-visualization-color-palettes/SKILL.md +244 -0
- package/data/skills/bio-data-visualization-genome-browser-tracks/SKILL.md +328 -0
- package/data/skills/bio-data-visualization-genome-tracks/SKILL.md +249 -0
- package/data/skills/bio-data-visualization-ggplot2-fundamentals/SKILL.md +313 -0
- package/data/skills/bio-data-visualization-heatmaps-clustering/SKILL.md +227 -0
- package/data/skills/bio-data-visualization-interactive-visualization/SKILL.md +210 -0
- package/data/skills/bio-data-visualization-multipanel-figures/SKILL.md +274 -0
- package/data/skills/bio-data-visualization-specialized-omics-plots/SKILL.md +251 -0
- package/data/skills/bio-data-visualization-upset-plots/SKILL.md +228 -0
- package/data/skills/bio-data-visualization-volcano-customization/SKILL.md +233 -0
- package/data/skills/bio-de-deseq2-basics/SKILL.md +376 -0
- package/data/skills/bio-de-edger-basics/SKILL.md +418 -0
- package/data/skills/bio-de-results/SKILL.md +378 -0
- package/data/skills/bio-de-visualization/SKILL.md +408 -0
- package/data/skills/bio-differential-expression-batch-correction/SKILL.md +253 -0
- package/data/skills/bio-differential-expression-timeseries-de/SKILL.md +370 -0
- package/data/skills/bio-differential-splicing/SKILL.md +177 -0
- package/data/skills/bio-duplicate-handling/SKILL.md +292 -0
- package/data/skills/bio-entrez-fetch/SKILL.md +334 -0
- package/data/skills/bio-entrez-link/SKILL.md +325 -0
- package/data/skills/bio-entrez-search/SKILL.md +311 -0
- package/data/skills/bio-epidemiological-genomics-amr-surveillance/SKILL.md +233 -0
- package/data/skills/bio-epidemiological-genomics-pathogen-typing/SKILL.md +202 -0
- package/data/skills/bio-epidemiological-genomics-phylodynamics/SKILL.md +207 -0
- package/data/skills/bio-epidemiological-genomics-transmission-inference/SKILL.md +237 -0
- package/data/skills/bio-epidemiological-genomics-variant-surveillance/SKILL.md +237 -0
- package/data/skills/bio-epitranscriptomics-m6a-differential/SKILL.md +88 -0
- package/data/skills/bio-epitranscriptomics-m6a-peak-calling/SKILL.md +89 -0
- package/data/skills/bio-epitranscriptomics-m6anet-analysis/SKILL.md +101 -0
- package/data/skills/bio-epitranscriptomics-merip-preprocessing/SKILL.md +81 -0
- package/data/skills/bio-epitranscriptomics-modification-visualization/SKILL.md +98 -0
- package/data/skills/bio-experimental-design-batch-design/SKILL.md +110 -0
- package/data/skills/bio-experimental-design-multiple-testing/SKILL.md +98 -0
- package/data/skills/bio-experimental-design-power-analysis/SKILL.md +84 -0
- package/data/skills/bio-experimental-design-sample-size/SKILL.md +93 -0
- package/data/skills/bio-expression-matrix-counts-ingest/SKILL.md +220 -0
- package/data/skills/bio-expression-matrix-gene-id-mapping/SKILL.md +256 -0
- package/data/skills/bio-expression-matrix-metadata-joins/SKILL.md +271 -0
- package/data/skills/bio-expression-matrix-sparse-handling/SKILL.md +247 -0
- package/data/skills/bio-fastq-quality/SKILL.md +279 -0
- package/data/skills/bio-filter-sequences/SKILL.md +265 -0
- package/data/skills/bio-flow-cytometry-bead-normalization/SKILL.md +315 -0
- package/data/skills/bio-flow-cytometry-clustering-phenotyping/SKILL.md +237 -0
- package/data/skills/bio-flow-cytometry-compensation-transformation/SKILL.md +196 -0
- package/data/skills/bio-flow-cytometry-cytometry-qc/SKILL.md +382 -0
- package/data/skills/bio-flow-cytometry-differential-analysis/SKILL.md +217 -0
- package/data/skills/bio-flow-cytometry-doublet-detection/SKILL.md +288 -0
- package/data/skills/bio-flow-cytometry-fcs-handling/SKILL.md +221 -0
- package/data/skills/bio-flow-cytometry-gating-analysis/SKILL.md +193 -0
- package/data/skills/bio-format-conversion/SKILL.md +193 -0
- package/data/skills/bio-fragment-analysis/SKILL.md +214 -0
- package/data/skills/bio-gatk-variant-calling/SKILL.md +422 -0
- package/data/skills/bio-genome-assembly-assembly-polishing/SKILL.md +333 -0
- package/data/skills/bio-genome-assembly-assembly-qc/SKILL.md +344 -0
- package/data/skills/bio-genome-assembly-contamination-detection/SKILL.md +235 -0
- package/data/skills/bio-genome-assembly-hifi-assembly/SKILL.md +178 -0
- package/data/skills/bio-genome-assembly-long-read-assembly/SKILL.md +307 -0
- package/data/skills/bio-genome-assembly-metagenome-assembly/SKILL.md +227 -0
- package/data/skills/bio-genome-assembly-scaffolding/SKILL.md +204 -0
- package/data/skills/bio-genome-assembly-short-read-assembly/SKILL.md +319 -0
- package/data/skills/bio-genome-engineering-base-editing-design/SKILL.md +277 -0
- package/data/skills/bio-genome-engineering-grna-design/SKILL.md +221 -0
- package/data/skills/bio-genome-engineering-hdr-template-design/SKILL.md +264 -0
- package/data/skills/bio-genome-engineering-off-target-prediction/SKILL.md +232 -0
- package/data/skills/bio-genome-engineering-prime-editing-design/SKILL.md +275 -0
- package/data/skills/bio-genome-intervals-bed-file-basics/SKILL.md +357 -0
- package/data/skills/bio-genome-intervals-bigwig-tracks/SKILL.md +351 -0
- package/data/skills/bio-genome-intervals-coverage-analysis/SKILL.md +300 -0
- package/data/skills/bio-genome-intervals-gtf-gff-handling/SKILL.md +345 -0
- package/data/skills/bio-genome-intervals-interval-arithmetic/SKILL.md +485 -0
- package/data/skills/bio-genome-intervals-proximity-operations/SKILL.md +337 -0
- package/data/skills/bio-geo-data/SKILL.md +380 -0
- package/data/skills/bio-hi-c-analysis-compartment-analysis/SKILL.md +261 -0
- package/data/skills/bio-hi-c-analysis-contact-pairs/SKILL.md +278 -0
- package/data/skills/bio-hi-c-analysis-hic-data-io/SKILL.md +260 -0
- package/data/skills/bio-hi-c-analysis-hic-differential/SKILL.md +328 -0
- package/data/skills/bio-hi-c-analysis-hic-visualization/SKILL.md +297 -0
- package/data/skills/bio-hi-c-analysis-loop-calling/SKILL.md +284 -0
- package/data/skills/bio-hi-c-analysis-matrix-operations/SKILL.md +274 -0
- package/data/skills/bio-hi-c-analysis-tad-detection/SKILL.md +239 -0
- package/data/skills/bio-imaging-mass-cytometry-cell-segmentation/SKILL.md +241 -0
- package/data/skills/bio-imaging-mass-cytometry-data-preprocessing/SKILL.md +279 -0
- package/data/skills/bio-imaging-mass-cytometry-interactive-annotation/SKILL.md +304 -0
- package/data/skills/bio-imaging-mass-cytometry-phenotyping/SKILL.md +231 -0
- package/data/skills/bio-imaging-mass-cytometry-quality-metrics/SKILL.md +316 -0
- package/data/skills/bio-imaging-mass-cytometry-spatial-analysis/SKILL.md +246 -0
- package/data/skills/bio-immunoinformatics-epitope-prediction/SKILL.md +259 -0
- package/data/skills/bio-immunoinformatics-immunogenicity-scoring/SKILL.md +275 -0
- package/data/skills/bio-immunoinformatics-mhc-binding-prediction/SKILL.md +260 -0
- package/data/skills/bio-immunoinformatics-neoantigen-prediction/SKILL.md +277 -0
- package/data/skills/bio-immunoinformatics-tcr-epitope-binding/SKILL.md +257 -0
- package/data/skills/bio-isoform-switching/SKILL.md +192 -0
- package/data/skills/bio-liquid-biopsy-pipeline/SKILL.md +311 -0
- package/data/skills/bio-local-blast/SKILL.md +350 -0
- package/data/skills/bio-long-read-sequencing-clair3-variants/SKILL.md +252 -0
- package/data/skills/bio-long-read-sequencing-isoseq-analysis/SKILL.md +334 -0
- package/data/skills/bio-long-read-sequencing-nanopore-methylation/SKILL.md +110 -0
- package/data/skills/bio-longitudinal-monitoring/SKILL.md +271 -0
- package/data/skills/bio-longread-alignment/SKILL.md +193 -0
- package/data/skills/bio-longread-medaka/SKILL.md +176 -0
- package/data/skills/bio-longread-qc/SKILL.md +224 -0
- package/data/skills/bio-longread-structural-variants/SKILL.md +201 -0
- package/data/skills/bio-machine-learning-atlas-mapping/SKILL.md +139 -0
- package/data/skills/bio-machine-learning-biomarker-discovery/SKILL.md +157 -0
- package/data/skills/bio-machine-learning-model-validation/SKILL.md +148 -0
- package/data/skills/bio-machine-learning-omics-classifiers/SKILL.md +146 -0
- package/data/skills/bio-machine-learning-prediction-explanation/SKILL.md +162 -0
- package/data/skills/bio-machine-learning-survival-analysis/SKILL.md +176 -0
- package/data/skills/bio-metabolomics-lipidomics/SKILL.md +265 -0
- package/data/skills/bio-metabolomics-metabolite-annotation/SKILL.md +241 -0
- package/data/skills/bio-metabolomics-msdial-preprocessing/SKILL.md +308 -0
- package/data/skills/bio-metabolomics-normalization-qc/SKILL.md +283 -0
- package/data/skills/bio-metabolomics-pathway-mapping/SKILL.md +237 -0
- package/data/skills/bio-metabolomics-statistical-analysis/SKILL.md +276 -0
- package/data/skills/bio-metabolomics-targeted-analysis/SKILL.md +314 -0
- package/data/skills/bio-metabolomics-xcms-preprocessing/SKILL.md +268 -0
- package/data/skills/bio-metagenomics-abundance/SKILL.md +203 -0
- package/data/skills/bio-metagenomics-amr-detection/SKILL.md +293 -0
- package/data/skills/bio-metagenomics-functional-profiling/SKILL.md +252 -0
- package/data/skills/bio-metagenomics-kraken/SKILL.md +204 -0
- package/data/skills/bio-metagenomics-metaphlan/SKILL.md +214 -0
- package/data/skills/bio-metagenomics-strain-tracking/SKILL.md +292 -0
- package/data/skills/bio-metagenomics-visualization/SKILL.md +240 -0
- package/data/skills/bio-methylation-based-detection/SKILL.md +223 -0
- package/data/skills/bio-methylation-bismark-alignment/SKILL.md +195 -0
- package/data/skills/bio-methylation-calling/SKILL.md +200 -0
- package/data/skills/bio-methylation-dmr-detection/SKILL.md +211 -0
- package/data/skills/bio-methylation-methylkit/SKILL.md +219 -0
- package/data/skills/bio-microbiome-amplicon-processing/SKILL.md +137 -0
- package/data/skills/bio-microbiome-differential-abundance/SKILL.md +147 -0
- package/data/skills/bio-microbiome-diversity-analysis/SKILL.md +188 -0
- package/data/skills/bio-microbiome-functional-prediction/SKILL.md +153 -0
- package/data/skills/bio-microbiome-qiime2-workflow/SKILL.md +219 -0
- package/data/skills/bio-microbiome-taxonomy-assignment/SKILL.md +168 -0
- package/data/skills/bio-molecular-descriptors/SKILL.md +200 -0
- package/data/skills/bio-molecular-io/SKILL.md +188 -0
- package/data/skills/bio-motif-search/SKILL.md +354 -0
- package/data/skills/bio-multi-omics-data-harmonization/SKILL.md +228 -0
- package/data/skills/bio-multi-omics-mixomics-analysis/SKILL.md +221 -0
- package/data/skills/bio-multi-omics-mofa-integration/SKILL.md +225 -0
- package/data/skills/bio-multi-omics-similarity-network/SKILL.md +235 -0
- package/data/skills/bio-orchestrator/SKILL.md +133 -0
- package/data/skills/bio-paired-end-fastq/SKILL.md +334 -0
- package/data/skills/bio-pathway-enrichment-visualization/SKILL.md +278 -0
- package/data/skills/bio-pathway-go-enrichment/SKILL.md +218 -0
- package/data/skills/bio-pathway-gsea/SKILL.md +227 -0
- package/data/skills/bio-pathway-kegg-pathways/SKILL.md +234 -0
- package/data/skills/bio-pathway-reactome/SKILL.md +215 -0
- package/data/skills/bio-pathway-wikipathways/SKILL.md +255 -0
- package/data/skills/bio-pdb-geometric-analysis/SKILL.md +475 -0
- package/data/skills/bio-pdb-structure-io/SKILL.md +296 -0
- package/data/skills/bio-pdb-structure-modification/SKILL.md +448 -0
- package/data/skills/bio-pdb-structure-navigation/SKILL.md +335 -0
- package/data/skills/bio-phasing-imputation-genotype-imputation/SKILL.md +201 -0
- package/data/skills/bio-phasing-imputation-haplotype-phasing/SKILL.md +190 -0
- package/data/skills/bio-phasing-imputation-imputation-qc/SKILL.md +265 -0
- package/data/skills/bio-phasing-imputation-reference-panels/SKILL.md +203 -0
- package/data/skills/bio-phylo-distance-calculations/SKILL.md +307 -0
- package/data/skills/bio-phylo-modern-tree-inference/SKILL.md +274 -0
- package/data/skills/bio-phylo-tree-io/SKILL.md +252 -0
- package/data/skills/bio-phylo-tree-manipulation/SKILL.md +375 -0
- package/data/skills/bio-phylo-tree-visualization/SKILL.md +275 -0
- package/data/skills/bio-pileup-generation/SKILL.md +314 -0
- package/data/skills/bio-population-genetics-association-testing/SKILL.md +293 -0
- package/data/skills/bio-population-genetics-linkage-disequilibrium/SKILL.md +260 -0
- package/data/skills/bio-population-genetics-plink-basics/SKILL.md +338 -0
- package/data/skills/bio-population-genetics-population-structure/SKILL.md +352 -0
- package/data/skills/bio-population-genetics-scikit-allel-analysis/SKILL.md +306 -0
- package/data/skills/bio-population-genetics-selection-statistics/SKILL.md +251 -0
- package/data/skills/bio-primer-design-primer-basics/SKILL.md +289 -0
- package/data/skills/bio-primer-design-primer-validation/SKILL.md +344 -0
- package/data/skills/bio-primer-design-qpcr-primers/SKILL.md +273 -0
- package/data/skills/bio-proteomics-data-import/SKILL.md +122 -0
- package/data/skills/bio-proteomics-dia-analysis/SKILL.md +246 -0
- package/data/skills/bio-proteomics-differential-abundance/SKILL.md +129 -0
- package/data/skills/bio-proteomics-peptide-identification/SKILL.md +122 -0
- package/data/skills/bio-proteomics-protein-inference/SKILL.md +174 -0
- package/data/skills/bio-proteomics-proteomics-qc/SKILL.md +208 -0
- package/data/skills/bio-proteomics-ptm-analysis/SKILL.md +139 -0
- package/data/skills/bio-proteomics-quantification/SKILL.md +141 -0
- package/data/skills/bio-proteomics-spectral-libraries/SKILL.md +270 -0
- package/data/skills/bio-reaction-enumeration/SKILL.md +251 -0
- package/data/skills/bio-read-alignment-bowtie2-alignment/SKILL.md +189 -0
- package/data/skills/bio-read-alignment-bwa-alignment/SKILL.md +166 -0
- package/data/skills/bio-read-alignment-hisat2-alignment/SKILL.md +205 -0
- package/data/skills/bio-read-alignment-star-alignment/SKILL.md +204 -0
- package/data/skills/bio-read-qc-adapter-trimming/SKILL.md +222 -0
- package/data/skills/bio-read-qc-contamination-screening/SKILL.md +252 -0
- package/data/skills/bio-read-qc-fastp-workflow/SKILL.md +278 -0
- package/data/skills/bio-read-qc-quality-filtering/SKILL.md +231 -0
- package/data/skills/bio-read-qc-quality-reports/SKILL.md +204 -0
- package/data/skills/bio-read-qc-umi-processing/SKILL.md +391 -0
- package/data/skills/bio-read-sequences/SKILL.md +319 -0
- package/data/skills/bio-reference-operations/SKILL.md +302 -0
- package/data/skills/bio-reporting-automated-qc-reports/SKILL.md +103 -0
- package/data/skills/bio-reporting-figure-export/SKILL.md +112 -0
- package/data/skills/bio-reporting-jupyter-reports/SKILL.md +98 -0
- package/data/skills/bio-reporting-quarto-reports/SKILL.md +295 -0
- package/data/skills/bio-reporting-rmarkdown-reports/SKILL.md +276 -0
- package/data/skills/bio-research-tools-biomarker-signature-studio/SKILL.md +99 -0
- package/data/skills/bio-restriction-enzyme-selection/SKILL.md +342 -0
- package/data/skills/bio-restriction-fragment-analysis/SKILL.md +259 -0
- package/data/skills/bio-restriction-mapping/SKILL.md +239 -0
- package/data/skills/bio-restriction-sites/SKILL.md +222 -0
- package/data/skills/bio-reverse-complement/SKILL.md +250 -0
- package/data/skills/bio-ribo-seq-orf-detection/SKILL.md +303 -0
- package/data/skills/bio-ribo-seq-riboseq-preprocessing/SKILL.md +176 -0
- package/data/skills/bio-ribo-seq-ribosome-periodicity/SKILL.md +182 -0
- package/data/skills/bio-ribo-seq-ribosome-stalling/SKILL.md +217 -0
- package/data/skills/bio-ribo-seq-translation-efficiency/SKILL.md +183 -0
- package/data/skills/bio-rna-quantification-alignment-free-quant/SKILL.md +226 -0
- package/data/skills/bio-rna-quantification-count-matrix-qc/SKILL.md +310 -0
- package/data/skills/bio-rna-quantification-featurecounts-counting/SKILL.md +190 -0
- package/data/skills/bio-rna-quantification-tximport-workflow/SKILL.md +240 -0
- package/data/skills/bio-rnaseq-qc/SKILL.md +320 -0
- package/data/skills/bio-sam-bam-basics/SKILL.md +248 -0
- package/data/skills/bio-sashimi-plots/SKILL.md +175 -0
- package/data/skills/bio-seq-objects/SKILL.md +240 -0
- package/data/skills/bio-sequence-properties/SKILL.md +397 -0
- package/data/skills/bio-sequence-similarity/SKILL.md +335 -0
- package/data/skills/bio-sequence-slicing/SKILL.md +232 -0
- package/data/skills/bio-sequence-statistics/SKILL.md +318 -0
- package/data/skills/bio-similarity-searching/SKILL.md +200 -0
- package/data/skills/bio-single-cell-batch-integration/SKILL.md +317 -0
- package/data/skills/bio-single-cell-cell-annotation/SKILL.md +259 -0
- package/data/skills/bio-single-cell-cell-communication/SKILL.md +257 -0
- package/data/skills/bio-single-cell-clustering/SKILL.md +330 -0
- package/data/skills/bio-single-cell-data-io/SKILL.md +315 -0
- package/data/skills/bio-single-cell-doublet-detection/SKILL.md +362 -0
- package/data/skills/bio-single-cell-lineage-tracing/SKILL.md +319 -0
- package/data/skills/bio-single-cell-markers-annotation/SKILL.md +317 -0
- package/data/skills/bio-single-cell-metabolite-communication/SKILL.md +258 -0
- package/data/skills/bio-single-cell-multimodal-integration/SKILL.md +242 -0
- package/data/skills/bio-single-cell-perturb-seq/SKILL.md +258 -0
- package/data/skills/bio-single-cell-preprocessing/SKILL.md +338 -0
- package/data/skills/bio-single-cell-scatac-analysis/SKILL.md +326 -0
- package/data/skills/bio-single-cell-splicing/SKILL.md +199 -0
- package/data/skills/bio-single-cell-trajectory-inference/SKILL.md +225 -0
- package/data/skills/bio-small-rna-seq-differential-mirna/SKILL.md +194 -0
- package/data/skills/bio-small-rna-seq-mirdeep2-analysis/SKILL.md +180 -0
- package/data/skills/bio-small-rna-seq-mirge3-analysis/SKILL.md +178 -0
- package/data/skills/bio-small-rna-seq-smrna-preprocessing/SKILL.md +174 -0
- package/data/skills/bio-small-rna-seq-target-prediction/SKILL.md +202 -0
- package/data/skills/bio-spatial-transcriptomics-image-analysis/SKILL.md +283 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-communication/SKILL.md +299 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-data-io/SKILL.md +272 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-deconvolution/SKILL.md +314 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-domains/SKILL.md +254 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-multiomics/SKILL.md +181 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-neighbors/SKILL.md +198 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-preprocessing/SKILL.md +269 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-proteomics/SKILL.md +124 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-statistics/SKILL.md +237 -0
- package/data/skills/bio-spatial-transcriptomics-spatial-visualization/SKILL.md +287 -0
- package/data/skills/bio-splicing-pipeline/SKILL.md +253 -0
- package/data/skills/bio-splicing-qc/SKILL.md +190 -0
- package/data/skills/bio-splicing-quantification/SKILL.md +145 -0
- package/data/skills/bio-sra-data/SKILL.md +363 -0
- package/data/skills/bio-structural-biology-alphafold-predictions/SKILL.md +258 -0
- package/data/skills/bio-structural-biology-modern-structure-prediction/SKILL.md +346 -0
- package/data/skills/bio-substructure-search/SKILL.md +206 -0
- package/data/skills/bio-systems-biology-context-specific-models/SKILL.md +241 -0
- package/data/skills/bio-systems-biology-flux-balance-analysis/SKILL.md +206 -0
- package/data/skills/bio-systems-biology-gene-essentiality/SKILL.md +235 -0
- package/data/skills/bio-systems-biology-metabolic-reconstruction/SKILL.md +215 -0
- package/data/skills/bio-systems-biology-model-curation/SKILL.md +243 -0
- package/data/skills/bio-tcr-bcr-analysis-immcantation-analysis/SKILL.md +195 -0
- package/data/skills/bio-tcr-bcr-analysis-mixcr-analysis/SKILL.md +167 -0
- package/data/skills/bio-tcr-bcr-analysis-repertoire-visualization/SKILL.md +224 -0
- package/data/skills/bio-tcr-bcr-analysis-scirpy-analysis/SKILL.md +168 -0
- package/data/skills/bio-tcr-bcr-analysis-vdjtools-analysis/SKILL.md +188 -0
- package/data/skills/bio-transcription-translation/SKILL.md +237 -0
- package/data/skills/bio-tumor-fraction-estimation/SKILL.md +211 -0
- package/data/skills/bio-uniprot-access/SKILL.md +239 -0
- package/data/skills/bio-variant-annotation/SKILL.md +410 -0
- package/data/skills/bio-variant-calling/SKILL.md +266 -0
- package/data/skills/bio-variant-calling-clinical-interpretation/SKILL.md +355 -0
- package/data/skills/bio-variant-calling-deepvariant/SKILL.md +315 -0
- package/data/skills/bio-variant-calling-filtering-best-practices/SKILL.md +403 -0
- package/data/skills/bio-variant-calling-joint-calling/SKILL.md +338 -0
- package/data/skills/bio-variant-calling-structural-variant-calling/SKILL.md +253 -0
- package/data/skills/bio-variant-normalization/SKILL.md +325 -0
- package/data/skills/bio-vcf-basics/SKILL.md +342 -0
- package/data/skills/bio-vcf-manipulation/SKILL.md +429 -0
- package/data/skills/bio-vcf-statistics/SKILL.md +445 -0
- package/data/skills/bio-virtual-screening/SKILL.md +263 -0
- package/data/skills/bio-workflow-management-cwl-workflows/SKILL.md +433 -0
- package/data/skills/bio-workflow-management-nextflow-pipelines/SKILL.md +386 -0
- package/data/skills/bio-workflow-management-snakemake-workflows/SKILL.md +383 -0
- package/data/skills/bio-workflow-management-wdl-workflows/SKILL.md +500 -0
- package/data/skills/bio-workflows-atacseq-pipeline/SKILL.md +362 -0
- package/data/skills/bio-workflows-biomarker-pipeline/SKILL.md +272 -0
- package/data/skills/bio-workflows-chipseq-pipeline/SKILL.md +282 -0
- package/data/skills/bio-workflows-clip-pipeline/SKILL.md +268 -0
- package/data/skills/bio-workflows-cnv-pipeline/SKILL.md +324 -0
- package/data/skills/bio-workflows-crispr-editing-pipeline/SKILL.md +455 -0
- package/data/skills/bio-workflows-crispr-screen-pipeline/SKILL.md +278 -0
- package/data/skills/bio-workflows-cytometry-pipeline/SKILL.md +328 -0
- package/data/skills/bio-workflows-expression-to-pathways/SKILL.md +329 -0
- package/data/skills/bio-workflows-fastq-to-variants/SKILL.md +374 -0
- package/data/skills/bio-workflows-genome-assembly-pipeline/SKILL.md +290 -0
- package/data/skills/bio-workflows-gwas-pipeline/SKILL.md +323 -0
- package/data/skills/bio-workflows-hic-pipeline/SKILL.md +304 -0
- package/data/skills/bio-workflows-imc-pipeline/SKILL.md +304 -0
- package/data/skills/bio-workflows-longread-sv-pipeline/SKILL.md +281 -0
- package/data/skills/bio-workflows-merip-pipeline/SKILL.md +222 -0
- package/data/skills/bio-workflows-metabolic-modeling-pipeline/SKILL.md +408 -0
- package/data/skills/bio-workflows-metabolomics-pipeline/SKILL.md +297 -0
- package/data/skills/bio-workflows-metagenomics-pipeline/SKILL.md +283 -0
- package/data/skills/bio-workflows-methylation-pipeline/SKILL.md +274 -0
- package/data/skills/bio-workflows-microbiome-pipeline/SKILL.md +221 -0
- package/data/skills/bio-workflows-multi-omics-pipeline/SKILL.md +362 -0
- package/data/skills/bio-workflows-multiome-pipeline/SKILL.md +298 -0
- package/data/skills/bio-workflows-neoantigen-pipeline/SKILL.md +325 -0
- package/data/skills/bio-workflows-outbreak-pipeline/SKILL.md +341 -0
- package/data/skills/bio-workflows-proteomics-pipeline/SKILL.md +226 -0
- package/data/skills/bio-workflows-riboseq-pipeline/SKILL.md +94 -0
- package/data/skills/bio-workflows-rnaseq-to-de/SKILL.md +345 -0
- package/data/skills/bio-workflows-scrnaseq-pipeline/SKILL.md +354 -0
- package/data/skills/bio-workflows-smrna-pipeline/SKILL.md +86 -0
- package/data/skills/bio-workflows-somatic-variant-pipeline/SKILL.md +313 -0
- package/data/skills/bio-workflows-spatial-pipeline/SKILL.md +267 -0
- package/data/skills/bio-workflows-tcr-pipeline/SKILL.md +84 -0
- package/data/skills/bio-write-sequences/SKILL.md +205 -0
- package/data/skills/bioinformatics-singlecell/SKILL.md +143 -0
- package/data/skills/biokernel/SKILL.md +61 -0
- package/data/skills/biologist-analyst/SKILL.md +799 -0
- package/data/skills/biomaster-workflows/SKILL.md +55 -0
- package/data/skills/biomcp-server/SKILL.md +65 -0
- package/data/skills/biomedical-data-analysis/SKILL.md +56 -0
- package/data/skills/biomedical-search/SKILL.md +214 -0
- package/data/skills/biomni/SKILL.md +309 -0
- package/data/skills/biomni-general-agent/SKILL.md +43 -0
- package/data/skills/biomni-research-agent/SKILL.md +76 -0
- package/data/skills/biopython/SKILL.md +437 -0
- package/data/skills/biorxiv-database/SKILL.md +477 -0
- package/data/skills/bioservices/SKILL.md +355 -0
- package/data/skills/boltz/SKILL.md +188 -0
- package/data/skills/boltzgen/SKILL.md +287 -0
- package/data/skills/bone-marrow-ai-agent/SKILL.md +163 -0
- package/data/skills/brainstorming/SKILL.md +96 -0
- package/data/skills/brenda-database/SKILL.md +714 -0
- package/data/skills/bulk-combat-correction/SKILL.md +54 -0
- package/data/skills/bulk-deg-analysis/SKILL.md +61 -0
- package/data/skills/bulk-deseq2-analysis/SKILL.md +50 -0
- package/data/skills/bulk-stringdb-ppi/SKILL.md +49 -0
- package/data/skills/bulk-to-single-deconvolution/SKILL.md +50 -0
- package/data/skills/bulk-trajblend-interpolation/SKILL.md +52 -0
- package/data/skills/bulk-wgcna-analysis/SKILL.md +56 -0
- package/data/skills/cancer-metabolism-agent/SKILL.md +180 -0
- package/data/skills/care-coordination/SKILL.md +35 -0
- package/data/skills/cart-design-optimizer-agent/SKILL.md +162 -0
- package/data/skills/cbioportal-database/SKILL.md +367 -0
- package/data/skills/cell-free-expression/SKILL.md +291 -0
- package/data/skills/cellagent-annotation/SKILL.md +69 -0
- package/data/skills/cellfree-rna-agent/SKILL.md +182 -0
- package/data/skills/cellular-senescence-agent/SKILL.md +183 -0
- package/data/skills/cellxgene-census/SKILL.md +505 -0
- package/data/skills/chai/SKILL.md +272 -0
- package/data/skills/chatehr-clinician-assistant/SKILL.md +67 -0
- package/data/skills/chematagent-drug-discovery/SKILL.md +68 -0
- package/data/skills/chembl-database/SKILL.md +383 -0
- package/data/skills/chembl-search/SKILL.md +211 -0
- package/data/skills/chemcrow-drug-discovery/SKILL.md +61 -0
- package/data/skills/chemical-property-lookup/SKILL.md +42 -0
- package/data/skills/chemist-analyst/SKILL.md +1603 -0
- package/data/skills/chemistry-agent/SKILL.md +62 -0
- package/data/skills/chip-clonal-hematopoiesis-agent/SKILL.md +224 -0
- package/data/skills/chromosomal-instability-agent/SKILL.md +187 -0
- package/data/skills/citation-management/SKILL.md +1081 -0
- package/data/skills/claims-appeals/SKILL.md +35 -0
- package/data/skills/claw-ancestry-pca/SKILL.md +145 -0
- package/data/skills/claw-metagenomics/SKILL.md +238 -0
- package/data/skills/claw-semantic-sim/SKILL.md +151 -0
- package/data/skills/clinical-decision-support/SKILL.md +504 -0
- package/data/skills/clinical-diagnostic-reasoning/SKILL.md +222 -0
- package/data/skills/clinical-nlp-extractor/SKILL.md +59 -0
- package/data/skills/clinical-note-summarization/SKILL.md +52 -0
- package/data/skills/clinical-reports/SKILL.md +1127 -0
- package/data/skills/clinical-trial-protocol-skill/SKILL.md +508 -0
- package/data/skills/clinical-trials-search/SKILL.md +211 -0
- package/data/skills/clinicaltrials-database/SKILL.md +501 -0
- package/data/skills/clinpgx/SKILL.md +96 -0
- package/data/skills/clinpgx-database/SKILL.md +632 -0
- package/data/skills/clinvar-database/SKILL.md +356 -0
- package/data/skills/cnv-caller-agent/SKILL.md +171 -0
- package/data/skills/coagulation-thrombosis-agent/SKILL.md +141 -0
- package/data/skills/cobrapy/SKILL.md +457 -0
- package/data/skills/compbioagent-explorer/SKILL.md +67 -0
- package/data/skills/computational-pathology-agent/SKILL.md +72 -0
- package/data/skills/convergence-study/SKILL.md +98 -0
- package/data/skills/cosmic-database/SKILL.md +330 -0
- package/data/skills/crisis-detection-intervention-ai/SKILL.md +569 -0
- package/data/skills/crisis-response-protocol/SKILL.md +456 -0
- package/data/skills/crispr-guide-design/SKILL.md +72 -0
- package/data/skills/crispr-offtarget-predictor/SKILL.md +56 -0
- package/data/skills/cryoem-ai-drug-design-agent/SKILL.md +216 -0
- package/data/skills/ctdna-dynamics-mrd-agent/SKILL.md +206 -0
- package/data/skills/cytokine-storm-analysis-agent/SKILL.md +180 -0
- package/data/skills/dask/SKILL.md +454 -0
- package/data/skills/data-stats-analysis/SKILL.md +477 -0
- package/data/skills/data-transform/SKILL.md +576 -0
- package/data/skills/data-visualization-biomedical/SKILL.md +252 -0
- package/data/skills/data-visualization-expert/SKILL.md +72 -0
- package/data/skills/data-viz-plots/SKILL.md +461 -0
- package/data/skills/datacommons-client/SKILL.md +253 -0
- package/data/skills/datamol/SKILL.md +700 -0
- package/data/skills/deep-research/SKILL.md +111 -0
- package/data/skills/deep-research-swarm/SKILL.md +62 -0
- package/data/skills/deep-visual-proteomics-agent/SKILL.md +149 -0
- package/data/skills/deepchem/SKILL.md +591 -0
- package/data/skills/deeptools/SKILL.md +525 -0
- package/data/skills/depmap/SKILL.md +300 -0
- package/data/skills/diffdock/SKILL.md +477 -0
- package/data/skills/differentiation-schemes/SKILL.md +159 -0
- package/data/skills/digital-twin-clinical-agent/SKILL.md +228 -0
- package/data/skills/dispatching-parallel-agents/SKILL.md +180 -0
- package/data/skills/dnanexus-integration/SKILL.md +376 -0
- package/data/skills/doc-coauthoring/SKILL.md +375 -0
- package/data/skills/docx/SKILL.md +590 -0
- package/data/skills/docx-official/SKILL.md +197 -0
- package/data/skills/drug-discovery-search/SKILL.md +214 -0
- package/data/skills/drug-interaction-checker/SKILL.md +56 -0
- package/data/skills/drug-labels-search/SKILL.md +211 -0
- package/data/skills/drug-photo/SKILL.md +149 -0
- package/data/skills/drugbank-database/SKILL.md +184 -0
- package/data/skills/drugbank-search/SKILL.md +211 -0
- package/data/skills/ehr-fhir-integration/SKILL.md +60 -0
- package/data/skills/emergency-card/SKILL.md +426 -0
- package/data/skills/ena-database/SKILL.md +198 -0
- package/data/skills/ensembl-database/SKILL.md +305 -0
- package/data/skills/epidemiologist-analyst/SKILL.md +1844 -0
- package/data/skills/epigenomics-methylgpt-agent/SKILL.md +111 -0
- package/data/skills/equity-scorer/SKILL.md +182 -0
- package/data/skills/esm/SKILL.md +300 -0
- package/data/skills/etetoolkit/SKILL.md +617 -0
- package/data/skills/executing-plans/SKILL.md +84 -0
- package/data/skills/exosome-ev-analysis-agent/SKILL.md +171 -0
- package/data/skills/exploratory-data-analysis/SKILL.md +440 -0
- package/data/skills/family-health-analyzer/SKILL.md +137 -0
- package/data/skills/fastq-analysis/SKILL.md +191 -0
- package/data/skills/fda-database/SKILL.md +512 -0
- package/data/skills/fhir-developer-skill/SKILL.md +294 -0
- package/data/skills/fhir-development/SKILL.md +35 -0
- package/data/skills/find-skills/SKILL.md +133 -0
- package/data/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/data/skills/fitness-analyzer/SKILL.md +431 -0
- package/data/skills/flowio/SKILL.md +602 -0
- package/data/skills/foldseek/SKILL.md +179 -0
- package/data/skills/galaxy-bridge/SKILL.md +215 -0
- package/data/skills/gene-database/SKILL.md +173 -0
- package/data/skills/gene-panel-design-agent/SKILL.md +192 -0
- package/data/skills/geniml/SKILL.md +312 -0
- package/data/skills/genome-compare/SKILL.md +127 -0
- package/data/skills/geo-database/SKILL.md +809 -0
- package/data/skills/geopandas/SKILL.md +245 -0
- package/data/skills/gget/SKILL.md +865 -0
- package/data/skills/ginkgo-cloud-lab/SKILL.md +56 -0
- package/data/skills/glycoengineering/SKILL.md +338 -0
- package/data/skills/gnomad-database/SKILL.md +395 -0
- package/data/skills/goal-analyzer/SKILL.md +605 -0
- package/data/skills/grief-companion/SKILL.md +250 -0
- package/data/skills/gsea-enrichment/SKILL.md +151 -0
- package/data/skills/gtars/SKILL.md +279 -0
- package/data/skills/gtex-database/SKILL.md +315 -0
- package/data/skills/gwas-database/SKILL.md +602 -0
- package/data/skills/gwas-lookup/SKILL.md +122 -0
- package/data/skills/gwas-prs/SKILL.md +178 -0
- package/data/skills/health-trend-analyzer/SKILL.md +451 -0
- package/data/skills/hemoglobinopathy-analysis-agent/SKILL.md +167 -0
- package/data/skills/hipaa-compliance/SKILL.md +230 -0
- package/data/skills/histolab/SKILL.md +672 -0
- package/data/skills/hmdb-database/SKILL.md +190 -0
- package/data/skills/hrd-analysis-agent/SKILL.md +184 -0
- package/data/skills/hrv-alexithymia-expert/SKILL.md +151 -0
- package/data/skills/hypogenic/SKILL.md +649 -0
- package/data/skills/hypothesis-generation/SKILL.md +286 -0
- package/data/skills/imaging-data-commons/SKILL.md +843 -0
- package/data/skills/immune-checkpoint-combination-agent/SKILL.md +170 -0
- package/data/skills/infographics/SKILL.md +563 -0
- package/data/skills/instrument-data-to-allotrope/SKILL.md +280 -0
- package/data/skills/interpro-database/SKILL.md +305 -0
- package/data/skills/ipsae/SKILL.md +190 -0
- package/data/skills/iso-13485-certification/SKILL.md +678 -0
- package/data/skills/jaspar-database/SKILL.md +351 -0
- package/data/skills/jungian-psychologist/SKILL.md +191 -0
- package/data/skills/kegg-database/SKILL.md +371 -0
- package/data/skills/knowledge-synthesis/SKILL.md +283 -0
- package/data/skills/kragen-knowledge-graph/SKILL.md +68 -0
- package/data/skills/lab-results/SKILL.md +35 -0
- package/data/skills/labarchive-integration/SKILL.md +262 -0
- package/data/skills/labstep/SKILL.md +208 -0
- package/data/skills/lamindb/SKILL.md +384 -0
- package/data/skills/latchbio-integration/SKILL.md +347 -0
- package/data/skills/latex-posters/SKILL.md +1602 -0
- package/data/skills/leads-literature-mining/SKILL.md +68 -0
- package/data/skills/ligandmpnn/SKILL.md +170 -0
- package/data/skills/linear-solvers/SKILL.md +165 -0
- package/data/skills/liquid-biopsy-analytics-agent/SKILL.md +171 -0
- package/data/skills/lit-synthesizer/SKILL.md +53 -0
- package/data/skills/literature-review/SKILL.md +584 -0
- package/data/skills/literature-search/SKILL.md +214 -0
- package/data/skills/lobster-bioinformatics/SKILL.md +305 -0
- package/data/skills/long-read-sequencing-agent/SKILL.md +181 -0
- package/data/skills/mage-antibody-generator/SKILL.md +54 -0
- package/data/skills/markdown-mermaid-writing/SKILL.md +327 -0
- package/data/skills/markitdown/SKILL.md +486 -0
- package/data/skills/matchms/SKILL.md +197 -0
- package/data/skills/matplotlib/SKILL.md +359 -0
- package/data/skills/mcpmed-bioinformatics-server/SKILL.md +42 -0
- package/data/skills/medchem/SKILL.md +400 -0
- package/data/skills/medea-therapeutic-discovery/SKILL.md +45 -0
- package/data/skills/medical-entity-extractor/SKILL.md +144 -0
- package/data/skills/medical-imaging-review/SKILL.md +170 -0
- package/data/skills/medical-research-toolkit/SKILL.md +273 -0
- package/data/skills/medrxiv-search/SKILL.md +211 -0
- package/data/skills/mental-health-analyzer/SKILL.md +981 -0
- package/data/skills/mesh-generation/SKILL.md +149 -0
- package/data/skills/metabolomics-workbench-database/SKILL.md +253 -0
- package/data/skills/microbiome-cancer-agent/SKILL.md +180 -0
- package/data/skills/modern-drug-rehab-computer/SKILL.md +392 -0
- package/data/skills/molecular-dynamics/SKILL.md +457 -0
- package/data/skills/molecular-glue-discovery-agent/SKILL.md +224 -0
- package/data/skills/molecule-evolution-agent/SKILL.md +62 -0
- package/data/skills/molfeat/SKILL.md +505 -0
- package/data/skills/monarch-database/SKILL.md +372 -0
- package/data/skills/mpn-progression-monitor-agent/SKILL.md +228 -0
- package/data/skills/mpn-research-assistant/SKILL.md +197 -0
- package/data/skills/mrd-edge-detection-agent/SKILL.md +213 -0
- package/data/skills/multi-ancestry-prs-agent/SKILL.md +224 -0
- package/data/skills/multi-search-engine/SKILL.md +110 -0
- package/data/skills/multimodal-medical-imaging/SKILL.md +59 -0
- package/data/skills/multimodal-radpath-fusion-agent/SKILL.md +213 -0
- package/data/skills/myeloma-mrd-agent/SKILL.md +184 -0
- package/data/skills/networkx/SKILL.md +435 -0
- package/data/skills/neurokit2/SKILL.md +350 -0
- package/data/skills/neuropixels-analysis/SKILL.md +344 -0
- package/data/skills/nextflow-development/SKILL.md +290 -0
- package/data/skills/ngs-analysis/SKILL.md +183 -0
- package/data/skills/nicheformer-spatial-agent/SKILL.md +197 -0
- package/data/skills/nk-cell-therapy-agent/SKILL.md +186 -0
- package/data/skills/nonlinear-solvers/SKILL.md +180 -0
- package/data/skills/numerical-integration/SKILL.md +166 -0
- package/data/skills/numerical-stability/SKILL.md +149 -0
- package/data/skills/nutrition-analyzer/SKILL.md +775 -0
- package/data/skills/occupational-health-analyzer/SKILL.md +386 -0
- package/data/skills/omero-integration/SKILL.md +245 -0
- package/data/skills/ontology-explorer/SKILL.md +168 -0
- package/data/skills/ontology-mapper/SKILL.md +171 -0
- package/data/skills/ontology-validator/SKILL.md +136 -0
- package/data/skills/open-notebook/SKILL.md +289 -0
- package/data/skills/open-targets-search/SKILL.md +211 -0
- package/data/skills/openalex-database/SKILL.md +488 -0
- package/data/skills/opentargets-database/SKILL.md +367 -0
- package/data/skills/opentrons-integration/SKILL.md +567 -0
- package/data/skills/opentrons-protocol-agent/SKILL.md +58 -0
- package/data/skills/organoid-drug-response-agent/SKILL.md +189 -0
- package/data/skills/pan-cancer-multiomics-agent/SKILL.md +159 -0
- package/data/skills/paper-2-web/SKILL.md +495 -0
- package/data/skills/parameter-optimization/SKILL.md +141 -0
- package/data/skills/patents-search/SKILL.md +211 -0
- package/data/skills/pathml/SKILL.md +160 -0
- package/data/skills/patiently-ai/SKILL.md +103 -0
- package/data/skills/pdb/SKILL.md +217 -0
- package/data/skills/pdb-database/SKILL.md +303 -0
- package/data/skills/pdf/SKILL.md +314 -0
- package/data/skills/pdf-anthropic/SKILL.md +294 -0
- package/data/skills/pdf-processing/SKILL.md +149 -0
- package/data/skills/pdf-processing-pro/SKILL.md +296 -0
- package/data/skills/pdx-model-analysis-agent/SKILL.md +169 -0
- package/data/skills/peer-review/SKILL.md +565 -0
- package/data/skills/performance-profiling/SKILL.md +255 -0
- package/data/skills/perplexity-search/SKILL.md +441 -0
- package/data/skills/pharmacogenomics-agent/SKILL.md +143 -0
- package/data/skills/pharmgx-reporter/SKILL.md +134 -0
- package/data/skills/phylogenetics/SKILL.md +404 -0
- package/data/skills/plotly/SKILL.md +265 -0
- package/data/skills/polars/SKILL.md +385 -0
- package/data/skills/popeve-variant-predictor-agent/SKILL.md +213 -0
- package/data/skills/post-processing/SKILL.md +338 -0
- package/data/skills/pptx/SKILL.md +232 -0
- package/data/skills/pptx-official/SKILL.md +484 -0
- package/data/skills/pptx-posters/SKILL.md +414 -0
- package/data/skills/precision-oncology-agent/SKILL.md +53 -0
- package/data/skills/prior-auth-coworker/SKILL.md +60 -0
- package/data/skills/prior-auth-review-skill/SKILL.md +360 -0
- package/data/skills/profile-report/SKILL.md +120 -0
- package/data/skills/protac-design-agent/SKILL.md +220 -0
- package/data/skills/protein-design-workflow/SKILL.md +199 -0
- package/data/skills/protein-qc/SKILL.md +300 -0
- package/data/skills/protein-structure-prediction/SKILL.md +59 -0
- package/data/skills/proteinmpnn/SKILL.md +279 -0
- package/data/skills/protocolsio-integration/SKILL.md +415 -0
- package/data/skills/prs-net-deep-learning-agent/SKILL.md +232 -0
- package/data/skills/psychologist-analyst/SKILL.md +1888 -0
- package/data/skills/pubchem-database/SKILL.md +568 -0
- package/data/skills/pubmed-database/SKILL.md +454 -0
- package/data/skills/pubmed-search/SKILL.md +103 -0
- package/data/skills/pydeseq2/SKILL.md +553 -0
- package/data/skills/pydicom/SKILL.md +428 -0
- package/data/skills/pyhealth/SKILL.md +485 -0
- package/data/skills/pylabrobot/SKILL.md +179 -0
- package/data/skills/pymc/SKILL.md +566 -0
- package/data/skills/pymoo/SKILL.md +565 -0
- package/data/skills/pyopenms/SKILL.md +211 -0
- package/data/skills/pysam/SKILL.md +259 -0
- package/data/skills/pytdc/SKILL.md +454 -0
- package/data/skills/pytorch-lightning/SKILL.md +172 -0
- package/data/skills/pyzotero/SKILL.md +111 -0
- package/data/skills/radgpt-radiology-reporter/SKILL.md +67 -0
- package/data/skills/radiomics-pathomics-fusion-agent/SKILL.md +221 -0
- package/data/skills/rdkit/SKILL.md +763 -0
- package/data/skills/reactome-database/SKILL.md +272 -0
- package/data/skills/receiving-code-review/SKILL.md +213 -0
- package/data/skills/recovery-community-moderator/SKILL.md +175 -0
- package/data/skills/regulatory-drafter/SKILL.md +56 -0
- package/data/skills/regulatory-drafting/SKILL.md +35 -0
- package/data/skills/rehabilitation-analyzer/SKILL.md +636 -0
- package/data/skills/repro-enforcer/SKILL.md +50 -0
- package/data/skills/requesting-code-review/SKILL.md +105 -0
- package/data/skills/research-grants/SKILL.md +935 -0
- package/data/skills/research-literature/SKILL.md +35 -0
- package/data/skills/research-lookup/SKILL.md +502 -0
- package/data/skills/rfdiffusion/SKILL.md +306 -0
- package/data/skills/rna-velocity-agent/SKILL.md +174 -0
- package/data/skills/scanpy/SKILL.md +380 -0
- package/data/skills/scfoundation-model-agent/SKILL.md +210 -0
- package/data/skills/scientific-brainstorming/SKILL.md +185 -0
- package/data/skills/scientific-critical-thinking/SKILL.md +566 -0
- package/data/skills/scientific-manuscript/SKILL.md +181 -0
- package/data/skills/scientific-problem-selection/SKILL.md +269 -0
- package/data/skills/scientific-schematics/SKILL.md +619 -0
- package/data/skills/scientific-slides/SKILL.md +1154 -0
- package/data/skills/scientific-visualization/SKILL.md +773 -0
- package/data/skills/scientific-writing/SKILL.md +483 -0
- package/data/skills/scikit-bio/SKILL.md +431 -0
- package/data/skills/scikit-learn/SKILL.md +515 -0
- package/data/skills/scikit-survival/SKILL.md +393 -0
- package/data/skills/scrna-orchestrator/SKILL.md +204 -0
- package/data/skills/scrna-qc/SKILL.md +43 -0
- package/data/skills/scvelo/SKILL.md +321 -0
- package/data/skills/scvi-tools/SKILL.md +184 -0
- package/data/skills/seaborn/SKILL.md +671 -0
- package/data/skills/search-strategy/SKILL.md +247 -0
- package/data/skills/seq-wrangler/SKILL.md +58 -0
- package/data/skills/shap/SKILL.md +560 -0
- package/data/skills/simo-multiomics-integration-agent/SKILL.md +178 -0
- package/data/skills/simpy/SKILL.md +423 -0
- package/data/skills/simulation-orchestrator/SKILL.md +230 -0
- package/data/skills/simulation-validator/SKILL.md +195 -0
- package/data/skills/single-annotation/SKILL.md +129 -0
- package/data/skills/single-cell-rna-qc/SKILL.md +175 -0
- package/data/skills/single-cellphone-db/SKILL.md +68 -0
- package/data/skills/single-clustering/SKILL.md +75 -0
- package/data/skills/single-downstream-analysis/SKILL.md +150 -0
- package/data/skills/single-multiomics/SKILL.md +44 -0
- package/data/skills/single-preprocessing/SKILL.md +184 -0
- package/data/skills/single-to-spatial-mapping/SKILL.md +48 -0
- package/data/skills/single-trajectory/SKILL.md +62 -0
- package/data/skills/sleep-analyzer/SKILL.md +773 -0
- package/data/skills/slurm-job-script-generator/SKILL.md +135 -0
- package/data/skills/solublempnn/SKILL.md +165 -0
- package/data/skills/spatial-agent/SKILL.md +56 -0
- package/data/skills/spatial-epigenomics-agent/SKILL.md +163 -0
- package/data/skills/spatial-transcriptomics-agent/SKILL.md +75 -0
- package/data/skills/spatial-transcriptomics-analysis/SKILL.md +72 -0
- package/data/skills/spatial-transcriptomics-analysis/STAgent/SKILL.md +75 -0
- package/data/skills/spatial-transcriptomics-analysis/SpatialAgent/SKILL.md +56 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/image-analysis/SKILL.md +266 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-communication/SKILL.md +287 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-data-io/SKILL.md +243 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-deconvolution/SKILL.md +298 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-domains/SKILL.md +229 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-multiomics/SKILL.md +172 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-neighbors/SKILL.md +189 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-preprocessing/SKILL.md +232 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-proteomics/SKILL.md +127 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-statistics/SKILL.md +225 -0
- package/data/skills/spatial-transcriptomics-analysis/bioSkills/spatial-visualization/SKILL.md +270 -0
- package/data/skills/spatial-tutorials/SKILL.md +87 -0
- package/data/skills/speech-pathology-ai/SKILL.md +184 -0
- package/data/skills/statistical-analysis/SKILL.md +626 -0
- package/data/skills/statsmodels/SKILL.md +608 -0
- package/data/skills/string-database/SKILL.md +528 -0
- package/data/skills/struct-predictor/SKILL.md +52 -0
- package/data/skills/subagent-driven-development/SKILL.md +242 -0
- package/data/skills/systematic-debugging/SKILL.md +296 -0
- package/data/skills/tcell-exhaustion-analysis-agent/SKILL.md +139 -0
- package/data/skills/tcga-preprocessing/SKILL.md +49 -0
- package/data/skills/tcm-constitution-analyzer/SKILL.md +664 -0
- package/data/skills/tcr-pmhc-prediction-agent/SKILL.md +226 -0
- package/data/skills/tcr-repertoire-analysis-agent/SKILL.md +218 -0
- package/data/skills/test-driven-development/SKILL.md +371 -0
- package/data/skills/tiledbvcf/SKILL.md +459 -0
- package/data/skills/time-resolved-cryoem-agent/SKILL.md +223 -0
- package/data/skills/time-stepping/SKILL.md +140 -0
- package/data/skills/timesfm-forecasting/SKILL.md +785 -0
- package/data/skills/tme-immune-profiling-agent/SKILL.md +220 -0
- package/data/skills/tooluniverse-adverse-event-detection/SKILL.md +1115 -0
- package/data/skills/tooluniverse-antibody-engineering/SKILL.md +1581 -0
- package/data/skills/tooluniverse-binder-discovery/SKILL.md +1459 -0
- package/data/skills/tooluniverse-cancer-variant-interpretation/SKILL.md +971 -0
- package/data/skills/tooluniverse-chemical-compound-retrieval/SKILL.md +322 -0
- package/data/skills/tooluniverse-chemical-safety/SKILL.md +733 -0
- package/data/skills/tooluniverse-clinical-guidelines/SKILL.md +399 -0
- package/data/skills/tooluniverse-clinical-trial-design/SKILL.md +1195 -0
- package/data/skills/tooluniverse-clinical-trial-matching/SKILL.md +1333 -0
- package/data/skills/tooluniverse-crispr-screen-analysis/SKILL.md +900 -0
- package/data/skills/tooluniverse-disease-research/SKILL.md +630 -0
- package/data/skills/tooluniverse-drug-drug-interaction/SKILL.md +73 -0
- package/data/skills/tooluniverse-drug-repurposing/SKILL.md +595 -0
- package/data/skills/tooluniverse-drug-research/SKILL.md +1642 -0
- package/data/skills/tooluniverse-drug-target-validation/SKILL.md +1206 -0
- package/data/skills/tooluniverse-epigenomics/SKILL.md +1489 -0
- package/data/skills/tooluniverse-expression-data-retrieval/SKILL.md +389 -0
- package/data/skills/tooluniverse-gene-enrichment/SKILL.md +402 -0
- package/data/skills/tooluniverse-gwas-drug-discovery/SKILL.md +576 -0
- package/data/skills/tooluniverse-gwas-finemapping/SKILL.md +309 -0
- package/data/skills/tooluniverse-gwas-snp-interpretation/SKILL.md +223 -0
- package/data/skills/tooluniverse-gwas-study-explorer/SKILL.md +342 -0
- package/data/skills/tooluniverse-gwas-trait-to-gene/SKILL.md +236 -0
- package/data/skills/tooluniverse-image-analysis/SKILL.md +439 -0
- package/data/skills/tooluniverse-immune-repertoire-analysis/SKILL.md +949 -0
- package/data/skills/tooluniverse-immunotherapy-response-prediction/SKILL.md +865 -0
- package/data/skills/tooluniverse-infectious-disease/SKILL.md +749 -0
- package/data/skills/tooluniverse-literature-deep-research/SKILL.md +1050 -0
- package/data/skills/tooluniverse-metabolomics/SKILL.md +298 -0
- package/data/skills/tooluniverse-metabolomics-analysis/SKILL.md +764 -0
- package/data/skills/tooluniverse-multi-omics-integration/SKILL.md +703 -0
- package/data/skills/tooluniverse-multiomic-disease-characterization/SKILL.md +1138 -0
- package/data/skills/tooluniverse-network-pharmacology/SKILL.md +1312 -0
- package/data/skills/tooluniverse-pharmacovigilance/SKILL.md +807 -0
- package/data/skills/tooluniverse-phylogenetics/SKILL.md +461 -0
- package/data/skills/tooluniverse-polygenic-risk-score/SKILL.md +397 -0
- package/data/skills/tooluniverse-precision-medicine-stratification/SKILL.md +1143 -0
- package/data/skills/tooluniverse-precision-oncology/SKILL.md +1091 -0
- package/data/skills/tooluniverse-protein-interactions/SKILL.md +446 -0
- package/data/skills/tooluniverse-protein-structure-retrieval/SKILL.md +416 -0
- package/data/skills/tooluniverse-protein-therapeutic-design/SKILL.md +637 -0
- package/data/skills/tooluniverse-proteomics-analysis/SKILL.md +843 -0
- package/data/skills/tooluniverse-rare-disease-diagnosis/SKILL.md +1257 -0
- package/data/skills/tooluniverse-rnaseq-deseq2/SKILL.md +536 -0
- package/data/skills/tooluniverse-sequence-retrieval/SKILL.md +419 -0
- package/data/skills/tooluniverse-single-cell/SKILL.md +719 -0
- package/data/skills/tooluniverse-spatial-omics-analysis/SKILL.md +1102 -0
- package/data/skills/tooluniverse-spatial-transcriptomics/SKILL.md +788 -0
- package/data/skills/tooluniverse-statistical-modeling/SKILL.md +557 -0
- package/data/skills/tooluniverse-structural-variant-analysis/SKILL.md +1356 -0
- package/data/skills/tooluniverse-systems-biology/SKILL.md +374 -0
- package/data/skills/tooluniverse-target-research/SKILL.md +1510 -0
- package/data/skills/tooluniverse-variant-analysis/SKILL.md +448 -0
- package/data/skills/tooluniverse-variant-interpretation/SKILL.md +1118 -0
- package/data/skills/torch-geometric/SKILL.md +674 -0
- package/data/skills/torch_geometric/SKILL.md +670 -0
- package/data/skills/torchdrug/SKILL.md +444 -0
- package/data/skills/tpd-ternary-complex-agent/SKILL.md +226 -0
- package/data/skills/transformers/SKILL.md +157 -0
- package/data/skills/travel-health-analyzer/SKILL.md +421 -0
- package/data/skills/treatment-plans/SKILL.md +1576 -0
- package/data/skills/trial-eligibility-agent/SKILL.md +54 -0
- package/data/skills/trialgpt-matching/SKILL.md +66 -0
- package/data/skills/tumor-clonal-evolution-agent/SKILL.md +134 -0
- package/data/skills/tumor-heterogeneity-agent/SKILL.md +216 -0
- package/data/skills/tumor-mutational-burden-agent/SKILL.md +188 -0
- package/data/skills/ukb-navigator/SKILL.md +113 -0
- package/data/skills/umap-learn/SKILL.md +473 -0
- package/data/skills/uniprot-database/SKILL.md +189 -0
- package/data/skills/universal-single-cell-annotator/SKILL.md +72 -0
- package/data/skills/using-git-worktrees/SKILL.md +218 -0
- package/data/skills/using-superpowers/SKILL.md +95 -0
- package/data/skills/usmle/SKILL.md +62 -0
- package/data/skills/uspto-database/SKILL.md +597 -0
- package/data/skills/vaex/SKILL.md +180 -0
- package/data/skills/varcadd-pathogenicity/SKILL.md +68 -0
- package/data/skills/variant-interpretation-acmg/SKILL.md +58 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/clinical-interpretation/SKILL.md +334 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/consensus-sequences/SKILL.md +343 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/deepvariant/SKILL.md +279 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/filtering-best-practices/SKILL.md +362 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/gatk-variant-calling/SKILL.md +398 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/joint-calling/SKILL.md +343 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/structural-variant-calling/SKILL.md +256 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/variant-annotation/SKILL.md +387 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/variant-calling/SKILL.md +258 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/variant-normalization/SKILL.md +304 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/vcf-basics/SKILL.md +329 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/vcf-manipulation/SKILL.md +398 -0
- package/data/skills/variant-interpretation-acmg/bioSkills/vcf-statistics/SKILL.md +424 -0
- package/data/skills/variant-interpretation-acmg/varCADD/SKILL.md +68 -0
- package/data/skills/vcf-annotator/SKILL.md +55 -0
- package/data/skills/verification-before-completion/SKILL.md +139 -0
- package/data/skills/virtual-lab-agent/SKILL.md +240 -0
- package/data/skills/wearable-analysis-agent/SKILL.md +70 -0
- package/data/skills/weightloss-analyzer/SKILL.md +320 -0
- package/data/skills/wellally-tech/SKILL.md +685 -0
- package/data/skills/wikipedia-search/SKILL.md +481 -0
- package/data/skills/writing-plans/SKILL.md +116 -0
- package/data/skills/writing-skills/SKILL.md +655 -0
- package/data/skills/xlsx/SKILL.md +292 -0
- package/data/skills/xlsx-official/SKILL.md +289 -0
- package/data/skills/zarr-python/SKILL.md +777 -0
- package/data/skills/zinc-database/SKILL.md +398 -0
- package/data/tools/__init__.py +8 -0
- package/data/tools/hpc.py +71 -0
- package/data/tools/hpc_client/__init__.py +8 -0
- package/data/tools/hpc_client/builders/__init__.py +12 -0
- package/data/tools/hpc_client/builders/alphafold.py +36 -0
- package/data/tools/hpc_client/builders/boltz.py +33 -0
- package/data/tools/hpc_client/builders/chai.py +30 -0
- package/data/tools/hpc_client/builders/immunebuilder.py +31 -0
- package/data/tools/hpc_client/builders/rfantibody.py +58 -0
- package/data/tools/hpc_client/builders/thermompnn.py +16 -0
- package/data/tools/hpc_client/hpc_api.py +41 -0
- package/data/tools/hpc_client/hpc_tools.py +218 -0
- package/data/tools/hpc_dynamic.py +71 -0
- package/data/tools/integrations/__init__.py +14 -0
- package/data/tools/integrations/adaptyv.py +107 -0
- package/data/tools/integrations/addgene.py +52 -0
- package/data/tools/integrations/api_internal.py +33 -0
- package/data/tools/molecular_biology.py +688 -0
- package/data/tools/pharmacology.py +67 -0
- package/data/workflows/bulk-omics-clustering/SKILL.md +501 -0
- package/data/workflows/bulk-omics-clustering/references/best_practices.md +395 -0
- package/data/workflows/bulk-omics-clustering/references/clustering_methods_comparison.md +288 -0
- package/data/workflows/bulk-omics-clustering/references/common-patterns.md +1136 -0
- package/data/workflows/bulk-omics-clustering/references/decision-guide.md +819 -0
- package/data/workflows/bulk-omics-clustering/references/distance_metrics_guide.md +388 -0
- package/data/workflows/bulk-omics-clustering/references/parameter_guide.md +396 -0
- package/data/workflows/bulk-omics-clustering/references/r-quick-start.md +105 -0
- package/data/workflows/bulk-omics-clustering/references/validation_metrics_guide.md +315 -0
- package/data/workflows/bulk-omics-clustering/scripts/characterize_clusters.py +255 -0
- package/data/workflows/bulk-omics-clustering/scripts/cluster_validation.py +449 -0
- package/data/workflows/bulk-omics-clustering/scripts/density_clustering.py +321 -0
- package/data/workflows/bulk-omics-clustering/scripts/dimensionality_reduction.py +328 -0
- package/data/workflows/bulk-omics-clustering/scripts/distance_metrics.py +251 -0
- package/data/workflows/bulk-omics-clustering/scripts/export_results.py +456 -0
- package/data/workflows/bulk-omics-clustering/scripts/hierarchical_clustering.R +229 -0
- package/data/workflows/bulk-omics-clustering/scripts/hierarchical_clustering.py +269 -0
- package/data/workflows/bulk-omics-clustering/scripts/kmeans_clustering.py +346 -0
- package/data/workflows/bulk-omics-clustering/scripts/load_example_data.R +171 -0
- package/data/workflows/bulk-omics-clustering/scripts/load_example_data.py +171 -0
- package/data/workflows/bulk-omics-clustering/scripts/model_based_clustering.py +370 -0
- package/data/workflows/bulk-omics-clustering/scripts/optimal_clusters.py +381 -0
- package/data/workflows/bulk-omics-clustering/scripts/plot_cluster_heatmap.R +141 -0
- package/data/workflows/bulk-omics-clustering/scripts/plot_clustering_results.py +452 -0
- package/data/workflows/bulk-omics-clustering/scripts/prepare_data.py +250 -0
- package/data/workflows/bulk-omics-clustering/scripts/stability_analysis.py +434 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/SKILL.md +505 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/references/comprehensive-reference.md +440 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/references/decision-guide.md +327 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/references/troubleshooting.md +456 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/references/usage-guide.md +75 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/basic_workflow.R +149 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/batch_correction.R +44 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/export_results.R +190 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/extract_results.R +242 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/load_example_data.R +250 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/multi_condition.R +50 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/qc_plots.R +410 -0
- package/data/workflows/bulk-rnaseq-counts-to-de-deseq2/scripts/transformations.R +218 -0
- package/data/workflows/chip-atlas-diff-analysis/SKILL.md +222 -0
- package/data/workflows/chip-atlas-diff-analysis/references/chipatlas_diff_api_format.md +106 -0
- package/data/workflows/chip-atlas-diff-analysis/references/diff_analysis_methods.md +89 -0
- package/data/workflows/chip-atlas-diff-analysis/references/output_format.md +78 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/__init__.py +1 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/annotate_genes.py +144 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/export_all.py +498 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/filter_regions.py +176 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/generate_all_plots.py +321 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/load_example_data.py +149 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/load_user_data.py +211 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/parse_bed_results.py +240 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/qc_checks.py +621 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/query_chipatlas_api.py +329 -0
- package/data/workflows/chip-atlas-diff-analysis/scripts/run_diff_workflow.py +256 -0
- package/data/workflows/chip-atlas-peak-enrichment/SKILL.md +212 -0
- package/data/workflows/chip-atlas-peak-enrichment/references/chipatlas_metadata_format.md +115 -0
- package/data/workflows/chip-atlas-peak-enrichment/references/enrichment_statistics.md +145 -0
- package/data/workflows/chip-atlas-peak-enrichment/references/peak_thresholds.md +63 -0
- package/data/workflows/chip-atlas-peak-enrichment/references/promoter_definitions.md +69 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/__init__.py +1 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/convert_genes_to_regions.py +271 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/export_all.py +456 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/filter_experiments.py +116 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/generate_all_plots.py +280 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/load_example_data.py +96 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/load_user_data.py +183 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/query_chipatlas_api.py +349 -0
- package/data/workflows/chip-atlas-peak-enrichment/scripts/run_enrichment_workflow.py +271 -0
- package/data/workflows/chip-atlas-target-genes/SKILL.md +230 -0
- package/data/workflows/chip-atlas-target-genes/references/macs2_binding_scores.md +89 -0
- package/data/workflows/chip-atlas-target-genes/references/string_scores.md +58 -0
- package/data/workflows/chip-atlas-target-genes/references/target_genes_data_format.md +73 -0
- package/data/workflows/chip-atlas-target-genes/scripts/__init__.py +0 -0
- package/data/workflows/chip-atlas-target-genes/scripts/download_target_genes.py +200 -0
- package/data/workflows/chip-atlas-target-genes/scripts/export_all.py +340 -0
- package/data/workflows/chip-atlas-target-genes/scripts/filter_targets.py +205 -0
- package/data/workflows/chip-atlas-target-genes/scripts/generate_all_plots.py +330 -0
- package/data/workflows/chip-atlas-target-genes/scripts/load_example_query.py +61 -0
- package/data/workflows/chip-atlas-target-genes/scripts/load_user_query.py +47 -0
- package/data/workflows/chip-atlas-target-genes/scripts/run_target_genes_workflow.py +141 -0
- package/data/workflows/clinicaltrials-landscape/SKILL.md +257 -0
- package/data/workflows/clinicaltrials-landscape/references/api-parameters.md +181 -0
- package/data/workflows/clinicaltrials-landscape/references/mechanisms.md +141 -0
- package/data/workflows/clinicaltrials-landscape/references/output-schema.md +184 -0
- package/data/workflows/clinicaltrials-landscape/scripts/__init__.py +1 -0
- package/data/workflows/clinicaltrials-landscape/scripts/classify_mechanisms.py +359 -0
- package/data/workflows/clinicaltrials-landscape/scripts/compile_trials.py +579 -0
- package/data/workflows/clinicaltrials-landscape/scripts/disease_config.py +161 -0
- package/data/workflows/clinicaltrials-landscape/scripts/export_all.py +242 -0
- package/data/workflows/clinicaltrials-landscape/scripts/generate_landscape_plots.py +761 -0
- package/data/workflows/clinicaltrials-landscape/scripts/generate_pdf_report.py +1465 -0
- package/data/workflows/clinicaltrials-landscape/scripts/generate_report.py +1813 -0
- package/data/workflows/clinicaltrials-landscape/scripts/query_clinicaltrials.py +307 -0
- package/data/workflows/coexpression-network/SKILL.md +344 -0
- package/data/workflows/coexpression-network/references/parameter-tuning-guide.md +591 -0
- package/data/workflows/coexpression-network/references/troubleshooting.md +483 -0
- package/data/workflows/coexpression-network/references/wgcna-best-practices.md +563 -0
- package/data/workflows/coexpression-network/references/wgcna-reference.md +538 -0
- package/data/workflows/coexpression-network/scripts/build_network.R +43 -0
- package/data/workflows/coexpression-network/scripts/correlate_modules_traits.R +92 -0
- package/data/workflows/coexpression-network/scripts/export_wgcna_results.R +117 -0
- package/data/workflows/coexpression-network/scripts/identify_hub_genes.R +63 -0
- package/data/workflows/coexpression-network/scripts/load_example_data.R +214 -0
- package/data/workflows/coexpression-network/scripts/module_enrichment.R +159 -0
- package/data/workflows/coexpression-network/scripts/pick_soft_power.R +70 -0
- package/data/workflows/coexpression-network/scripts/plot_all_wgcna.R +104 -0
- package/data/workflows/coexpression-network/scripts/plot_eigengene_heatmap.R +65 -0
- package/data/workflows/coexpression-network/scripts/plot_hub_genes.R +70 -0
- package/data/workflows/coexpression-network/scripts/plot_module_dendrogram.R +50 -0
- package/data/workflows/coexpression-network/scripts/plotting_helpers.R +87 -0
- package/data/workflows/coexpression-network/scripts/prepare_wgcna_data.R +73 -0
- package/data/workflows/coexpression-network/scripts/wgcna_workflow.R +93 -0
- package/data/workflows/experimental-design-statistics/SKILL.md +408 -0
- package/data/workflows/experimental-design-statistics/references/batch_effect_mitigation.md +756 -0
- package/data/workflows/experimental-design-statistics/references/cv_tissue_database.csv +30 -0
- package/data/workflows/experimental-design-statistics/references/experimental_design_best_practices.md +515 -0
- package/data/workflows/experimental-design-statistics/references/multiple_testing_guide.md +730 -0
- package/data/workflows/experimental-design-statistics/references/power_analysis_guidelines.md +635 -0
- package/data/workflows/experimental-design-statistics/references/qc_guidelines.md +310 -0
- package/data/workflows/experimental-design-statistics/references/software_requirements.md +328 -0
- package/data/workflows/experimental-design-statistics/references/troubleshooting_guide.md +510 -0
- package/data/workflows/experimental-design-statistics/scripts/batch_assignment.R +302 -0
- package/data/workflows/experimental-design-statistics/scripts/batch_validation.R +342 -0
- package/data/workflows/experimental-design-statistics/scripts/export_design.R +352 -0
- package/data/workflows/experimental-design-statistics/scripts/load_example_data.R +204 -0
- package/data/workflows/experimental-design-statistics/scripts/multiple_testing.R +417 -0
- package/data/workflows/experimental-design-statistics/scripts/plot_power_curves.R +317 -0
- package/data/workflows/experimental-design-statistics/scripts/power_atacseq.R +229 -0
- package/data/workflows/experimental-design-statistics/scripts/power_pilot_based.R +289 -0
- package/data/workflows/experimental-design-statistics/scripts/power_rnaseq.R +247 -0
- package/data/workflows/experimental-design-statistics/scripts/sample_size_de.R +327 -0
- package/data/workflows/experimental-design-statistics/scripts/sample_size_scrna.R +304 -0
- package/data/workflows/functional-enrichment-from-degs/SKILL.md +387 -0
- package/data/workflows/functional-enrichment-from-degs/references/database_guide.md +354 -0
- package/data/workflows/functional-enrichment-from-degs/references/decision-guide.md +546 -0
- package/data/workflows/functional-enrichment-from-degs/references/gsea_ora_comparison.md +213 -0
- package/data/workflows/functional-enrichment-from-degs/references/gsea_ora_validation_framework.md +483 -0
- package/data/workflows/functional-enrichment-from-degs/references/interpretation_guidelines.md +374 -0
- package/data/workflows/functional-enrichment-from-degs/references/method-reference.md +742 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/export_results.R +190 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/generate_plots.R +240 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/get_msigdb_genesets.R +75 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/load_de_results.R +60 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/load_example_data.R +212 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/prepare_gene_lists.R +92 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/run_gsea.R +44 -0
- package/data/workflows/functional-enrichment-from-degs/scripts/run_ora.R +53 -0
- package/data/workflows/genetic-variant-annotation/SKILL.md +440 -0
- package/data/workflows/genetic-variant-annotation/references/auto_installation_implementation.md +274 -0
- package/data/workflows/genetic-variant-annotation/references/consequence_terms.md +392 -0
- package/data/workflows/genetic-variant-annotation/references/filtering_strategies.md +808 -0
- package/data/workflows/genetic-variant-annotation/references/installation_guide.md +557 -0
- package/data/workflows/genetic-variant-annotation/references/pathogenicity_interpretation.md +473 -0
- package/data/workflows/genetic-variant-annotation/references/qc_guidelines.md +524 -0
- package/data/workflows/genetic-variant-annotation/references/snpeff_best_practices.md +481 -0
- package/data/workflows/genetic-variant-annotation/references/tool_selection_guide.md +433 -0
- package/data/workflows/genetic-variant-annotation/references/troubleshooting_guide.md +678 -0
- package/data/workflows/genetic-variant-annotation/references/vep_best_practices.md +450 -0
- package/data/workflows/genetic-variant-annotation/scripts/annotate_genes.py +243 -0
- package/data/workflows/genetic-variant-annotation/scripts/export_results.py +450 -0
- package/data/workflows/genetic-variant-annotation/scripts/filter_variants.py +365 -0
- package/data/workflows/genetic-variant-annotation/scripts/install_tools.py +246 -0
- package/data/workflows/genetic-variant-annotation/scripts/load_example_data.py +166 -0
- package/data/workflows/genetic-variant-annotation/scripts/parse_snpeff_output.py +283 -0
- package/data/workflows/genetic-variant-annotation/scripts/parse_vep_output.py +257 -0
- package/data/workflows/genetic-variant-annotation/scripts/plot_variant_distribution.py +372 -0
- package/data/workflows/genetic-variant-annotation/scripts/prioritize_variants.py +287 -0
- package/data/workflows/genetic-variant-annotation/scripts/run_snpeff.py +418 -0
- package/data/workflows/genetic-variant-annotation/scripts/run_vep.py +358 -0
- package/data/workflows/genetic-variant-annotation/scripts/select_tool.py +203 -0
- package/data/workflows/genetic-variant-annotation/scripts/test_complete_workflow.py +312 -0
- package/data/workflows/genetic-variant-annotation/scripts/test_pickle_load.py +118 -0
- package/data/workflows/genetic-variant-annotation/scripts/validate_vcf.py +351 -0
- package/data/workflows/genetic-variant-annotation/scripts/verify_changes.py +212 -0
- package/data/workflows/grn-pyscenic/SKILL.md +331 -0
- package/data/workflows/grn-pyscenic/references/cli_interface.md +222 -0
- package/data/workflows/grn-pyscenic/references/database_downloads.md +245 -0
- package/data/workflows/grn-pyscenic/scripts/export_all.py +192 -0
- package/data/workflows/grn-pyscenic/scripts/generate_report.py +512 -0
- package/data/workflows/grn-pyscenic/scripts/integrate_with_adata.py +54 -0
- package/data/workflows/grn-pyscenic/scripts/load_example_data.py +200 -0
- package/data/workflows/grn-pyscenic/scripts/load_expression_data.py +61 -0
- package/data/workflows/grn-pyscenic/scripts/plot_regulon_visualizations.py +263 -0
- package/data/workflows/grn-pyscenic/scripts/run_grn_workflow.py +184 -0
- package/data/workflows/gwas-to-function-twas/SKILL.md +394 -0
- package/data/workflows/gwas-to-function-twas/references/fusion_best_practices.md +120 -0
- package/data/workflows/gwas-to-function-twas/references/installation-guide.md +414 -0
- package/data/workflows/gwas-to-function-twas/references/ldsc_qc_guidelines.md +287 -0
- package/data/workflows/gwas-to-function-twas/references/spredixxcan_best_practices.md +166 -0
- package/data/workflows/gwas-to-function-twas/references/therapeutic_interpretation_guide.md +717 -0
- package/data/workflows/gwas-to-function-twas/references/tissue_reference_guide.md +182 -0
- package/data/workflows/gwas-to-function-twas/references/troubleshooting_guide.md +317 -0
- package/data/workflows/gwas-to-function-twas/references/twas_hub_validation_guide.md +88 -0
- package/data/workflows/gwas-to-function-twas/scripts/colocalization_analysis.py +187 -0
- package/data/workflows/gwas-to-function-twas/scripts/druggability_scoring.py +199 -0
- package/data/workflows/gwas-to-function-twas/scripts/export_results.py +220 -0
- package/data/workflows/gwas-to-function-twas/scripts/integrate_variant_annotation.py +194 -0
- package/data/workflows/gwas-to-function-twas/scripts/interpret_therapeutic_direction.py +418 -0
- package/data/workflows/gwas-to-function-twas/scripts/mendelian_randomization.py +749 -0
- package/data/workflows/gwas-to-function-twas/scripts/multilayer_direction_analysis.py +471 -0
- package/data/workflows/gwas-to-function-twas/scripts/plot_twas_results.py +252 -0
- package/data/workflows/gwas-to-function-twas/scripts/run_fusion.py +155 -0
- package/data/workflows/gwas-to-function-twas/scripts/run_smultixcan.py +102 -0
- package/data/workflows/gwas-to-function-twas/scripts/run_spredixxcan.py +138 -0
- package/data/workflows/gwas-to-function-twas/scripts/select_reference_panel.py +253 -0
- package/data/workflows/gwas-to-function-twas/scripts/validate_gwas_sumstats.py +214 -0
- package/data/workflows/gwas-to-function-twas/scripts/validate_with_twas_hub.py +439 -0
- package/data/workflows/lasso-biomarker-panel/SKILL.md +322 -0
- package/data/workflows/lasso-biomarker-panel/references/decision-guide.md +64 -0
- package/data/workflows/lasso-biomarker-panel/references/lasso-reference.md +110 -0
- package/data/workflows/lasso-biomarker-panel/references/validation-guide.md +105 -0
- package/data/workflows/lasso-biomarker-panel/scripts/biological_interpretation.R +1560 -0
- package/data/workflows/lasso-biomarker-panel/scripts/biomarker_plots.R +350 -0
- package/data/workflows/lasso-biomarker-panel/scripts/export_results.R +1492 -0
- package/data/workflows/lasso-biomarker-panel/scripts/lasso_workflow.R +328 -0
- package/data/workflows/lasso-biomarker-panel/scripts/load_example_data.R +1903 -0
- package/data/workflows/lasso-biomarker-panel/scripts/plotting_helpers.R +78 -0
- package/data/workflows/lasso-biomarker-panel/scripts/prepare_features.R +225 -0
- package/data/workflows/lasso-biomarker-panel/scripts/query_cellxgene.py +107 -0
- package/data/workflows/lasso-biomarker-panel/scripts/validate_external.R +174 -0
- package/data/workflows/literature-preclinical/SKILL.md +276 -0
- package/data/workflows/literature-preclinical/assets/eval/simple_test.py +386 -0
- package/data/workflows/literature-preclinical/references/experiment-extraction-guide.md +147 -0
- package/data/workflows/literature-preclinical/references/full-text-enrichment-guide.md +121 -0
- package/data/workflows/literature-preclinical/references/preclinical-search-guide.md +117 -0
- package/data/workflows/literature-preclinical/scripts/extract_experiments.py +401 -0
- package/data/workflows/literature-preclinical/scripts/generate_plots.R +303 -0
- package/data/workflows/literature-preclinical/scripts/narrative_synthesis.py +653 -0
- package/data/workflows/literature-preclinical/scripts/preclinical_search.py +332 -0
- package/data/workflows/literature-preclinical/scripts/preclinical_synthesis.py +237 -0
- package/data/workflows/literature-preclinical/scripts/report_generation.py +326 -0
- package/data/workflows/mendelian-randomization-twosamplemr/SKILL.md +210 -0
- package/data/workflows/mendelian-randomization-twosamplemr/references/interpretation-guide.md +239 -0
- package/data/workflows/mendelian-randomization-twosamplemr/references/method-reference.md +190 -0
- package/data/workflows/mendelian-randomization-twosamplemr/scripts/export_results.R +123 -0
- package/data/workflows/mendelian-randomization-twosamplemr/scripts/generate_report.R +411 -0
- package/data/workflows/mendelian-randomization-twosamplemr/scripts/load_data.R +281 -0
- package/data/workflows/mendelian-randomization-twosamplemr/scripts/mr_plots.R +163 -0
- package/data/workflows/mendelian-randomization-twosamplemr/scripts/run_mr_analysis.R +322 -0
- package/data/workflows/pcr-primer-design/SKILL.md +397 -0
- package/data/workflows/pcr-primer-design/references/code_examples.md +594 -0
- package/data/workflows/pcr-primer-design/references/miqe_guidelines.md +453 -0
- package/data/workflows/pcr-primer-design/references/parameter_ranges.md +356 -0
- package/data/workflows/pcr-primer-design/references/primer_design_best_practices.md +451 -0
- package/data/workflows/pcr-primer-design/references/troubleshooting_guide.md +477 -0
- package/data/workflows/pcr-primer-design/scripts/__init__.py +2 -0
- package/data/workflows/pcr-primer-design/scripts/calculate_tm.py +306 -0
- package/data/workflows/pcr-primer-design/scripts/check_dimers.py +298 -0
- package/data/workflows/pcr-primer-design/scripts/check_secondary_structures.py +343 -0
- package/data/workflows/pcr-primer-design/scripts/design_qpcr_primers.py +233 -0
- package/data/workflows/pcr-primer-design/scripts/design_standard_primers.py +197 -0
- package/data/workflows/pcr-primer-design/scripts/design_taqman_probes.py +226 -0
- package/data/workflows/pcr-primer-design/scripts/export_results.py +382 -0
- package/data/workflows/pcr-primer-design/scripts/generate_reports.py +379 -0
- package/data/workflows/pcr-primer-design/scripts/validate_specificity.py +311 -0
- package/data/workflows/pcr-primer-design/scripts/visualize_primers.py +379 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/SKILL.md +195 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/references/interpretation-guide.md +80 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/references/pgs-catalog-guide.md +109 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/scripts/export_results.R +186 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/scripts/generate_plots.R +283 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/scripts/load_pgs_weights.R +228 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/scripts/load_reference_data.R +191 -0
- package/data/workflows/polygenic-risk-score-prs-catalog/scripts/score_traits.R +216 -0
- package/data/workflows/pooled-crispr-screens/SKILL.md +362 -0
- package/data/workflows/pooled-crispr-screens/references/crispr_screen_best_practices.md +349 -0
- package/data/workflows/pooled-crispr-screens/references/qc_guidelines.md +722 -0
- package/data/workflows/pooled-crispr-screens/references/statistical_methods.md +644 -0
- package/data/workflows/pooled-crispr-screens/references/troubleshooting_guide.md +684 -0
- package/data/workflows/pooled-crispr-screens/references/umi_optimization.md +297 -0
- package/data/workflows/pooled-crispr-screens/scripts/concatenate_libraries.py +132 -0
- package/data/workflows/pooled-crispr-screens/scripts/detect_perturbed_cells.py +255 -0
- package/data/workflows/pooled-crispr-screens/scripts/differential_expression.py +202 -0
- package/data/workflows/pooled-crispr-screens/scripts/differential_expression_glmgampoi.py +320 -0
- package/data/workflows/pooled-crispr-screens/scripts/export_results.py +261 -0
- package/data/workflows/pooled-crispr-screens/scripts/expression_filtering.py +159 -0
- package/data/workflows/pooled-crispr-screens/scripts/gene_name_corrections.py +188 -0
- package/data/workflows/pooled-crispr-screens/scripts/generate_report.py +485 -0
- package/data/workflows/pooled-crispr-screens/scripts/load_10x_libraries.py +69 -0
- package/data/workflows/pooled-crispr-screens/scripts/load_example_data.py +257 -0
- package/data/workflows/pooled-crispr-screens/scripts/map_sgrna_to_cells.py +119 -0
- package/data/workflows/pooled-crispr-screens/scripts/normalize_and_scale.py +140 -0
- package/data/workflows/pooled-crispr-screens/scripts/qc_filtering.py +185 -0
- package/data/workflows/pooled-crispr-screens/scripts/run_glmgampoi.R +181 -0
- package/data/workflows/pooled-crispr-screens/scripts/screen_all_perturbations.py +306 -0
- package/data/workflows/pooled-crispr-screens/scripts/validate_perturbations.py +314 -0
- package/data/workflows/pooled-crispr-screens/scripts/visualize_perturbations.py +314 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/SKILL.md +425 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/ambient_rna_correction.md +422 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/common-patterns.md +533 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/integration_methods.md +820 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/marker_gene_database.md +471 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/pseudobulk_de_guide.md +408 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/qc_guidelines.md +535 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/scanpy_best_practices.md +496 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/troubleshooting_guide.md +668 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/references/workflow-details.md +727 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/annotate_celltypes.py +431 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/cluster_cells.py +293 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/export_results.py +423 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/filter_cells.py +531 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/find_markers.py +391 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/find_variable_genes.py +222 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/integrate_scvi.py +665 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/integration_diagnostics.py +678 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/load_example_data.py +68 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/normalize_data.py +325 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/plot_dimreduction.py +389 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/plot_qc.py +320 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/pseudobulk_de.py +553 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/qc_metrics.py +477 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/remove_ambient_rna.py +347 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/run_umap.py +188 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/scale_and_pca.py +365 -0
- package/data/workflows/scrnaseq-scanpy-core-analysis/scripts/setup_and_import.py +334 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/SKILL.md +585 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/ambient_rna_correction.md +422 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/common-patterns.md +667 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/decision-guide.md +456 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/integration_methods.md +864 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/marker_gene_database.md +471 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/pseudobulk_de_guide.md +408 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/qc_guidelines.md +452 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/seurat_best_practices.md +417 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/troubleshooting_guide.md +566 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/references/workflow-details.md +801 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/annotate_celltypes.R +306 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/cluster_cells.R +223 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/export_results.R +292 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/filter_cells.R +576 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/find_markers.R +325 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/find_variable_features.R +106 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/integrate_batches.R +504 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/integration_diagnostics.R +596 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/load_example_data.R +89 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/normalize_data.R +184 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/plot_dimreduction.R +273 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/plot_qc.R +250 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/pseudobulk_de.R +324 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/qc_metrics.R +358 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/remove_ambient_rna.R +281 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/run_umap.R +116 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/scale_and_pca.R +243 -0
- package/data/workflows/scrnaseq-seurat-core-analysis/scripts/setup_and_import.R +193 -0
- package/data/workflows/spatial-transcriptomics/SKILL.md +256 -0
- package/data/workflows/spatial-transcriptomics/references/spatial-analysis-guide.md +216 -0
- package/data/workflows/spatial-transcriptomics/scripts/export_results.py +214 -0
- package/data/workflows/spatial-transcriptomics/scripts/generate_all_plots.py +397 -0
- package/data/workflows/spatial-transcriptomics/scripts/load_example_data.py +175 -0
- package/data/workflows/spatial-transcriptomics/scripts/spatial_workflow.py +206 -0
- package/dist/bgi.js +28 -1
- package/package.json +2 -1
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tooluniverse-immune-repertoire-analysis
|
|
3
|
+
description: Comprehensive immune repertoire analysis for T-cell and B-cell receptor sequencing data. Analyze TCR/BCR repertoires to assess clonality, diversity, V(D)J gene usage, CDR3 characteristics, convergence, and predict epitope specificity. Integrate with single-cell data for clonotype-phenotype associations. Use for adaptive immune response profiling, cancer immunotherapy research, vaccine response assessment, autoimmune disease studies, or repertoire diversity analysis in immunology research.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ToolUniverse Immune Repertoire Analysis
|
|
7
|
+
|
|
8
|
+
Comprehensive skill for analyzing T-cell receptor (TCR) and B-cell receptor (BCR) repertoire sequencing data to characterize adaptive immune responses, clonal expansion, and antigen specificity.
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Adaptive immune receptor repertoire sequencing (AIRR-seq) enables comprehensive profiling of T-cell and B-cell populations through high-throughput sequencing of TCR and BCR variable regions. This skill provides an 8-phase workflow for:
|
|
13
|
+
- Clonotype identification and tracking
|
|
14
|
+
- Diversity and clonality assessment
|
|
15
|
+
- V(D)J gene usage analysis
|
|
16
|
+
- CDR3 sequence characterization
|
|
17
|
+
- Clonal expansion and convergence detection
|
|
18
|
+
- Epitope specificity prediction
|
|
19
|
+
- Integration with single-cell phenotyping
|
|
20
|
+
- Longitudinal repertoire tracking
|
|
21
|
+
|
|
22
|
+
## Core Workflow
|
|
23
|
+
|
|
24
|
+
### Phase 1: Data Import & Clonotype Definition
|
|
25
|
+
|
|
26
|
+
**Load AIRR-seq Data**
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
import pandas as pd
|
|
30
|
+
import numpy as np
|
|
31
|
+
from collections import Counter
|
|
32
|
+
|
|
33
|
+
def load_airr_data(file_path, format='mixcr'):
|
|
34
|
+
"""
|
|
35
|
+
Load immune repertoire data from common formats.
|
|
36
|
+
|
|
37
|
+
Supported formats:
|
|
38
|
+
- 'mixcr': MiXCR output
|
|
39
|
+
- 'immunoseq': Adaptive Biotechnologies ImmunoSEQ
|
|
40
|
+
- 'airr': AIRR Community Standard
|
|
41
|
+
- '10x': 10x Genomics VDJ output
|
|
42
|
+
"""
|
|
43
|
+
if format == 'mixcr':
|
|
44
|
+
# MiXCR clonotypes.txt format
|
|
45
|
+
df = pd.read_csv(file_path, sep='\t')
|
|
46
|
+
|
|
47
|
+
# Standardize column names
|
|
48
|
+
clonotype_df = pd.DataFrame({
|
|
49
|
+
'cloneId': df.get('cloneId', range(len(df))),
|
|
50
|
+
'count': df.get('cloneCount', df.get('count', 0)),
|
|
51
|
+
'frequency': df.get('cloneFraction', df.get('frequency', 0)),
|
|
52
|
+
'cdr3aa': df.get('aaSeqCDR3', df.get('cdr3', '')),
|
|
53
|
+
'cdr3nt': df.get('nSeqCDR3', ''),
|
|
54
|
+
'v_gene': df.get('allVHitsWithScore', df.get('v_call', '')),
|
|
55
|
+
'j_gene': df.get('allJHitsWithScore', df.get('j_call', '')),
|
|
56
|
+
'chain': df.get('chain', 'TRB') # Default to TRB
|
|
57
|
+
})
|
|
58
|
+
|
|
59
|
+
elif format == '10x':
|
|
60
|
+
# 10x Genomics filtered_contig_annotations.csv
|
|
61
|
+
df = pd.read_csv(file_path)
|
|
62
|
+
|
|
63
|
+
# Group by barcode to get clonotypes
|
|
64
|
+
clonotype_df = df.groupby('barcode').agg({
|
|
65
|
+
'cdr3': lambda x: ','.join(x.dropna()),
|
|
66
|
+
'cdr3_nt': lambda x: ','.join(x.dropna()),
|
|
67
|
+
'v_gene': lambda x: ','.join(x.dropna()),
|
|
68
|
+
'j_gene': lambda x: ','.join(x.dropna()),
|
|
69
|
+
'chain': lambda x: ','.join(x.dropna()),
|
|
70
|
+
'umis': 'sum'
|
|
71
|
+
}).reset_index()
|
|
72
|
+
|
|
73
|
+
clonotype_df = clonotype_df.rename(columns={
|
|
74
|
+
'barcode': 'cloneId',
|
|
75
|
+
'cdr3': 'cdr3aa',
|
|
76
|
+
'cdr3_nt': 'cdr3nt',
|
|
77
|
+
'umis': 'count'
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
clonotype_df['frequency'] = clonotype_df['count'] / clonotype_df['count'].sum()
|
|
81
|
+
|
|
82
|
+
elif format == 'airr':
|
|
83
|
+
# AIRR Community Standard
|
|
84
|
+
df = pd.read_csv(file_path, sep='\t')
|
|
85
|
+
|
|
86
|
+
clonotype_df = pd.DataFrame({
|
|
87
|
+
'cloneId': df.get('clone_id', range(len(df))),
|
|
88
|
+
'count': df.get('duplicate_count', 1),
|
|
89
|
+
'frequency': df.get('clone_frequency', df.get('duplicate_count', 1) / df.get('duplicate_count', 1).sum()),
|
|
90
|
+
'cdr3aa': df.get('junction_aa', ''),
|
|
91
|
+
'cdr3nt': df.get('junction', ''),
|
|
92
|
+
'v_gene': df.get('v_call', ''),
|
|
93
|
+
'j_gene': df.get('j_call', ''),
|
|
94
|
+
'chain': df.get('locus', 'TRB')
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
# Calculate additional metrics
|
|
98
|
+
clonotype_df['cdr3_length'] = clonotype_df['cdr3aa'].str.len()
|
|
99
|
+
|
|
100
|
+
return clonotype_df
|
|
101
|
+
|
|
102
|
+
# Load TCR repertoire
|
|
103
|
+
tcr_data = load_airr_data("clonotypes.txt", format='mixcr')
|
|
104
|
+
print(f"Loaded {len(tcr_data)} unique clonotypes")
|
|
105
|
+
print(f"Total reads: {tcr_data['count'].sum()}")
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Define Clonotypes**
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
def define_clonotypes(df, method='cdr3aa'):
|
|
112
|
+
"""
|
|
113
|
+
Define clonotypes based on various criteria.
|
|
114
|
+
|
|
115
|
+
Methods:
|
|
116
|
+
- 'cdr3aa': Amino acid CDR3 sequence only
|
|
117
|
+
- 'cdr3nt': Nucleotide CDR3 sequence
|
|
118
|
+
- 'vj_cdr3': V gene + J gene + CDR3aa (most common)
|
|
119
|
+
"""
|
|
120
|
+
if method == 'cdr3aa':
|
|
121
|
+
df['clonotype'] = df['cdr3aa']
|
|
122
|
+
|
|
123
|
+
elif method == 'cdr3nt':
|
|
124
|
+
df['clonotype'] = df['cdr3nt']
|
|
125
|
+
|
|
126
|
+
elif method == 'vj_cdr3':
|
|
127
|
+
# Extract V and J gene families (e.g., TRBV12-3 -> TRBV12)
|
|
128
|
+
df['v_family'] = df['v_gene'].str.extract(r'(TRB[VDJ]\d+)', expand=False)
|
|
129
|
+
df['j_family'] = df['j_gene'].str.extract(r'(TRB[VDJ]\d+)', expand=False)
|
|
130
|
+
|
|
131
|
+
# Combine V + J + CDR3
|
|
132
|
+
df['clonotype'] = df['v_family'] + '_' + df['j_family'] + '_' + df['cdr3aa']
|
|
133
|
+
|
|
134
|
+
# Aggregate by clonotype
|
|
135
|
+
clonotype_summary = df.groupby('clonotype').agg({
|
|
136
|
+
'count': 'sum',
|
|
137
|
+
'frequency': 'sum'
|
|
138
|
+
}).reset_index()
|
|
139
|
+
|
|
140
|
+
clonotype_summary = clonotype_summary.sort_values('count', ascending=False)
|
|
141
|
+
clonotype_summary['rank'] = range(1, len(clonotype_summary) + 1)
|
|
142
|
+
|
|
143
|
+
return clonotype_summary
|
|
144
|
+
|
|
145
|
+
# Define clonotypes
|
|
146
|
+
clonotypes = define_clonotypes(tcr_data, method='vj_cdr3')
|
|
147
|
+
print(f"Identified {len(clonotypes)} unique clonotypes")
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Phase 2: Diversity & Clonality Analysis
|
|
151
|
+
|
|
152
|
+
**Calculate Diversity Metrics**
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
def calculate_diversity(clonotype_counts):
|
|
156
|
+
"""
|
|
157
|
+
Calculate diversity metrics for immune repertoire.
|
|
158
|
+
|
|
159
|
+
Metrics:
|
|
160
|
+
- Shannon entropy: Overall diversity
|
|
161
|
+
- Simpson index: Probability two random clones are same
|
|
162
|
+
- Inverse Simpson: Effective number of clonotypes
|
|
163
|
+
- Gini coefficient: Inequality in clonotype distribution
|
|
164
|
+
"""
|
|
165
|
+
from scipy.stats import entropy
|
|
166
|
+
|
|
167
|
+
# Normalize to frequencies
|
|
168
|
+
if isinstance(clonotype_counts, pd.Series):
|
|
169
|
+
counts = clonotype_counts.values
|
|
170
|
+
else:
|
|
171
|
+
counts = clonotype_counts
|
|
172
|
+
|
|
173
|
+
freqs = counts / counts.sum()
|
|
174
|
+
|
|
175
|
+
# Shannon entropy
|
|
176
|
+
shannon = entropy(freqs, base=2)
|
|
177
|
+
|
|
178
|
+
# Simpson index (D)
|
|
179
|
+
simpson = np.sum(freqs ** 2)
|
|
180
|
+
|
|
181
|
+
# Inverse Simpson (1/D) - effective number of clonotypes
|
|
182
|
+
inv_simpson = 1 / simpson if simpson > 0 else 0
|
|
183
|
+
|
|
184
|
+
# Gini coefficient
|
|
185
|
+
sorted_freqs = np.sort(freqs)
|
|
186
|
+
n = len(freqs)
|
|
187
|
+
cumsum = np.cumsum(sorted_freqs)
|
|
188
|
+
gini = (2 * np.sum((np.arange(1, n+1)) * sorted_freqs)) / (n * cumsum[-1]) - (n + 1) / n
|
|
189
|
+
|
|
190
|
+
# Richness (number of unique clonotypes)
|
|
191
|
+
richness = len(counts)
|
|
192
|
+
|
|
193
|
+
# Clonality (1 - Pielou's evenness)
|
|
194
|
+
max_entropy = np.log2(richness)
|
|
195
|
+
evenness = shannon / max_entropy if max_entropy > 0 else 0
|
|
196
|
+
clonality = 1 - evenness
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
'richness': richness,
|
|
200
|
+
'shannon_entropy': shannon,
|
|
201
|
+
'simpson_index': simpson,
|
|
202
|
+
'inverse_simpson': inv_simpson,
|
|
203
|
+
'gini_coefficient': gini,
|
|
204
|
+
'evenness': evenness,
|
|
205
|
+
'clonality': clonality
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
# Calculate diversity
|
|
209
|
+
diversity = calculate_diversity(clonotypes['count'])
|
|
210
|
+
print("Diversity Metrics:")
|
|
211
|
+
for metric, value in diversity.items():
|
|
212
|
+
print(f" {metric}: {value:.4f}")
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**Rarefaction Analysis**
|
|
216
|
+
|
|
217
|
+
```python
|
|
218
|
+
def rarefaction_curve(df, n_samples=100, n_boots=10):
|
|
219
|
+
"""
|
|
220
|
+
Generate rarefaction curve to assess sampling depth.
|
|
221
|
+
|
|
222
|
+
Shows how clonotype richness increases with sequencing depth.
|
|
223
|
+
"""
|
|
224
|
+
total_reads = df['count'].sum()
|
|
225
|
+
sample_sizes = np.linspace(1000, total_reads, n_samples)
|
|
226
|
+
|
|
227
|
+
richness_curves = []
|
|
228
|
+
|
|
229
|
+
for _ in range(n_boots):
|
|
230
|
+
richness_at_depth = []
|
|
231
|
+
|
|
232
|
+
for sample_size in sample_sizes:
|
|
233
|
+
# Sample reads according to clonotype frequencies
|
|
234
|
+
sampled = np.random.choice(
|
|
235
|
+
df.index,
|
|
236
|
+
size=int(sample_size),
|
|
237
|
+
p=df['frequency'].values,
|
|
238
|
+
replace=True
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
# Count unique clonotypes
|
|
242
|
+
unique_clonotypes = len(set(sampled))
|
|
243
|
+
richness_at_depth.append(unique_clonotypes)
|
|
244
|
+
|
|
245
|
+
richness_curves.append(richness_at_depth)
|
|
246
|
+
|
|
247
|
+
# Calculate mean and std
|
|
248
|
+
mean_richness = np.mean(richness_curves, axis=0)
|
|
249
|
+
std_richness = np.std(richness_curves, axis=0)
|
|
250
|
+
|
|
251
|
+
return sample_sizes, mean_richness, std_richness
|
|
252
|
+
|
|
253
|
+
# Generate rarefaction curve
|
|
254
|
+
sample_sizes, mean_rich, std_rich = rarefaction_curve(clonotypes)
|
|
255
|
+
|
|
256
|
+
import matplotlib.pyplot as plt
|
|
257
|
+
plt.figure(figsize=(8, 5))
|
|
258
|
+
plt.plot(sample_sizes, mean_rich, 'b-', label='Mean richness')
|
|
259
|
+
plt.fill_between(sample_sizes, mean_rich - std_rich, mean_rich + std_rich, alpha=0.3)
|
|
260
|
+
plt.xlabel('Sequencing Depth (reads)')
|
|
261
|
+
plt.ylabel('Clonotype Richness')
|
|
262
|
+
plt.title('Rarefaction Curve')
|
|
263
|
+
plt.legend()
|
|
264
|
+
plt.savefig('rarefaction_curve.png', dpi=300)
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Phase 3: V(D)J Gene Usage Analysis
|
|
268
|
+
|
|
269
|
+
**Analyze V and J Gene Usage**
|
|
270
|
+
|
|
271
|
+
```python
|
|
272
|
+
def analyze_vdj_usage(df):
|
|
273
|
+
"""
|
|
274
|
+
Analyze V(D)J gene usage patterns.
|
|
275
|
+
"""
|
|
276
|
+
# Extract gene families
|
|
277
|
+
df['v_family'] = df['v_gene'].str.extract(r'(TRB[VDJ]\d+)', expand=False)
|
|
278
|
+
df['j_family'] = df['j_gene'].str.extract(r'(TRB[VDJ]\d+)', expand=False)
|
|
279
|
+
|
|
280
|
+
# V gene usage (weighted by count)
|
|
281
|
+
v_usage = df.groupby('v_family')['count'].sum().sort_values(ascending=False)
|
|
282
|
+
v_usage_freq = v_usage / v_usage.sum()
|
|
283
|
+
|
|
284
|
+
# J gene usage
|
|
285
|
+
j_usage = df.groupby('j_family')['count'].sum().sort_values(ascending=False)
|
|
286
|
+
j_usage_freq = j_usage / j_usage.sum()
|
|
287
|
+
|
|
288
|
+
# V-J pairing
|
|
289
|
+
vj_pairs = df.groupby(['v_family', 'j_family'])['count'].sum().reset_index()
|
|
290
|
+
vj_pairs['frequency'] = vj_pairs['count'] / vj_pairs['count'].sum()
|
|
291
|
+
vj_pairs = vj_pairs.sort_values('count', ascending=False)
|
|
292
|
+
|
|
293
|
+
return {
|
|
294
|
+
'v_usage': v_usage_freq,
|
|
295
|
+
'j_usage': j_usage_freq,
|
|
296
|
+
'vj_pairs': vj_pairs
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
# Analyze V(D)J usage
|
|
300
|
+
vdj_usage = analyze_vdj_usage(tcr_data)
|
|
301
|
+
|
|
302
|
+
print("Top 10 V genes:")
|
|
303
|
+
print(vdj_usage['v_usage'].head(10))
|
|
304
|
+
|
|
305
|
+
print("\nTop 10 J genes:")
|
|
306
|
+
print(vdj_usage['j_usage'].head(10))
|
|
307
|
+
|
|
308
|
+
print("\nTop 10 V-J pairs:")
|
|
309
|
+
print(vdj_usage['vj_pairs'].head(10))
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
**Statistical Testing for Biased Usage**
|
|
313
|
+
|
|
314
|
+
```python
|
|
315
|
+
def test_vdj_bias(observed_usage, expected_frequencies=None):
|
|
316
|
+
"""
|
|
317
|
+
Test whether V(D)J gene usage deviates from expected (uniform or reference).
|
|
318
|
+
|
|
319
|
+
Uses chi-square test.
|
|
320
|
+
"""
|
|
321
|
+
from scipy.stats import chisquare
|
|
322
|
+
|
|
323
|
+
observed = observed_usage.values
|
|
324
|
+
|
|
325
|
+
if expected_frequencies is None:
|
|
326
|
+
# Assume uniform distribution
|
|
327
|
+
expected = np.ones(len(observed)) / len(observed) * observed.sum()
|
|
328
|
+
else:
|
|
329
|
+
# Use provided reference frequencies
|
|
330
|
+
expected = expected_frequencies * observed.sum()
|
|
331
|
+
|
|
332
|
+
# Chi-square test
|
|
333
|
+
chi2, pvalue = chisquare(observed, f_exp=expected)
|
|
334
|
+
|
|
335
|
+
return {
|
|
336
|
+
'chi2_statistic': chi2,
|
|
337
|
+
'p_value': pvalue,
|
|
338
|
+
'significant': pvalue < 0.05
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
# Test for V gene bias
|
|
342
|
+
v_bias_test = test_vdj_bias(vdj_usage['v_usage'] * tcr_data['count'].sum())
|
|
343
|
+
print(f"V gene usage bias test: chi2={v_bias_test['chi2_statistic']:.2f}, p={v_bias_test['p_value']:.2e}")
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
### Phase 4: CDR3 Sequence Analysis
|
|
347
|
+
|
|
348
|
+
**CDR3 Length Distribution**
|
|
349
|
+
|
|
350
|
+
```python
|
|
351
|
+
def analyze_cdr3_length(df):
|
|
352
|
+
"""
|
|
353
|
+
Analyze CDR3 length distribution.
|
|
354
|
+
|
|
355
|
+
Typical TCR CDR3 length: 12-18 amino acids
|
|
356
|
+
Typical BCR CDR3 length: 10-20 amino acids
|
|
357
|
+
"""
|
|
358
|
+
# Length distribution (weighted by count)
|
|
359
|
+
length_dist = df.groupby('cdr3_length')['count'].sum().sort_index()
|
|
360
|
+
length_freq = length_dist / length_dist.sum()
|
|
361
|
+
|
|
362
|
+
# Statistics
|
|
363
|
+
mean_length = (df['cdr3_length'] * df['count']).sum() / df['count'].sum()
|
|
364
|
+
median_length = df['cdr3_length'].median()
|
|
365
|
+
|
|
366
|
+
return {
|
|
367
|
+
'length_distribution': length_freq,
|
|
368
|
+
'mean_length': mean_length,
|
|
369
|
+
'median_length': median_length
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
# Analyze CDR3 length
|
|
373
|
+
cdr3_analysis = analyze_cdr3_length(tcr_data)
|
|
374
|
+
print(f"Mean CDR3 length: {cdr3_analysis['mean_length']:.1f} aa")
|
|
375
|
+
print(f"Median CDR3 length: {cdr3_analysis['median_length']:.0f} aa")
|
|
376
|
+
|
|
377
|
+
# Plot distribution
|
|
378
|
+
plt.figure(figsize=(8, 5))
|
|
379
|
+
plt.bar(cdr3_analysis['length_distribution'].index, cdr3_analysis['length_distribution'].values)
|
|
380
|
+
plt.xlabel('CDR3 Length (amino acids)')
|
|
381
|
+
plt.ylabel('Frequency')
|
|
382
|
+
plt.title('CDR3 Length Distribution')
|
|
383
|
+
plt.savefig('cdr3_length_distribution.png', dpi=300)
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
**Amino Acid Composition**
|
|
387
|
+
|
|
388
|
+
```python
|
|
389
|
+
def analyze_cdr3_composition(cdr3_sequences, weights=None):
|
|
390
|
+
"""
|
|
391
|
+
Analyze amino acid composition in CDR3 regions.
|
|
392
|
+
"""
|
|
393
|
+
from collections import Counter
|
|
394
|
+
|
|
395
|
+
if weights is None:
|
|
396
|
+
weights = np.ones(len(cdr3_sequences))
|
|
397
|
+
|
|
398
|
+
# Count amino acids (weighted by clonotype frequency)
|
|
399
|
+
aa_counts = Counter()
|
|
400
|
+
total_aa = 0
|
|
401
|
+
|
|
402
|
+
for seq, weight in zip(cdr3_sequences, weights):
|
|
403
|
+
for aa in seq:
|
|
404
|
+
aa_counts[aa] += weight
|
|
405
|
+
total_aa += weight
|
|
406
|
+
|
|
407
|
+
# Convert to frequencies
|
|
408
|
+
aa_freq = {aa: count / total_aa for aa, count in aa_counts.items()}
|
|
409
|
+
aa_freq_df = pd.DataFrame.from_dict(aa_freq, orient='index', columns=['frequency'])
|
|
410
|
+
aa_freq_df = aa_freq_df.sort_values('frequency', ascending=False)
|
|
411
|
+
|
|
412
|
+
return aa_freq_df
|
|
413
|
+
|
|
414
|
+
# Analyze amino acid composition
|
|
415
|
+
aa_comp = analyze_cdr3_composition(tcr_data['cdr3aa'], weights=tcr_data['count'])
|
|
416
|
+
print("Top 10 amino acids in CDR3:")
|
|
417
|
+
print(aa_comp.head(10))
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### Phase 5: Clonal Expansion Detection
|
|
421
|
+
|
|
422
|
+
**Identify Expanded Clonotypes**
|
|
423
|
+
|
|
424
|
+
```python
|
|
425
|
+
def detect_expanded_clones(clonotypes, threshold_percentile=95):
|
|
426
|
+
"""
|
|
427
|
+
Identify clonally expanded T/B cell populations.
|
|
428
|
+
|
|
429
|
+
Expanded clonotypes = clones above frequency threshold.
|
|
430
|
+
"""
|
|
431
|
+
# Calculate threshold (e.g., 95th percentile)
|
|
432
|
+
threshold = np.percentile(clonotypes['frequency'], threshold_percentile)
|
|
433
|
+
|
|
434
|
+
# Identify expanded clones
|
|
435
|
+
expanded = clonotypes[clonotypes['frequency'] >= threshold].copy()
|
|
436
|
+
expanded = expanded.sort_values('frequency', ascending=False)
|
|
437
|
+
|
|
438
|
+
# Calculate expansion metrics
|
|
439
|
+
total_expanded_freq = expanded['frequency'].sum()
|
|
440
|
+
n_expanded = len(expanded)
|
|
441
|
+
|
|
442
|
+
return {
|
|
443
|
+
'expanded_clonotypes': expanded,
|
|
444
|
+
'n_expanded': n_expanded,
|
|
445
|
+
'expanded_frequency': total_expanded_freq,
|
|
446
|
+
'threshold': threshold
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
# Detect expanded clones
|
|
450
|
+
expansion_result = detect_expanded_clones(clonotypes, threshold_percentile=95)
|
|
451
|
+
|
|
452
|
+
print(f"Detected {expansion_result['n_expanded']} expanded clonotypes")
|
|
453
|
+
print(f"Expanded clones represent {expansion_result['expanded_frequency']*100:.1f}% of repertoire")
|
|
454
|
+
print("\nTop 10 expanded clonotypes:")
|
|
455
|
+
print(expansion_result['expanded_clonotypes'].head(10))
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
**Longitudinal Clonotype Tracking**
|
|
459
|
+
|
|
460
|
+
```python
|
|
461
|
+
def track_clonotypes_longitudinal(timepoint_dataframes, clonotype_col='clonotype'):
|
|
462
|
+
"""
|
|
463
|
+
Track clonotype dynamics across multiple timepoints.
|
|
464
|
+
|
|
465
|
+
Input: List of DataFrames, each representing one timepoint
|
|
466
|
+
"""
|
|
467
|
+
all_timepoints = []
|
|
468
|
+
|
|
469
|
+
for i, df in enumerate(timepoint_dataframes):
|
|
470
|
+
df_copy = df.copy()
|
|
471
|
+
df_copy['timepoint'] = i
|
|
472
|
+
all_timepoints.append(df_copy[[clonotype_col, 'frequency', 'timepoint']])
|
|
473
|
+
|
|
474
|
+
# Merge all timepoints
|
|
475
|
+
merged = pd.concat(all_timepoints, ignore_index=True)
|
|
476
|
+
|
|
477
|
+
# Pivot to wide format
|
|
478
|
+
tracking = merged.pivot(index=clonotype_col, columns='timepoint', values='frequency')
|
|
479
|
+
tracking = tracking.fillna(0) # Absent clonotypes = 0 frequency
|
|
480
|
+
|
|
481
|
+
# Calculate persistence
|
|
482
|
+
tracking['persistence'] = (tracking > 0).sum(axis=1)
|
|
483
|
+
tracking['mean_frequency'] = tracking.iloc[:, :-1].mean(axis=1)
|
|
484
|
+
tracking['max_frequency'] = tracking.iloc[:, :-1].max(axis=1)
|
|
485
|
+
|
|
486
|
+
# Sort by persistence and frequency
|
|
487
|
+
tracking = tracking.sort_values(['persistence', 'max_frequency'], ascending=False)
|
|
488
|
+
|
|
489
|
+
return tracking
|
|
490
|
+
|
|
491
|
+
# Example: Track clonotypes across 3 timepoints
|
|
492
|
+
# timepoints = [tcr_t0, tcr_t1, tcr_t2]
|
|
493
|
+
# tracking = track_clonotypes_longitudinal(timepoints)
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
### Phase 6: Convergence & Public Clonotypes
|
|
497
|
+
|
|
498
|
+
**Detect Convergent Recombination**
|
|
499
|
+
|
|
500
|
+
```python
|
|
501
|
+
def detect_convergent_recombination(df):
|
|
502
|
+
"""
|
|
503
|
+
Identify cases where different nucleotide sequences encode same CDR3 amino acid.
|
|
504
|
+
|
|
505
|
+
Convergent recombination = same CDR3aa from different CDR3nt sequences.
|
|
506
|
+
"""
|
|
507
|
+
# Group by CDR3 amino acid sequence
|
|
508
|
+
convergence = df.groupby('cdr3aa').agg({
|
|
509
|
+
'cdr3nt': lambda x: len(set(x)), # Number of unique nucleotide sequences
|
|
510
|
+
'count': 'sum',
|
|
511
|
+
'frequency': 'sum'
|
|
512
|
+
}).reset_index()
|
|
513
|
+
|
|
514
|
+
# Filter for convergent (>1 nucleotide sequence)
|
|
515
|
+
convergent = convergence[convergence['cdr3nt'] > 1].copy()
|
|
516
|
+
convergent = convergent.rename(columns={'cdr3nt': 'n_nucleotide_variants'})
|
|
517
|
+
convergent = convergent.sort_values('n_nucleotide_variants', ascending=False)
|
|
518
|
+
|
|
519
|
+
return convergent
|
|
520
|
+
|
|
521
|
+
# Detect convergence
|
|
522
|
+
convergent_clones = detect_convergent_recombination(tcr_data)
|
|
523
|
+
print(f"Found {len(convergent_clones)} convergent CDR3 sequences")
|
|
524
|
+
print("\nTop 10 convergent sequences:")
|
|
525
|
+
print(convergent_clones.head(10))
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**Identify Public (Shared) Clonotypes**
|
|
529
|
+
|
|
530
|
+
```python
|
|
531
|
+
def identify_public_clonotypes(sample_dataframes, min_samples=2):
|
|
532
|
+
"""
|
|
533
|
+
Identify public (shared) clonotypes present in multiple samples.
|
|
534
|
+
|
|
535
|
+
Input: List of DataFrames, each representing one sample
|
|
536
|
+
"""
|
|
537
|
+
all_samples = []
|
|
538
|
+
|
|
539
|
+
for i, df in enumerate(sample_dataframes):
|
|
540
|
+
df_copy = df[['clonotype', 'frequency']].copy()
|
|
541
|
+
df_copy['sample_id'] = f'Sample_{i+1}'
|
|
542
|
+
all_samples.append(df_copy)
|
|
543
|
+
|
|
544
|
+
# Merge all samples
|
|
545
|
+
merged = pd.concat(all_samples, ignore_index=True)
|
|
546
|
+
|
|
547
|
+
# Count how many samples each clonotype appears in
|
|
548
|
+
public_counts = merged.groupby('clonotype').agg({
|
|
549
|
+
'sample_id': lambda x: len(set(x)),
|
|
550
|
+
'frequency': 'mean'
|
|
551
|
+
}).reset_index()
|
|
552
|
+
|
|
553
|
+
public_counts = public_counts.rename(columns={'sample_id': 'n_samples'})
|
|
554
|
+
|
|
555
|
+
# Filter for public clonotypes
|
|
556
|
+
public = public_counts[public_counts['n_samples'] >= min_samples].copy()
|
|
557
|
+
public = public.sort_values(['n_samples', 'frequency'], ascending=False)
|
|
558
|
+
|
|
559
|
+
return public
|
|
560
|
+
|
|
561
|
+
# Example: Identify public clonotypes across 5 samples
|
|
562
|
+
# samples = [sample1_tcr, sample2_tcr, sample3_tcr, sample4_tcr, sample5_tcr]
|
|
563
|
+
# public_clonotypes = identify_public_clonotypes(samples, min_samples=3)
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
### Phase 7: Epitope Prediction & Specificity
|
|
567
|
+
|
|
568
|
+
**Query IEDB for Known Epitopes**
|
|
569
|
+
|
|
570
|
+
```python
|
|
571
|
+
def query_epitope_database(cdr3_sequences, organism='human', top_n=10):
|
|
572
|
+
"""
|
|
573
|
+
Query IEDB for known T-cell epitopes matching CDR3 sequences.
|
|
574
|
+
"""
|
|
575
|
+
from tooluniverse import ToolUniverse
|
|
576
|
+
tu = ToolUniverse()
|
|
577
|
+
|
|
578
|
+
epitope_matches = {}
|
|
579
|
+
|
|
580
|
+
for cdr3 in cdr3_sequences[:top_n]: # Limit to top clonotypes
|
|
581
|
+
# Search IEDB for CDR3 sequence
|
|
582
|
+
result = tu.run_one_function({
|
|
583
|
+
"name": "IEDB_search_tcells",
|
|
584
|
+
"arguments": {
|
|
585
|
+
"receptor": cdr3,
|
|
586
|
+
"organism": organism
|
|
587
|
+
}
|
|
588
|
+
})
|
|
589
|
+
|
|
590
|
+
if 'data' in result and 'epitopes' in result['data']:
|
|
591
|
+
epitopes = result['data']['epitopes']
|
|
592
|
+
if len(epitopes) > 0:
|
|
593
|
+
epitope_matches[cdr3] = epitopes
|
|
594
|
+
|
|
595
|
+
return epitope_matches
|
|
596
|
+
|
|
597
|
+
# Query IEDB for top expanded clonotypes
|
|
598
|
+
# top_clones = expansion_result['expanded_clonotypes']['clonotype'].head(10)
|
|
599
|
+
# epitope_matches = query_epitope_database(top_clones)
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
**Predict Epitope Specificity with VDJdb**
|
|
603
|
+
|
|
604
|
+
```python
|
|
605
|
+
def predict_specificity_vdjdb(cdr3_sequences, chain='TRB'):
|
|
606
|
+
"""
|
|
607
|
+
Predict antigen specificity using VDJdb (TCR database).
|
|
608
|
+
|
|
609
|
+
VDJdb contains TCR sequences with known epitope specificity.
|
|
610
|
+
"""
|
|
611
|
+
# Note: ToolUniverse doesn't have VDJdb tool yet
|
|
612
|
+
# This is a placeholder for manual VDJdb query
|
|
613
|
+
|
|
614
|
+
print("Manual VDJdb query required:")
|
|
615
|
+
print("1. Go to https://vdjdb.cdr3.net/search")
|
|
616
|
+
print("2. Search for CDR3 sequences:")
|
|
617
|
+
for cdr3 in cdr3_sequences[:10]:
|
|
618
|
+
print(f" - {cdr3}")
|
|
619
|
+
print("3. Check for matches with known epitopes (virus, tumor antigens)")
|
|
620
|
+
|
|
621
|
+
# Alternative: Use literature search
|
|
622
|
+
from tooluniverse import ToolUniverse
|
|
623
|
+
tu = ToolUniverse()
|
|
624
|
+
|
|
625
|
+
specificity_results = {}
|
|
626
|
+
|
|
627
|
+
for cdr3 in cdr3_sequences[:5]: # Top 5 only
|
|
628
|
+
result = tu.run_one_function({
|
|
629
|
+
"name": "PubMed_search",
|
|
630
|
+
"arguments": {
|
|
631
|
+
"query": f'"{cdr3}" AND (epitope OR antigen OR specificity)',
|
|
632
|
+
"max_results": 10
|
|
633
|
+
}
|
|
634
|
+
})
|
|
635
|
+
|
|
636
|
+
if 'data' in result and 'papers' in result['data']:
|
|
637
|
+
papers = result['data']['papers']
|
|
638
|
+
if len(papers) > 0:
|
|
639
|
+
specificity_results[cdr3] = papers
|
|
640
|
+
|
|
641
|
+
return specificity_results
|
|
642
|
+
|
|
643
|
+
# Predict specificity
|
|
644
|
+
# top_cdr3 = expansion_result['expanded_clonotypes']['clonotype'].head(10)
|
|
645
|
+
# specificity = predict_specificity_vdjdb(top_cdr3)
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
### Phase 8: Integration with Single-Cell Data
|
|
649
|
+
|
|
650
|
+
**Link Clonotypes to Cell Phenotypes**
|
|
651
|
+
|
|
652
|
+
```python
|
|
653
|
+
def integrate_with_single_cell(vdj_df, gex_adata, barcode_col='barcode'):
|
|
654
|
+
"""
|
|
655
|
+
Integrate TCR/BCR clonotypes with single-cell gene expression.
|
|
656
|
+
|
|
657
|
+
Requires:
|
|
658
|
+
- vdj_df: DataFrame with clonotype info (from 10x VDJ)
|
|
659
|
+
- gex_adata: AnnData object with gene expression (from 10x GEX)
|
|
660
|
+
"""
|
|
661
|
+
import scanpy as sc
|
|
662
|
+
|
|
663
|
+
# Create clonotype mapping
|
|
664
|
+
clonotype_map = dict(zip(vdj_df[barcode_col], vdj_df['clonotype']))
|
|
665
|
+
|
|
666
|
+
# Add clonotype info to AnnData
|
|
667
|
+
gex_adata.obs['clonotype'] = gex_adata.obs.index.map(clonotype_map)
|
|
668
|
+
gex_adata.obs['has_clonotype'] = ~gex_adata.obs['clonotype'].isna()
|
|
669
|
+
|
|
670
|
+
# Identify expanded clonotypes
|
|
671
|
+
clonotype_counts = gex_adata.obs['clonotype'].value_counts()
|
|
672
|
+
expanded_clonotypes = clonotype_counts[clonotype_counts > 5].index.tolist()
|
|
673
|
+
|
|
674
|
+
gex_adata.obs['is_expanded'] = gex_adata.obs['clonotype'].isin(expanded_clonotypes)
|
|
675
|
+
|
|
676
|
+
# Visualize on UMAP
|
|
677
|
+
sc.pl.umap(gex_adata, color=['clonotype', 'is_expanded'],
|
|
678
|
+
title=['Clonotype', 'Expanded Clones'])
|
|
679
|
+
|
|
680
|
+
return gex_adata
|
|
681
|
+
|
|
682
|
+
# Example integration
|
|
683
|
+
# integrated_data = integrate_with_single_cell(tcr_10x, gex_adata)
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
**Clonotype-Phenotype Association**
|
|
687
|
+
|
|
688
|
+
```python
|
|
689
|
+
def analyze_clonotype_phenotype(adata, clonotype_col='clonotype', cluster_col='leiden'):
|
|
690
|
+
"""
|
|
691
|
+
Analyze association between clonotypes and cell phenotypes/clusters.
|
|
692
|
+
"""
|
|
693
|
+
import scanpy as sc
|
|
694
|
+
|
|
695
|
+
# Get cells with clonotypes
|
|
696
|
+
cells_with_tcr = adata[~adata.obs[clonotype_col].isna()].copy()
|
|
697
|
+
|
|
698
|
+
# Count clonotypes per cluster
|
|
699
|
+
clonotype_cluster = pd.crosstab(
|
|
700
|
+
cells_with_tcr.obs[clonotype_col],
|
|
701
|
+
cells_with_tcr.obs[cluster_col],
|
|
702
|
+
normalize='index'
|
|
703
|
+
)
|
|
704
|
+
|
|
705
|
+
# Find cluster-specific clonotypes (>80% cells in one cluster)
|
|
706
|
+
cluster_specific = clonotype_cluster[clonotype_cluster.max(axis=1) > 0.8]
|
|
707
|
+
|
|
708
|
+
# Get top expanded clonotypes per cluster
|
|
709
|
+
top_per_cluster = {}
|
|
710
|
+
for cluster in clonotype_cluster.columns:
|
|
711
|
+
top_clonotypes = clonotype_cluster[cluster].sort_values(ascending=False).head(5)
|
|
712
|
+
top_per_cluster[cluster] = top_clonotypes.index.tolist()
|
|
713
|
+
|
|
714
|
+
return {
|
|
715
|
+
'clonotype_cluster_matrix': clonotype_cluster,
|
|
716
|
+
'cluster_specific_clonotypes': cluster_specific,
|
|
717
|
+
'top_clonotypes_per_cluster': top_per_cluster
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
# Analyze clonotype-phenotype associations
|
|
721
|
+
# associations = analyze_clonotype_phenotype(integrated_data)
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
## Advanced Use Cases
|
|
725
|
+
|
|
726
|
+
### Use Case 1: Cancer Immunotherapy Response Analysis
|
|
727
|
+
|
|
728
|
+
```python
|
|
729
|
+
# Compare TCR repertoires before and after immunotherapy
|
|
730
|
+
|
|
731
|
+
# Load baseline and post-treatment samples
|
|
732
|
+
tcr_baseline = load_airr_data("patient_baseline.txt", format='mixcr')
|
|
733
|
+
tcr_post = load_airr_data("patient_post_treatment.txt", format='mixcr')
|
|
734
|
+
|
|
735
|
+
# Define clonotypes
|
|
736
|
+
clones_baseline = define_clonotypes(tcr_baseline, method='vj_cdr3')
|
|
737
|
+
clones_post = define_clonotypes(tcr_post, method='vj_cdr3')
|
|
738
|
+
|
|
739
|
+
# Calculate diversity changes
|
|
740
|
+
div_baseline = calculate_diversity(clones_baseline['count'])
|
|
741
|
+
div_post = calculate_diversity(clones_post['count'])
|
|
742
|
+
|
|
743
|
+
print(f"Baseline diversity: {div_baseline['shannon_entropy']:.2f}")
|
|
744
|
+
print(f"Post-treatment diversity: {div_post['shannon_entropy']:.2f}")
|
|
745
|
+
print(f"Change: {div_post['shannon_entropy'] - div_baseline['shannon_entropy']:.2f}")
|
|
746
|
+
|
|
747
|
+
# Track clonal expansion
|
|
748
|
+
expanded_baseline = detect_expanded_clones(clones_baseline)
|
|
749
|
+
expanded_post = detect_expanded_clones(clones_post)
|
|
750
|
+
|
|
751
|
+
# Identify newly expanded clonotypes
|
|
752
|
+
new_clones = set(expanded_post['expanded_clonotypes']['clonotype']) - \
|
|
753
|
+
set(expanded_baseline['expanded_clonotypes']['clonotype'])
|
|
754
|
+
|
|
755
|
+
print(f"Newly expanded clonotypes: {len(new_clones)}")
|
|
756
|
+
|
|
757
|
+
# Query epitope specificity for newly expanded clones
|
|
758
|
+
epitope_matches = query_epitope_database(list(new_clones)[:10])
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
### Use Case 2: Vaccine Response Tracking
|
|
762
|
+
|
|
763
|
+
```python
|
|
764
|
+
# Track TCR repertoire changes after vaccination
|
|
765
|
+
|
|
766
|
+
timepoints = [
|
|
767
|
+
load_airr_data("pre_vaccine.txt", format='mixcr'),
|
|
768
|
+
load_airr_data("week1_post.txt", format='mixcr'),
|
|
769
|
+
load_airr_data("week4_post.txt", format='mixcr'),
|
|
770
|
+
load_airr_data("week12_post.txt", format='mixcr')
|
|
771
|
+
]
|
|
772
|
+
|
|
773
|
+
# Process each timepoint
|
|
774
|
+
clonotype_dfs = [define_clonotypes(df, method='vj_cdr3') for df in timepoints]
|
|
775
|
+
|
|
776
|
+
# Track longitudinal dynamics
|
|
777
|
+
tracking = track_clonotypes_longitudinal(clonotype_dfs)
|
|
778
|
+
|
|
779
|
+
# Identify persistent vaccine-responding clones
|
|
780
|
+
persistent_clones = tracking[tracking['persistence'] == 4] # Present at all timepoints
|
|
781
|
+
print(f"Persistent clonotypes: {len(persistent_clones)}")
|
|
782
|
+
|
|
783
|
+
# Identify clonotypes that expanded after vaccination
|
|
784
|
+
tracking['fold_change'] = tracking.iloc[:, 3] / (tracking.iloc[:, 0] + 1e-6)
|
|
785
|
+
vaccine_responders = tracking[tracking['fold_change'] > 10]
|
|
786
|
+
print(f"Vaccine-responding clonotypes (>10-fold expansion): {len(vaccine_responders)}")
|
|
787
|
+
```
|
|
788
|
+
|
|
789
|
+
### Use Case 3: Autoimmune Disease Repertoire Analysis
|
|
790
|
+
|
|
791
|
+
```python
|
|
792
|
+
# Compare TCR repertoires between autoimmune patients and healthy controls
|
|
793
|
+
|
|
794
|
+
# Load data
|
|
795
|
+
patient_tcr = load_airr_data("autoimmune_patient.txt", format='mixcr')
|
|
796
|
+
control_tcr = load_airr_data("healthy_control.txt", format='mixcr')
|
|
797
|
+
|
|
798
|
+
# Define clonotypes
|
|
799
|
+
patient_clones = define_clonotypes(patient_tcr, method='vj_cdr3')
|
|
800
|
+
control_clones = define_clonotypes(control_tcr, method='vj_cdr3')
|
|
801
|
+
|
|
802
|
+
# Compare diversity
|
|
803
|
+
div_patient = calculate_diversity(patient_clones['count'])
|
|
804
|
+
div_control = calculate_diversity(control_clones['count'])
|
|
805
|
+
|
|
806
|
+
print(f"Patient clonality: {div_patient['clonality']:.3f}")
|
|
807
|
+
print(f"Control clonality: {div_control['clonality']:.3f}")
|
|
808
|
+
|
|
809
|
+
# Identify disease-specific clonotypes
|
|
810
|
+
patient_specific = set(patient_clones['clonotype']) - set(control_clones['clonotype'])
|
|
811
|
+
print(f"Patient-specific clonotypes: {len(patient_specific)}")
|
|
812
|
+
|
|
813
|
+
# Analyze V(D)J usage bias
|
|
814
|
+
vdj_patient = analyze_vdj_usage(patient_tcr)
|
|
815
|
+
vdj_control = analyze_vdj_usage(control_tcr)
|
|
816
|
+
|
|
817
|
+
# Compare V gene usage
|
|
818
|
+
v_comparison = pd.DataFrame({
|
|
819
|
+
'patient': vdj_patient['v_usage'],
|
|
820
|
+
'control': vdj_control['v_usage']
|
|
821
|
+
}).fillna(0)
|
|
822
|
+
|
|
823
|
+
v_comparison['fold_change'] = (v_comparison['patient'] + 1e-6) / (v_comparison['control'] + 1e-6)
|
|
824
|
+
biased_v_genes = v_comparison[v_comparison['fold_change'] > 2]
|
|
825
|
+
print(f"V genes overrepresented in patient: {len(biased_v_genes)}")
|
|
826
|
+
```
|
|
827
|
+
|
|
828
|
+
### Use Case 4: Single-Cell TCR-seq + RNA-seq Integration
|
|
829
|
+
|
|
830
|
+
```python
|
|
831
|
+
# Integrate TCR clonotypes with T-cell phenotypes
|
|
832
|
+
|
|
833
|
+
import scanpy as sc
|
|
834
|
+
|
|
835
|
+
# Load 10x data
|
|
836
|
+
tcr_10x = load_airr_data("filtered_contig_annotations.csv", format='10x')
|
|
837
|
+
gex_adata = sc.read_10x_h5("filtered_feature_bc_matrix.h5")
|
|
838
|
+
|
|
839
|
+
# Standard single-cell processing
|
|
840
|
+
sc.pp.filter_cells(gex_adata, min_genes=200)
|
|
841
|
+
sc.pp.normalize_total(gex_adata, target_sum=1e4)
|
|
842
|
+
sc.pp.log1p(gex_adata)
|
|
843
|
+
sc.pp.highly_variable_genes(gex_adata, n_top_genes=2000)
|
|
844
|
+
sc.pp.pca(gex_adata)
|
|
845
|
+
sc.pp.neighbors(gex_adata)
|
|
846
|
+
sc.tl.umap(gex_adata)
|
|
847
|
+
sc.tl.leiden(gex_adata)
|
|
848
|
+
|
|
849
|
+
# Integrate TCR data
|
|
850
|
+
integrated = integrate_with_single_cell(tcr_10x, gex_adata)
|
|
851
|
+
|
|
852
|
+
# Analyze clonotype-phenotype associations
|
|
853
|
+
associations = analyze_clonotype_phenotype(integrated)
|
|
854
|
+
|
|
855
|
+
# Identify phenotype of expanded clones
|
|
856
|
+
expanded_cells = integrated[integrated.obs['is_expanded']].copy()
|
|
857
|
+
sc.pl.umap(expanded_cells, color='leiden', title='Phenotype of Expanded Clones')
|
|
858
|
+
|
|
859
|
+
# Find marker genes for expanded vs non-expanded
|
|
860
|
+
sc.tl.rank_genes_groups(integrated, 'is_expanded', method='wilcoxon')
|
|
861
|
+
sc.pl.rank_genes_groups(integrated, n_genes=20)
|
|
862
|
+
```
|
|
863
|
+
|
|
864
|
+
## ToolUniverse Tool Integration
|
|
865
|
+
|
|
866
|
+
**Key Tools Used**:
|
|
867
|
+
- `IEDB_search_tcells` - Known T-cell epitopes
|
|
868
|
+
- `IEDB_search_bcells` - Known B-cell epitopes
|
|
869
|
+
- `PubMed_search` - Literature on TCR/BCR specificity
|
|
870
|
+
- `UniProt_get_protein` - Antigen protein information
|
|
871
|
+
|
|
872
|
+
**Integration with Other Skills**:
|
|
873
|
+
- `tooluniverse-single-cell` - Single-cell transcriptomics
|
|
874
|
+
- `tooluniverse-rnaseq-deseq2` - Bulk RNA-seq analysis
|
|
875
|
+
- `tooluniverse-variant-analysis` - Somatic hypermutation analysis (BCR)
|
|
876
|
+
|
|
877
|
+
## Best Practices
|
|
878
|
+
|
|
879
|
+
1. **Sequencing Depth**: Aim for 10,000+ unique UMIs per sample for bulk TCR-seq; 500+ for single-cell
|
|
880
|
+
|
|
881
|
+
2. **Technical Replicates**: Use biological replicates (n≥3) for statistical comparisons
|
|
882
|
+
|
|
883
|
+
3. **Clonotype Definition**: Use V+J+CDR3aa for most analyses (balances specificity and sensitivity)
|
|
884
|
+
|
|
885
|
+
4. **Diversity Metrics**: Report multiple metrics (Shannon, Simpson, clonality) for comprehensive assessment
|
|
886
|
+
|
|
887
|
+
5. **Rare Clonotypes**: Filter clonotypes with very low frequency (<0.001%) to remove sequencing errors
|
|
888
|
+
|
|
889
|
+
6. **Public Clonotypes**: Check VDJdb, McPAS-TCR databases for known antigen specificities
|
|
890
|
+
|
|
891
|
+
7. **CDR3 Length**: Flag unusual length distributions (may indicate PCR bias or sequencing issues)
|
|
892
|
+
|
|
893
|
+
8. **V(D)J Annotation**: Use high-quality reference databases (IMGT, TRAPeS)
|
|
894
|
+
|
|
895
|
+
9. **Batch Effects**: Correct for batch effects when comparing samples from different runs
|
|
896
|
+
|
|
897
|
+
10. **Functional Validation**: Validate predicted specificities with tetramer staining or functional assays
|
|
898
|
+
|
|
899
|
+
## Troubleshooting
|
|
900
|
+
|
|
901
|
+
**Problem**: Very low diversity (few dominant clonotypes)
|
|
902
|
+
- **Solution**: May indicate clonal expansion (biological) or PCR bias (technical); check sequencing QC
|
|
903
|
+
|
|
904
|
+
**Problem**: Unusual CDR3 length distribution
|
|
905
|
+
- **Solution**: Check for PCR amplification bias; verify primer design
|
|
906
|
+
|
|
907
|
+
**Problem**: Many non-productive sequences
|
|
908
|
+
- **Solution**: May indicate B-cell repertoire or contamination; filter for productive sequences only
|
|
909
|
+
|
|
910
|
+
**Problem**: No matches in epitope databases
|
|
911
|
+
- **Solution**: Most TCR/BCR specificities are unknown; use convergence and public clonotype analysis
|
|
912
|
+
|
|
913
|
+
**Problem**: Low integration rate with single-cell GEX
|
|
914
|
+
- **Solution**: Check cell barcodes match; ensure VDJ and GEX libraries from same cells
|
|
915
|
+
|
|
916
|
+
## References
|
|
917
|
+
|
|
918
|
+
- Dash P, et al. (2017) Quantifiable predictive features define epitope-specific T cell receptor repertoires. Nature
|
|
919
|
+
- Glanville J, et al. (2017) Identifying specificity groups in the T cell receptor repertoire. Nature
|
|
920
|
+
- Stubbington MJT, et al. (2016) T cell fate and clonality inference from single-cell transcriptomes. Nature Methods
|
|
921
|
+
- Vander Heiden JA, et al. (2014) pRESTO: a toolkit for processing high-throughput sequencing raw reads of lymphocyte receptor repertoires. Bioinformatics
|
|
922
|
+
|
|
923
|
+
## Quick Start
|
|
924
|
+
|
|
925
|
+
```python
|
|
926
|
+
# Minimal workflow
|
|
927
|
+
from tooluniverse import ToolUniverse
|
|
928
|
+
|
|
929
|
+
# 1. Load data
|
|
930
|
+
tcr_data = load_airr_data("clonotypes.txt", format='mixcr')
|
|
931
|
+
|
|
932
|
+
# 2. Define clonotypes
|
|
933
|
+
clonotypes = define_clonotypes(tcr_data, method='vj_cdr3')
|
|
934
|
+
|
|
935
|
+
# 3. Calculate diversity
|
|
936
|
+
diversity = calculate_diversity(clonotypes['count'])
|
|
937
|
+
print(f"Shannon entropy: {diversity['shannon_entropy']:.2f}")
|
|
938
|
+
|
|
939
|
+
# 4. Detect expanded clones
|
|
940
|
+
expansion = detect_expanded_clones(clonotypes)
|
|
941
|
+
print(f"Expanded clonotypes: {expansion['n_expanded']}")
|
|
942
|
+
|
|
943
|
+
# 5. Analyze V(D)J usage
|
|
944
|
+
vdj_usage = analyze_vdj_usage(tcr_data)
|
|
945
|
+
|
|
946
|
+
# 6. Query epitope databases
|
|
947
|
+
top_clones = expansion['expanded_clonotypes']['clonotype'].head(10)
|
|
948
|
+
epitopes = query_epitope_database(top_clones)
|
|
949
|
+
```
|