Singlet
Copyright (c) Singlet contributors. Licensed under the terms in LICENSE.

Third-party data
----------------
python/singlet/data/whitelists/visium-v1.txt, visium-v1_coordinates.tsv, 737K-arc-v1-atac-gex.tsv.gz and
737K-cratac-v1.txt.gz were rebuilt from 10x Genomics public datasets, licensed under Creative Commons Attribution 4.0
International (CC BY 4.0). Source datasets, URLs, checksums and the rebuilding method:
python/singlet/data/whitelists/ATTRIBUTION.md. 10x Genomics does not endorse this software.

Third-party software
--------------------
HLA typing (include/singlet/pipeline/hla_typing.h) runs T1K (Song, Li et al., Genome Research 2023,
github.com/mourisl/T1K), MIT License, Copyright (c) 2021 Li Song, Bo Li, Heng Li. T1K's extractor and genotyper (allele scoring, the EM
over alleles, the filtering of ambiguous reads) decide every genotype; Singlet adds a read prefilter in front of them
and, with the frequency prior, a restricted copy of T1K's IPD-IMGT/HLA index. IPD-IMGT/HLA data: Barker et al.,
Nucleic Acids Research 2023, CC BY-ND 4.0.

data/fusion/arriba/LICENSE: the chimeric table applies Arriba's blacklist (blacklist_hg38_GRCh38_v2.5.1.tsv.gz, fetched by
scripts/fetch_arriba_blacklist.sh, not stored in git). Arriba and its database files are MIT-licensed, copyright Deutsches
Krebsforschungszentrum and Sebastian Uhrig. Uhrig S et al., Genome Research 31:448-460 (2021), doi:10.1101/gr.257246.119.

The donor demultiplexer (include/singlet/pileup/donor_demux.h) reimplements the variational Bayes binomial mixture and the
genotype doublet model of vireo (Huang et al., Genome Biology 20:273, 2019, github.com/single-cell-genetics/vireo),
Apache License 2.0. Vireo and souporcell (Heaton et al., Nature Methods 17:615-620, 2020, MIT License) take the number of
donors as an input and have no rule for rejecting spurious clusters; the MHC guard of the auto-K search is Singlet's own and
no souporcell code is used.

Third-party code
----------------
src/star/ is STAR 2.7.11b by Alexander Dobin (https://github.com/alexdobin/STAR), MIT license: src/star/LICENSE.STAR.
The pileup's STARsolo Gene rules are ports of STAR's own logic and carry the same license and credit:
include/singlet/pileup/tx_compat.h (intron rule 16384) ports alignToTranscript's concordance test from
src/star/Transcriptome_classifyAlign.cpp, and intron rule 32768 (kStarGene, pileup_engine.h and the GPU pileup's
k_annotate / k_resolve) ports Transcriptome::classifyAlign's per-read gene set with SoloReadFeature::record's
one-gene rule (src/star/SoloReadFeature_record.cpp).

python/singlet/features/doublet_scrub.py ports the method of Scrublet (Wolock SL, Lopez R, Klein AM, Cell Systems 8:281-291, 2019;
github.com/swolock/scrublet), MIT License, Copyright (c) 2018 Samuel L Wolock: observed-cell normalisation, the v-score gene filter, simulated doublets,
PCA, the nearest-neighbour doublet score. It feeds the doublet stacker (doublet/score_v2).

include/singlet/fq/parse_bc1.h holds the Parse Biosciences Evercode WT v2 round-1 well table (random-hexamer barcode to the
oligo-dT barcode of the same well) from pachterlab/SBP_2025 (mouse/wells/barcodes/r1_R.txt, r1_T.txt, r1_RT_replace.txt),
BSD 2-Clause License, Copyright (c) 2025, Pachter Lab; the license text is reproduced in the header. No Parse split-pipe code is used.
