Hi Thomas, Could you have a look at Biopython Bug 2292 and the suggested patch from Michal Gajda to write TER records in line with the spec: http://bugzilla.open-bio.org/show_bug.cgi?id=2292 Thanks Peter