PhyloSuite icon indicating copy to clipboard operation
PhyloSuite copied to clipboard

GenBank files produced by Geseq cannot be imported into phylosuite

Open samyiu0109 opened this issue 4 months ago • 0 comments

Screenshot 2024-10-10 134445

The errors message Traceback (most recent call last): File "Bio\SeqIO\InsdcIO.py", line 283, in _insdc_location_string AttributeError: 'NoneType' object has no attribute 'parts'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "src\handleGB.py", line 2089, in addRecordsSubFunc File "Bio\SeqIO_init_.py", line 561, in write File "Bio\SeqIO\Interfaces.py", line 254, in write_file File "Bio\SeqIO\Interfaces.py", line 239, in write_records File "Bio\SeqIO\InsdcIO.py", line 1088, in write_record File "Bio\SeqIO\InsdcIO.py", line 399, in _write_feature File "Bio\SeqIO\InsdcIO.py", line 304, in _insdc_location_string File "Bio\SeqIO\InsdcIO.py", line 210, in _insdc_location_string_ignoring_strand_and_subfeatures AttributeError: 'NoneType' object has no attribute 'ref'

GenBank file parse failed

samyiu0109 avatar Oct 10 '24 05:10 samyiu0109