snystrom / memes

An R interface to the MEME Suite
https://snystrom.github.io/memes/
Other
44 stars 5 forks source link

Make informative error message when `parse_genomic_coord` fails #97

Closed snystrom closed 2 years ago

snystrom commented 2 years ago

https://github.com/snystrom/memes/blob/137c56e95c42d2d810f681ed44f523c78e78c57f/R/meme.R#L286

Got an email from a user having an issue parsing fasta files with numeric headers (non-coordinate based) which fails on parse_genomic_coord step of importMeme. Try writing an informative error message hinting that headers are misformatted, or parse_genomic_coord should be FALSE to better help users.

snystrom commented 2 years ago

Duplicate of #100.