readFasta(String file, Object options, SequenceType sequenceType)

A function that parses an alignment from a fasta file.

Parameters

  • String file - the name of fasta file including path, which contains an alignment.
  • Object options - (optional) the map containing optional arguments and their values for reuse.
  • SequenceType sequenceType - (optional) the sequence type for sequences in the fasta format, default to guess the type between Nucleotide and Amino Acid.

Return type

Alignment

Examples

  • covidDPG.lphy