save_alignments: Save alignments to FASTA files

View source: R/io.R

save_alignmentsR Documentation

Save alignments to FASTA files

Description

Take a list of alignments, one per locus, and save each to a separate FASTA file in a specified directory. If any of the per-locus alignment objects is NA it will be skipped. These are produced by summarize_dataset via align_alleles.

Usage

save_alignments(alignments, dp)

Arguments

alignments

list of MSA alignment objects, such as created by summarize_dataset via align_alleles. The name of each alignment will be used for its filename.

dp

output directory path.


ShawHahnLab/chiimp documentation built on Aug. 20, 2023, 1:41 a.m.