hello_world()

Rename fasta sequences provided in file fasta_file using id name. Save results in file new_fasta provided.

Check for id character lenght do not exceed 37 characters as it might be a limitiation in further annotation and subsequent analysis. Read Prokka issue for further details: https://github.com/tseemann/prokka/issues/337.

Parameters:
  • fasta_file (string) – Absolute path to fasta file.

  • name (string) – String to add every fasta sequence header.

  • new_fasta (string) – Name for the new fasta file (Absolute path).

Returns:

Path to tabular delimited file containing conversion from all to new id for each sequence.

Warnings:

Returns FAIL if name is >37 characters.