MigleSur/GenAPI

sed: -e expression #1, char 17: unknown command: `m'

DeenSm opened this issue · 1 comments

Hi MigleSur,

I'm trying to get GenAPI to work on gff files produced by bakta but I keep getting the following message

Warning: The following lines have no ID and will be excluded from the analysis:
Annotated with Bakta
Software: v1.7.0
Database: v5.0
DOI: 10.1099/mgen.0.000685
sed: -e expression #1, char 17: unknown command: `m'

I have tried the test_sample data and this works fine, so not sure what is it about my gff files it doesn't like.

Any advice would be much appreciated.

Thanks

Hi MigleSur,

found the issue, there were additional lines at the top of Bakta generated .gff files. By using: sed -i '2,7d' to remove lines 2-7 in the .gff, the script was able to run.