read_sequences_from_fasta

Function read_sequences_from_fasta 

Source
pub fn read_sequences_from_fasta(
    filename: &str,
) -> Result<Vec<(String, String)>>
Expand description

Read sequences from a multi-FASTA file

§Arguments

  • filename_prefix: str to be used as prefix for output files
  • codon_data: The codon counts to be written
  • amino_acid_data: The amino acid counts to be written

§Returns

A result with two output files: prefix_codon.csv for codons and prefix_amino_acids.csv for amino acids