Learn R Programming

seqmagick (version 0.1.1)

fa_to_interleaved: fa_to_interleaved

Description

convert fasta file to interleaved format

convert fasta file to sequential format

Usage

fa_to_interleaved(file, outfile)

fa_to_sequential(file, outfile)

Arguments

file

fasta file

outfile

output file

Value

None

None

Examples

Run this code
# NOT RUN {
fa_file <- system.file("extdata/HA.fas", package="seqmagick")
fa1 <- tempfile(fileext = '.fa')
fa2 <- tempfile(fileext = '.fa')
fa_to_interleaved(fa_file, fa1)
fa_to_sequential(fa_file, fa2)
# }

Run the code above in your browser using DataLab