Description Usage Arguments Details Author(s)
View source: R/write_demultiplexed_sequences.R
This function will read in a sequence file, parse it given 'multiplexed_data' information and write the parsed files to an output directory. Specify the 'type' as "fasta" or "fastq" and give a sequence file path ('read_file_path') and the output folder path ('out_folder'). Data can either be comressed (into .gz format) or uncompressed.
1 2 | write_demultiplexed_sequences(read_file_path, multiplexed_data, out_folder,
type, read_name_pattern = "[\\w\\:\\-\\+]+", compress = TRUE)
|
read_file_path |
path to sequence file (fasta/q) to be demultiplexed. |
out_folder |
path to output directory. |
type |
character identifying the read class (R1, I1, I2, R2). |
read_name_pattern |
regular expression to be applied to the sequence names for identification. Default: "[\w\:\-\+]+". |
compress |
logical indicating if the output files should be gzip compressed (.gz, default) or uncompressed. |
write_demultiplexed_sequences
will write fasta/q files to an output
directory when supplied with grouping information ('multiplexed_data').
Christopher Nobles, Ph.D.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.