View source: R/scAPAtrap_funlib.R
extractBcAndUb | R Documentation |
Extract barcode and UMI in reads with umi_tools
extractBcAndUb(umitools.path, pattern, input.seq, whitelist, ...)
umitools.path |
The path of the umi_tools. |
pattern |
The pattern used to represent barcode and UMI (e.g If the barcode length is 8 and the UMI length is 4, then the pattern=CCCCCCCCNNNN) |
input.seq |
Path of the fastq file, which must contain two paths with the first one recording barcode and UMI information. |
whitelist |
whitelist barcode. |
... |
Arguments passed to other methods and/or advanced arguments. Advanced arguments:
|
The path of Read2 (<input.seq[2]>.extracted.fastq)
umitools.path <- '/home/dell/miniconda3/envs/scAPA/bin/umi_tools'
input.seq <- c('./fastq/SRR1610598_1.fastq','./fastq/SRR1610598_2.fastq')
pattern <- 'CCCCCCCCNNNN'
whitelist <- './fastq/whitelist.txt'
## Not run:
extractBcAndUb(umitools.path, pattern, input.seq, whitelist)
## End(Not run)
extractBcAndUb(umitools.path, pattern, input.seq, whitelist, notRun=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.