When doing
bash get_entities.sh 1 T "sera Ser-," ChEBI
We get:
1 T 0 4 0.278652 sera ChEBI 1
1 T 5 9 0.278652 Ser- ChEBI 1
But sera does not exist on the ChEBI data files. So this does not return anything.
bash get_entities.sh 1 T "sera" ChEBI
And curiously, this happens:
bash get_entities.sh 1 T "sera Ser-" ChEBI
1 T 5 8 0.0897608 Ser ChEBI 1
So is something related to the comma.
The first command shown in this issue should return:
1 T 5 9 0.278652 Ser- ChEBI 1
Because ser- is a ChEBI term.