write.list_to_fasta: Write a list of sequences to a FASTA file

View source: R/write_list_to_fasta.R

write.list_to_fastaR Documentation

Write a list of sequences to a FASTA file

Description

This function takes a list of sequences and writes them to a FASTA file. The name of the list is used as the base name for the output file with the .fasta extension. Each sequence in the list is written to the output file in FASTA format with the sequence name as the header.

Usage

write.list_to_fasta(sequence_list)

Arguments

sequence_list

A list of sequences where each element of the list is a character string representing a single sequence.

Examples

sequences <- list("ACGT", "ATCG")
write.list_to_fasta(sequences)


ambu-vijayan/baseq documentation built on May 6, 2023, 10:31 p.m.