@include "rna/_cr_lib_stages.mro"

call DETECT_CHEMISTRY as CHEMISTRY_DETECTOR(
    sample_def          = [
        {
            "fastq_mode": "ILMN_BCL2FASTQ",
            "gem_group": null,
            "lanes": null,
            "library_type": "Gene Expression",
            "read_path": "/gpfs/data/yanailab/projects/lp2700/data_raw/Project_Yanai_FCH3HY3BGXT_2023Apr05_fastq/Sample_BS20957A",
            "sample_indices": ["any"],
            "sample_names": ["BS20957A"],
            "subsample_rate": null,
            "target_set": null,
            "target_set_name": null,
        },
    ],
    reference_path      = "/gpfs/data/yanailab/refs/homo_sapiens/hg38_mm10_10X/hg38_and_mm10",
    chemistry_name_spec = "SPATIAL3Pv1",
    allowed_chems       = ["SPATIAL3Pv1"],
    r1_length           = null,
    r2_length           = null,
)
