Skip to contents

Write a FASTQ file from a dataframe of reads

Usage

write.df_to_fastq(df)

Arguments

df

A dataframe containing reads in the format "Header", "Sequence", and "QualityScore".

Value

A FASTQ file with the same name as the input dataframe.

Examples

sample_file_path_two <- system.file("extdata", "sample_fq.fastq", package = "baseq")
read.fastq_to_df(sample_file_path_two)
#> File C:/Users/BSL CTCRI/AppData/Local/Temp/RtmpYlDm86/temp_libpath49301e5117b7/baseq/extdata/sample_fq.fastq assigned as a dataframe with name sample_fq
write.df_to_fastq(sample_fq)
#> Dataframe sample_fq written to FASTQ file sample_fq.fastq