formatAlignments: formatAlignments

Description Usage Arguments Details Value Author(s) See Also

Description

Apply splitMultiAlignments on all loci.

Usage

1
formatAlignments(pattern, prefix, pathin, pathout)

Arguments

pattern

character string that matches the files containing the simulated replicates.

prefix

character string to be appended to each individual file name across all loci

pathin

path (i.e., directory) where the simulated files are located.

pathout

path (i.e., directory) where the the individual replicates will be located.

Details

Given a regexp pattern that match multiple files representing loci of an alignment simulated by seq-gen, this function applies splitMultiAlignments on each of them.

This function may produce a large number of files. If you generated 500 replicates and you have 5 loci, 2,500 files will be generated.

If pathout does not exist, it will be created.

Value

TRUE, but really used for its side effect of generating individual replicate for each locus.

Author(s)

Francois Michonneau

See Also

splitMultiAlignments


fmichonneau/rsowh documentation built on May 16, 2019, 1:47 p.m.