epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
315 stars 105 forks source link

FASTA export: 80 chars limit #1843

Closed even1024 closed 5 months ago

even1024 commented 6 months ago

Background FASTA specification recommends to make sequence strings shorter than 80 characters

Solution Implement 80 chars limit formatting for exported sequences.

Example:

>MCHU - Calmodulin - Human, rabbit, bovine, rat, and chicken
MADQLTEEQIAEFKEAFSLFDKDGDGTITTKELGTVMRSLGQNPTEAELQDMINEVDADGNGTID
FPEFLTMMARKMKDTDSEEEIREAFRVFDKDGNGYISAAELRHVMTNLGEKLTDEEVDEMIREAD
IDGDGQVNYEEFVQMMTAK*
AlexeyGirin commented 4 months ago

Verified. image