@include "rna/_cr_lib_stages.mro"

call WRITE_POS_BAM(
    bam_header                = "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/join-u5f75cf62ad/files/bam_header",
    alignments                = [
        "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/chnk0-u5f75cf62ad/files/pos_sorted.asf",
        "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/chnk1-u5f75cf62ad/files/pos_sorted.asf",
        "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/chnk2-u5f75cf62ad/files/pos_sorted.asf",
        "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/chnk3-u5f75cf62ad/files/pos_sorted.asf",
        "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/cellranger-Aiptasia-pilot_Apo_Sym/SC_RNA_COUNTER_CS/SC_MULTI_CORE/MULTI_GEM_WELL_PROCESSOR/COUNT_GEM_WELL_PROCESSOR/_BASIC_SC_RNA_COUNTER/_MATRIX_COMPUTER/ALIGN_AND_COUNT/fork0/chnk4-u5f75cf62ad/files/pos_sorted.asf",
    ],
    read_chunks               = [
        {
            "chemistry": {
                "barcode": [
                    {
                        "kind": "gel_bead",
                        "length": 16,
                        "offset": 0,
                        "read_type": "R1",
                        "whitelist": {
                            "name": "3M-february-2018_TRU",
                            "part": null,
                            "slide": null,
                            "translation": false,
                            "translation_whitelist_path": null,
                        },
                    },
                ],
                "barcode_extraction": null,
                "description": "Single Cell 3' v3 (polyA)",
                "endedness": "three_prime",
                "name": "SC3Pv3-polyA",
                "rna": {
                    "length": null,
                    "min_length": null,
                    "offset": 0,
                    "read_type": "R2",
                },
                "rna2": null,
                "strandedness": "+",
                "umi": [
                    {
                        "length": 12,
                        "min_length": 10,
                        "offset": 16,
                        "read_type": "R1",
                        "whitelist": null,
                    },
                ],
            },
            "chunk_id": 0,
            "fastq_id": null,
            "fastqs": {
                "i1": "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/pilot_Apo_Sym/Peak_002_GEX2_S1_L001_I1_001.fastq.gz",
                "i2": "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/pilot_Apo_Sym/Peak_002_GEX2_S1_L001_I2_001.fastq.gz",
                "r1": "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/pilot_Apo_Sym/Peak_002_GEX2_S1_L001_R1_001.fastq.gz",
                "r1_interleaved": false,
                "r2": "/oak/stanford/groups/akundaje/marinovg/various/2025-02-27-Tingting-scRNA-seq/pilot_Apo_Sym/Peak_002_GEX2_S1_L001_R2_001.fastq.gz",
            },
            "gem_group": 1,
            "library_id": 0,
            "library_type": "Gene Expression",
            "read_group": "cellranger-Aiptasia-pilot_Apo_Sym:0:1:aaf352fm5:1",
            "read_lengths": {},
            "subsample_rate": null,
            "umi_extractor": {
                "translators": [null],
            },
        },
    ],
    target_set_name           = null,
    sample_barcodes           = null,
    slide_serial_capture_area = null,
)
