this leads to error anytime when --seqt path contains anywhere either 'fa' or 'fna' substring because it is then wrongly handled as fasta.file. with following error:
no line starting with a > character found
I would suggest to use standard R library optparse as the custom parsing is not very robust and prone to error.
Petr
Hi, the code of TRASH_run.R test for fasta file based on regular expression ".fa" and ".fna".
this leads to error anytime when --seqt path contains anywhere either 'fa' or 'fna' substring because it is then wrongly handled as fasta.file. with following error:
I would suggest to use standard R library optparse as the custom parsing is not very robust and prone to error. Petr