match_cell_barcode {FLAMES} | R Documentation

## Match Cell Barcodes

### Description

Match cell barcodes in the given fastq directory with the reference csv, `ref_csv`. Matches are returned in the output file `out_fastq`

### Usage

    match_cell_barcode(
      fastq_dir,
      stats_file,
      out_fastq,
      ref_csv,
      MAX_DIST,
      UMI_LEN = 10L
    )

### Arguments

`fastq_dir` | directory containing fastq files to match
`stats_file` | NEEDED
`out_fastq` | output filename for matched barcodes
`ref_csv` | NEEDED
`MAX_DIST` | int; maximum edit distance
`UMI_LEN` | int; length of UMI sequences

### Value

returns NULL

[Package FLAMES version 1.0.2 Index]