align_sequence_test.py
: Tests for sequence alignment functionalitycall_alleles_test.py
: Tests for allele calling from aligned sequencescall_lineage_groups_test.py
: Tests for lineage group assignmentcharacter_matrix_test.py
: Tests for converting allele tables to character matricescollapse_umi_test.py
: Tests for UMI collapsing functionalityconfig_parser_test.py
: Tests for parsing configuration filesalign_sequence_test.py
: Tests sequence alignment with different parameters and methods.call_alleles_test.py
: Verifies correct allele calling from CIGAR strings and aligned sequences.call_lineage_groups_test.py
: Checks lineage group assignment, including handling of doublets and reassignment.character_matrix_test.py
: Tests conversion of allele tables to character matrices and lineage profiles.collapse_umi_test.py
: Verifies UMI collapsing for different sequencing chemistries.config_parser_test.py
: Ensures correct parsing of configuration files and pipeline setup.convert_fastqs_to_unmapped_bam_test.py
: Tests conversion of FASTQ files to unmapped BAM files.error_correct_cellbcs_to_whitelist_test.py
: Checks error correction of cell barcodes against a whitelist.error_correct_intbcs_to_whitelist_test.py
: Verifies error correction of integration barcodes.error_correct_umi_test.py
: Tests UMI error correction functionality.filter_bam_test.py
: Checks filtering of BAM files based on read quality.filter_molecule_table_test.py
: Tests filtering of molecule tables based on various criteria.resolve_umi_sequence_test.py
: Verifies UMI sequence resolution and cell filtering.unittest
: Python’s built-in unit testing frameworknumpy
: For numerical operationspandas
: For data manipulation and analysispysam
: For reading and manipulating SAM/BAM filescassiopeia
: The main package being testedos
, shutil
, tempfile
: For file and directory operationspathlib
: For handling file pathsngs_tools
: For FASTQ file handlingsetUp
methods of test classes. Some tests also read configuration files to verify the correct parsing of pipeline settings.
The tests cover various configuration scenarios, including: