View source: R/fastq_to_fasta.R
fastq_to_fasta | R Documentation |
This function converts a FASTQ file to a FASTA file. The output file has the same name as the input
FASTQ file, but with the extension changed to .fasta
. This function removes the @
symbol at the beginning
of FASTQ sequence names and replaces it with the >
symbol for the FASTA format.
fastq_to_fasta(fastq_file)
fastq_file |
A character string specifying the path to the input FASTQ file. |
A character string specifying the path to the output FASTA file.
sample_file_path_two <- system.file("extdata", "sample_fq.fastq", package = "baseq")
fastq_to_fasta(sample_file_path_two)
# Output: "path/to/library/baseq/extdata/sample_fa.fasta"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.