mergeAlignment: Merge alignment files.

Description Usage Arguments Details Value Author(s)

Description

Merge alignment files from identical markers.

Usage

1
mergeAlignment(listFiles, output, seqFolder)

Arguments

listFiles

a list of fasta files to be put in the same file. The path should be omitted and specified with the argument ‘seqFolder’.

output

the path and name of the output file.

seqFolder

the folder that holds the fasta files specified by ‘listFiles’.

Details

Given a list of alignment files, this function puts them together in a single file. The alignmenents must be from the same marker to be relevant. Additionally, if the alignment want to be preserved, they must be of the same length. Otherwise, you'll need to re-run an alignment program on the output file of this function. This function tests that the specified ‘output’ file doesn't exist. If it does, the function stops with an error.

Value

TRUE if the function succeeded. This function is mostly used for its side effect of merging different sequences/alignments.

Author(s)

Francois Michonneau


fmichonneau/chopper documentation built on May 16, 2019, 1:43 p.m.