seqFormat-methods: Process the multiple sequence alignment files

Description Usage Arguments Value Note Author(s) Examples

Description

Process the multiple sequence alignment files, the results can be used for the other functional functions. Note that the reference sequence should be included as the first sequence.

Usage

1
seqFormat(x, format = c("clustal","fasta","mase","phylip","msf"))

Arguments

x

multiple sequence alignment files

format

a character string specifying the format of the file: "clustal","fasta","mase","phylip","msf", refer to read.alignment function in seqinr package for details.

Value

A vector of sequences with names is returned.

Note

To ensure an exact result, the reference sequence should be included in the alignment as the first sequence.

Author(s)

Zhenpeng Li

Examples

1
2
examplefile=system.file("extdata","PI_treatment.aln",package="CorMut")
example=seqFormat(examplefile)


Search within the CorMut package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.