EASEL:SUMMARY_STATS:ADD_FUNCTION; field larger than field limit (131072)

Hi,

I’d like to report an issue I encountered during EASEL:SUMMARY_STATS:ADD_FUNCTION. When running the pipeline, I encountered the following error:

Command error:
  Traceback (most recent call last):
    File "/home/piotr/.nextflow/assets/PlantGenomicsLab/easel/bin/ncbi_gff.py", line 60, in 
      for row in reader:
    File "/usr/lib/python3.11/csv.py", line 111, in __next__
      row = next(self.reader)
            ^^^^^^^^^^^^^^^^^
  _csv.Error: field larger than field limit (131072)

One of the annotations transferred for a single gene contained an extremely long string (over 150,000 characters), exceeding the default CSV field size limit. I suspect this issue will pop up from time to time in certain taxa, as some species may have particularly verbose annotations.

I was able to resolve the issue by adding csv.field_size_limit(sys.maxsize) to ncbi_gff.py, but this feels like a quick workaround. Perhaps a stricter threshold could be applied upstream to prevent such excessively large fields?

Thanks for the great tool!

Best, Piotr