@include "rna/_cr_lib_stages.mro"

call MAKE_SHARD(
    chemistry_def          = {
        barcode: [
            {
                kind:      "gel_bead",
                length:    16,
                offset:    0,
                read_type: "R1",
                whitelist: "737K-august-2016",
            },
        ],
        description:  "Single Cell V(D)J R2-only",
        endedness:    "five_prime",
        name:         "SCVDJ-R2",
        rna: {
            length:     null,
            min_length: null,
            offset:     0,
            read_type:  "R2",
        },
        rna2:         null,
        strandedness: "-",
        umi: {
            length:     10,
            min_length: null,
            offset:     16,
            read_type:  "R1",
        },
    },
    gem_well               = 1,
    read_chunks            = [
        {
            "chemistry": {
                "barcode": [
                    {
                        "kind": "gel_bead",
                        "length": 16,
                        "offset": 0,
                        "read_type": "R1",
                        "whitelist": "737K-august-2016",
                    },
                ],
                "description": "Single Cell V(D)J R2-only",
                "endedness": "five_prime",
                "name": "SCVDJ-R2",
                "rna": {
                    "length": null,
                    "min_length": null,
                    "offset": 0,
                    "read_type": "R2",
                },
                "rna2": null,
                "strandedness": "-",
                "umi": {
                    "length": 10,
                    "min_length": null,
                    "offset": 16,
                    "read_type": "R1",
                },
            },
            "chunk_id": 0,
            "fastq_id": "dimitri_TCR",
            "fastqs": {
                "i1": null,
                "i2": null,
                "r1": "/scratch/etanis/ST-118/FASTQ/dimitri_TCR_S1_L001_R1_001.fastq.gz",
                "r1_interleaved": false,
                "r2": "/scratch/etanis/ST-118/FASTQ/dimitri_TCR_S1_L001_R2_001.fastq.gz",
            },
            "gem_group": 1,
            "library_id": 0,
            "library_type": "VDJ",
            "read_group": "dimitri-multi:0:1:HKLTCBGXL:1",
            "read_lengths": {},
            "subsample_rate": null,
        },
    ],
    r1_length              = null,
    r2_length              = null,
    subsample_rate         = null,
    initial_read_pairs     = null,
    reference_path         = null,
    feature_reference_path = null,
    target_features        = null,
    target_set             = null,
    target_set_name        = null,
    libraries_to_translate = [],
    write_bc_counts_json   = false,
)
