Learn R Programming

seqmagick (version 0.1.7)

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)

Value

None

None

Arguments

file

fasta file

outfile

output file

Author

Guangchuang Yu

Examples

Run this code
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