Open anamosterin opened 9 years ago
Here's an example FASTA file that triggers the error:
>EPI1198_|_HA_|_A/Hanoi/184/2002_|_EPI_ISL_271_|_AB221016_|_AH3N2
caaaaacttcccggaaatgacaacagcacggcaacgctgtgccttgggcaccatgcagta
The error is definitely being caused by the |
characters in the strain id. When I remove them all from the FASTA above, I get no error. When I use a strain id of >EPI1198|xxx
I get the error.
T,
What's the top level thing you are doing? I have fixed the error you found, but i need to check when the operation is undone (simple names back to the complex names) that that will work too.
D
I was trying to help Ana make trees. There are some shell scripts that call into lisp to do a few things. One, with a name like produces-mafft-...
calls alisp with just a couple of lines of lisp, to load the clinit file and then call MAKE-SIMPLE-IDENTIFIERS-TO-FASTA-NAMES-CORRESPONDENCE-FILE
. So I'm not doing anything complicated or that involves other parts of lispmds.
I (Terry) get the following error when trying to run
MAKE-SIMPLE-IDENTIFIERS-TO-FASTA-NAMES-CORRESPONDENCE-FILE
:Maybe this is due to unexpected characters in the sequence id in the FASTA file. The error is on the first sequence in my file, with id
EPI1198_|_HA_|_A/Hanoi/184/2002_|_EPI_ISL_271_|_AB221016_|_AH3N2
.