data-beans 0.12.0

Sparse genomics data backends, QC, algorithms, and simulation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
//! `from-mtx`, `from-h5ad`, `from-10x-matrix` and `from-10x-molecule`: the
//! command-line face of `data_beans::import`. Each turns its flags into the
//! library's options, stages the build there, and keeps it as
//! [`run_import`] does: after the import preview on a terminal.

use super::{run_import, Squeeze};
use crate::import::{self, MtxImport, Output};
use crate::sparse_io::SparseIoBackend;

use clap::Args;

/// The library's [`Output`] for `-o`, `--backend` and `--no-zip`;
/// [`run_import`] adds the squeeze.
fn output(output: &str, backend: &SparseIoBackend, zip: bool) -> Output {
    Output {
        backend: backend.clone(),
        zip,
        ..Output::new(output)
    }
}

#[derive(Args, Debug)]
pub struct FromMtxArgs {
    /// matrix market-formatted data file (`.mtx.gz` or `.mtx`)
    pub mtx: Box<str>,

    /// row/feature name file (name per each line; `.tsv.gz` or `.tsv`).
    /// For 10x `features.tsv[.gz]` the columns are `id`, `name`, `feature_type`;
    /// the third column, when present, is used for `--select-row-type` /
    /// `--remove-row-type` / `--hto-row-type` filtering.
    #[arg(short, long)]
    pub row: Option<Box<str>>,

    /// column/cell/barcode file (name per each line; `.tsv.gz` or `.tsv`)
    #[arg(short, long)]
    pub col: Option<Box<str>>,

    /// backend for the output file
    #[arg(long, value_enum, default_value = "zarr")]
    pub backend: SparseIoBackend,

    /// output file header: {output}.zarr.zip by default; pass --no-zip to keep a {output}.zarr directory
    #[arg(short, long)]
    pub output: Box<str>,

    /// keep a `.zarr` directory instead of producing a `.zarr.zip` archive
    #[arg(long = "no-zip", default_value_t = true, action = clap::ArgAction::SetFalse)]
    pub zip: bool,

    /// maximum number of columns to read from the row/feature name file
    /// (columns are joined with '_'); e.g. 2 reads "ENSG…<tab>SYMBOL"
    #[arg(long, default_value_t = 2)]
    pub row_name_columns: usize,

    /// Comma-separated patterns; row is kept if its feature_type (column 3
    /// of `--row`) contains ANY of them (case-insensitive). Default
    /// `Gene Expression,Peaks` covers both 10x scRNA and 10x ATAC.
    /// Set to empty to keep everything.
    #[arg(long, default_value = "Gene Expression,Peaks")]
    pub select_row_type: Box<str>,

    /// Drop rows whose feature_type contains this string. Applied after
    /// `--select-row-type`.
    #[arg(long, default_value = "")]
    pub remove_row_type: Box<str>,

    /// Feature type used as HTO/multiplexing tags (e.g. `Antibody Capture`).
    /// When set, each cell is assigned a batch label `barcode@{id}_{name}`
    /// based on the HTO row with the highest count. HTO rows are then
    /// removed from the final backend and cells with zero HTO signal are
    /// dropped.
    #[arg(long, default_value = "")]
    pub hto_row_type: Box<str>,

    /// squeeze
    #[arg(long, default_value_t = false)]
    pub do_squeeze: bool,

    /// minimum number of non-zero cutoff for rows
    #[arg(long, default_value_t = 1)]
    pub row_nnz_cutoff: usize,

    /// minimum number of non-zero cutoff for columns
    #[arg(long, default_value_t = 1)]
    pub column_nnz_cutoff: usize,

    /// Cells per rayon job for the post-build squeeze pass.
    /// Omit for auto-scaling by feature count.
    #[arg(long)]
    pub block_size: Option<usize>,

    #[command(flatten)]
    pub view: crate::handlers::explore::PlanArgs,
}

/// `from-mtx`: [`import::from_mtx`].
pub fn run_build_from_mtx(args: &FromMtxArgs) -> anyhow::Result<()> {
    // The session first: hosted, the build runs there.
    let session = args.view.session("from-mtx")?;
    let mtx = MtxImport {
        row: args.row.clone(),
        col: args.col.clone(),
        row_name_columns: args.row_name_columns,
        select_row_type: args.select_row_type.clone(),
        remove_row_type: args.remove_row_type.clone(),
        hto_row_type: args.hto_row_type.clone(),
        ..MtxImport::new(&args.mtx)
    };
    let out = output(&args.output, &args.backend, args.zip);
    let squeeze = Squeeze::new(
        args.do_squeeze,
        args.row_nnz_cutoff,
        args.column_nnz_cutoff,
        args.block_size,
    );
    run_import(
        "from-mtx",
        session.as_ref(),
        &mtx,
        out,
        squeeze,
        import::from_mtx,
        import::stage_mtx,
    )
}

#[cfg(feature = "hdf5")]
pub use hdf5_formats::*;

#[cfg(feature = "hdf5")]
mod hdf5_formats {
    use super::{output, run_import, Squeeze};
    use crate::convert::MatrixLayout;
    use crate::import::{self, H5adImport, TenxMatrixImport, TenxMoleculeImport};
    use crate::sparse_io::SparseIoBackend;
    use crate::sparse_util::IndexPointerType;

    use clap::Args;

    #[derive(Args, Debug)]
    pub struct FromH5adArgs {
        #[arg(
            help = "Input AnnData h5ad file",
            long_help = "Specify the AnnData h5ad file (CELLxGENE schema v7). Expected layout:\n\
                         X/{data,indices,indptr}, obs/, var/. Prefers raw/X over X when available."
        )]
        pub h5ad_file: Box<str>,

        #[arg(
            long,
            value_enum,
            default_value = "zarr",
            help = "Backend format for output",
            long_help = "Choose the backend format for the output file."
        )]
        pub backend: SparseIoBackend,

        #[arg(
            short,
            long,
            help = "Output file header or name",
            long_help = "Specify the output file header.\n\
                         The zarr backend produces {output}.zarr.zip by default;\n\
                         pass --no-zip to keep a {output}.zarr directory instead.\n\
                         Metadata files will be named {output}.cell_metadata.tsv.gz, etc."
        )]
        pub output: Box<str>,

        /// keep a `.zarr` directory instead of producing a `.zarr.zip` archive
        #[arg(long = "no-zip", default_value_t = true, action = clap::ArgAction::SetFalse)]
        pub zip: bool,

        #[arg(
            long,
            value_delimiter = ',',
            default_values_t = [Box::<str>::from("_index"), Box::from("gene_id")],
            help = "var/ field(s) for feature ID (fallback list)",
            long_help = "Comma-separated list of var/ dataset names to try for the feature ID (e.g. Ensembl ID).\n\
                         The first one found is used. `_index` is the index of var/,\n\
                         under whatever name the file stores it. Default: '_index,gene_id'."
        )]
        pub row_id_field: Vec<Box<str>>,

        #[arg(
            long,
            value_delimiter = ',',
            default_values_t = [Box::<str>::from("feature_name"), Box::from("gene_name")],
            help = "var/ field(s) for gene symbol (fallback list)",
            long_help = "Comma-separated list of var/ column names to try for the gene symbol.\n\
                         The first column found is used.\n\
                         Joined with the ID to form 'ID_SYMBOL' row names. Default:\n\
                         'feature_name,gene_name'."
        )]
        pub row_name_field: Vec<Box<str>>,

        #[arg(
            long,
            value_delimiter = ',',
            default_values_t = [Box::<str>::from("_index"), Box::from("cell")],
            help = "obs/ field(s) for cell barcode (fallback list)",
            long_help = "Comma-separated list of obs/ dataset names to try for the cell barcode.\n\
                         The first one found is used. `_index` is the index of obs/,\n\
                         under whatever name the file stores it. Default: '_index,cell'."
        )]
        pub col_name_field: Vec<Box<str>>,

        #[arg(
            long,
            default_value = "",
            help = "Select row type (biotype) for filtering",
            long_help = "Filter features by biotype (e.g., 'protein_coding', 'lncRNA').\n\
                         Leave empty to keep all features (default).\n\
                         CELLxGENE uses biotype annotations rather than 'Gene Expression'."
        )]
        pub select_row_type: Box<str>,

        #[arg(
            long,
            default_value = "",
            help = "Remove row type",
            long_help = "Remove rows if their biotype contains this value."
        )]
        pub remove_row_type: Box<str>,

        #[arg(
            long,
            default_value_t = false,
            help = "Squeeze sparse rows or columns",
            long_help = "Enable squeezing to remove rows and columns with too few non-zeros."
        )]
        pub do_squeeze: bool,

        #[arg(
            long,
            default_value_t = 1,
            help = "Row non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for rows."
        )]
        pub row_nnz_cutoff: usize,

        #[arg(
            long,
            default_value_t = 1,
            help = "Column non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for columns."
        )]
        pub column_nnz_cutoff: usize,

        #[arg(
            long,
            help = "Cells per rayon job for the post-build squeeze pass",
            long_help = "Cells per rayon job for the post-build squeeze pass.\n\
                         Omit it for auto-scaling by feature count."
        )]
        pub block_size: Option<usize>,

        #[command(flatten)]
        pub view: crate::handlers::explore::PlanArgs,
    }

    /// `from-h5ad`: [`import::from_h5ad`].
    pub fn run_build_from_h5ad(args: &FromH5adArgs) -> anyhow::Result<()> {
        let session = args.view.session("from-h5ad")?;
        let h5ad = H5adImport {
            row_id_field: args.row_id_field.clone(),
            row_name_field: args.row_name_field.clone(),
            col_name_field: args.col_name_field.clone(),
            select_row_type: args.select_row_type.clone(),
            remove_row_type: args.remove_row_type.clone(),
            ..H5adImport::new(&args.h5ad_file)
        };
        let out = output(&args.output, &args.backend, args.zip);
        let squeeze = Squeeze::new(
            args.do_squeeze,
            args.row_nnz_cutoff,
            args.column_nnz_cutoff,
            args.block_size,
        );
        run_import(
            "from-h5ad",
            session.as_ref(),
            &h5ad,
            out,
            squeeze,
            import::from_h5ad,
            import::stage_h5ad,
        )
    }

    #[derive(Args, Debug)]
    pub struct From10xMatrixArgs {
        #[arg(
            help = "Input HDF5 file containing sparse matrix triplets",
            long_help = "Specify the HDF5 file where triplets of sparse matrix data are stored.\n\
                         Supports 10X Genomics and H5AD formats."
        )]
        pub h5_file: Box<str>,

        #[arg(
            long,
            value_enum,
            default_value = "zarr",
            help = "Backend format for output",
            long_help = "Choose the backend format for the output file.\n\
                         Supported formats include 'zarr' and 'h5'"
        )]
        pub backend: SparseIoBackend,

        #[arg(
            short,
            long,
            help = "Output file header or name",
            long_help = "Specify the output file header.\n\
                         The zarr backend produces {output}.zarr.zip by default;\n\
                         pass --no-zip to keep a {output}.zarr directory instead.\n\
                         Redundant {backend} names will be ignored."
        )]
        pub output: Box<str>,

        /// keep a `.zarr` directory instead of producing a `.zarr.zip` archive
        #[arg(long = "no-zip", default_value_t = true, action = clap::ArgAction::SetFalse)]
        pub zip: bool,

        #[arg(
            short = 'x',
            long,
            default_value = MatrixLayout::H5_ROOT,
            help = "Root group name for sparse data triplets",
            long_help = "Set the root group name under which sparse data triplets are stored in the HDF5 file.\n\
                         Use the 'list-h5' command to inspect available groups."
        )]
        pub root_group_name: Box<str>,

        #[arg(
            short = 'd',
            long,
            default_value = MatrixLayout::H5_DATA,
            help = "Data field name",
            long_help = "Name of the dataset containing triplet values X(i,j) under the root group."
        )]
        pub data_field: Box<str>,

        #[arg(
            short = 'i',
            long,
            default_value = MatrixLayout::H5_INDICES,
            help = "Indices field name",
            long_help = "Name of the dataset containing indices. Row indices for CSC,\n\
                         column indices for CSR, under the root group."
        )]
        pub indices_field: Box<str>,

        #[arg(
            short = 'p',
            long,
            default_value = MatrixLayout::H5_INDPTR,
            help = "Indptr field name",
            long_help = "Name of the dataset containing indptr. Column pointers for CSC,\n\
                         row pointers for CSR, under the root group."
        )]
        pub indptr_field: Box<str>,

        #[arg(
            short = 't',
            long,
            value_enum,
            default_value = "column",
            help = "Pointer type (row or column)",
            long_help = "Specify whether the pointers are for row (gene) or column (cell) indices."
        )]
        pub pointer_type: IndexPointerType,

        #[arg(
            short = 'r',
            long,
            default_value = MatrixLayout::H5_ROW_IDS,
            help = "Row ID field name",
            long_help = "Group or dataset name for row, gene, or feature IDs under the root group."
        )]
        pub row_id_field: Box<str>,

        #[arg(
            short = 'n',
            long,
            default_value = MatrixLayout::H5_ROW_NAMES,
            help = "Row name field name",
            long_help = "Group or dataset name for row, gene,\n\
                         or feature names under the root group."
        )]
        pub row_name_field: Box<str>,

        #[arg(
            short = 'f',
            long,
            default_value = MatrixLayout::H5_ROW_TYPES,
            help = "Row type field name",
            long_help = "Group or dataset name for row, gene,\n\
                         or feature types under the root group."
        )]
        pub row_type_field: Box<str>,

        #[arg(
            long,
            default_value = MatrixLayout::SELECT_ROW_TYPES,
            help = "Select row type (comma-separated patterns; ANY match keeps the row)",
            long_help = "Select which row types to include. Patterns are comma-separated,\n\
                         case-insensitive substrings.\n\
                         A row is kept if its type contains any pattern.\n\
                         The default 'gene,peak' keeps Gene Expression and ATAC Peaks."
        )]
        pub select_row_type: Box<str>,

        #[arg(
            long,
            default_value = MatrixLayout::REMOVE_ROW_TYPES,
            help = "Remove row type (comma-separated patterns; ANY match drops the row)",
            long_help = "Remove rows if their type contains any of these comma-separated patterns."
        )]
        pub remove_row_type: Box<str>,

        #[arg(
            short = 'c',
            long,
            default_value = MatrixLayout::H5_COLUMN_NAMES,
            help = "Column name field",
            long_help = "Group or dataset name for columns or cells under the root group."
        )]
        pub column_name_field: Box<str>,

        #[arg(
            long,
            default_value_t = false,
            help = "Squeeze sparse rows or columns",
            long_help = "Enable squeezing to remove rows and columns with too few non-zeros.\n\
                         This can help reduce file size and improve performance."
        )]
        pub do_squeeze: bool,

        #[arg(
            long,
            default_value_t = 1,
            help = "Row non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for rows.\n\
                         Rows with fewer non-zeros will be removed if squeezing is enabled."
        )]
        pub row_nnz_cutoff: usize,

        #[arg(
            long,
            default_value_t = 1,
            help = "Column non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for columns.\n\
                         Columns with fewer non-zeros will be removed if squeezing is enabled."
        )]
        pub column_nnz_cutoff: usize,

        #[arg(
            long,
            help = "Cells per rayon job for the post-build squeeze pass",
            long_help = "Cells per rayon job for the post-build squeeze pass.\n\
                         Omit it for auto-scaling by feature count."
        )]
        pub block_size: Option<usize>,

        #[command(flatten)]
        pub view: crate::handlers::explore::PlanArgs,
    }

    /// `from-10x-matrix`: [`import::from_10x_matrix`].
    pub fn run_build_from_10x_matrix(args: &From10xMatrixArgs) -> anyhow::Result<()> {
        let session = args.view.session("from10x-matrix")?;
        let h5 = TenxMatrixImport {
            root_group: args.root_group_name.clone(),
            layout: MatrixLayout {
                data_field: args.data_field.clone(),
                indices_field: args.indices_field.clone(),
                indptr_field: args.indptr_field.clone(),
                pointer_type: args.pointer_type,
                row_id_field: args.row_id_field.clone(),
                row_name_field: args.row_name_field.clone(),
                row_type_field: args.row_type_field.clone(),
                select_row_type: args.select_row_type.clone(),
                remove_row_type: args.remove_row_type.clone(),
                column_name_field: args.column_name_field.clone(),
            },
            ..TenxMatrixImport::new(&args.h5_file)
        };
        let out = output(&args.output, &args.backend, args.zip);
        let squeeze = Squeeze::new(
            args.do_squeeze,
            args.row_nnz_cutoff,
            args.column_nnz_cutoff,
            args.block_size,
        );
        run_import(
            "from10x-matrix",
            session.as_ref(),
            &h5,
            out,
            squeeze,
            import::from_10x_matrix,
            import::stage_10x_matrix,
        )
    }

    #[derive(Args, Debug)]
    pub struct From10xMoleculeArgs {
        #[arg(
            help = "Input 10X molecule_info.h5 file",
            long_help = "Specify the molecule_info.h5 file from Cell Ranger count/multi.\n\
                         Contains per-molecule data: barcode_idx, feature_idx, count, gem_group,\n\
                         etc."
        )]
        pub h5_file: Box<str>,

        #[arg(
            long,
            value_enum,
            default_value = "zarr",
            help = "Backend format for output",
            long_help = "Choose the backend format for the output file."
        )]
        pub backend: SparseIoBackend,

        #[arg(
            short,
            long,
            help = "Output file header or name",
            long_help = "Specify the output file header.\n\
                         The zarr backend produces {output}.zarr.zip by default;\n\
                         pass --no-zip to keep a {output}.zarr directory instead."
        )]
        pub output: Box<str>,

        /// keep a `.zarr` directory instead of producing a `.zarr.zip` archive
        #[arg(long = "no-zip", default_value_t = true, action = clap::ArgAction::SetFalse)]
        pub zip: bool,

        #[arg(
            long,
            default_value = "Gene Expression",
            help = "Library type to include",
            long_help = "Filter molecules to only those from libraries of this type. Common types:\n\
                         'Gene Expression', 'Antibody Capture', 'CRISPR Guide Capture'.\n\
                         Reads library_info JSON to determine which library indices match."
        )]
        pub library_type: Box<str>,

        #[arg(
            long,
            default_value = "",
            help = "Select row type (feature_type)",
            long_help = "Filter features by type.\n\
                         Rows are included if their type contains this value.\n\
                         Empty (default) keeps all features. 10X uses 'Gene Expression',\n\
                         'Antibody Capture', etc."
        )]
        pub select_row_type: Box<str>,

        #[arg(
            long,
            default_value = "",
            help = "Remove row type",
            long_help = "Remove rows if their type contains this value.\n\
                         Empty (default) removes nothing."
        )]
        pub remove_row_type: Box<str>,

        #[arg(
            long,
            default_value_t = false,
            help = "Skip pass_filter and include all barcodes",
            long_help = "By default,\n\
                         only barcodes that passed Cell Ranger cell calling are included.\n\
                         Set this flag to include ALL barcodes with at least one molecule."
        )]
        pub no_pass_filter: bool,

        #[arg(
            long,
            default_value_t = false,
            help = "Sum read counts instead of counting molecules (UMIs)",
            long_help = "By default each entry is the number of molecules (UMIs) of a\n\
                         feature in a barcode, as in Cell Ranger's feature-barcode\n\
                         matrices. With this flag it is the sum of their read counts."
        )]
        pub sum_reads: bool,

        #[arg(
            long,
            default_value_t = false,
            help = "Squeeze sparse rows or columns",
            long_help = "Enable squeezing to remove rows and columns with too few non-zeros."
        )]
        pub do_squeeze: bool,

        #[arg(
            long,
            default_value_t = 1,
            help = "Row non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for rows."
        )]
        pub row_nnz_cutoff: usize,

        #[arg(
            long,
            default_value_t = 1,
            help = "Column non-zero cutoff",
            long_help = "Minimum number of non-zero elements required for columns."
        )]
        pub column_nnz_cutoff: usize,

        #[arg(
            long,
            help = "Cells per rayon job for the post-build squeeze pass",
            long_help = "Cells per rayon job for the post-build squeeze pass.\n\
                         Omit it for auto-scaling by feature count."
        )]
        pub block_size: Option<usize>,

        #[command(flatten)]
        pub view: crate::handlers::explore::PlanArgs,
    }

    /// `from-10x-molecule`: [`import::from_10x_molecule`].
    pub fn run_build_from_10x_molecule(args: &From10xMoleculeArgs) -> anyhow::Result<()> {
        let session = args.view.session("from10x-molecule")?;
        let h5 = TenxMoleculeImport {
            library_type: args.library_type.clone(),
            select_row_type: args.select_row_type.clone(),
            remove_row_type: args.remove_row_type.clone(),
            pass_filter: !args.no_pass_filter,
            sum_reads: args.sum_reads,
            ..TenxMoleculeImport::new(&args.h5_file)
        };
        let out = output(&args.output, &args.backend, args.zip);
        let squeeze = Squeeze::new(
            args.do_squeeze,
            args.row_nnz_cutoff,
            args.column_nnz_cutoff,
            args.block_size,
        );
        run_import(
            "from10x-molecule",
            session.as_ref(),
            &h5,
            out,
            squeeze,
            import::from_10x_molecule,
            import::stage_10x_molecule,
        )
    }

    #[cfg(test)]
    mod h5ad_tests;
    #[cfg(test)]
    mod molecule_tests;
}