INNER CODE UNIT · Python
addbarcodes
timoast/sinto · sinto/addbarcodes.py:81
def addbarcodes(cb_position, fq1, fq2, fq3=None, prefix="", suffix="", wl=None):
"""Add cell barcode to read names
Parameters
----------
cb_position : int
Base positions containing cell barcode information
fq1 : str
Fastq file containing cell barcode sequences
fq2 : str
Fastq file to add cell barcodes to
fq3 : str
Fastq file to add cell barcodes to (optional)
prefix : str
Prefix to append to cell barcodes
suffix : str
Suffix to append to cell barcodes
"""