def _make_seqfeature(name, from_res, to_res, description, ft_id):
 loc = SeqFeature.FeatureLocation(_make_position(from_res, (-1)), _make_position(to_res, 0))
 if (not ft_id):
  ft_id = '<unknown id>'
 return SeqFeature.SeqFeature(loc, type=name, id=ft_id, qualifiers={'description': description})

def _make_seqfeature ( name , from_res , to_res , description , ft_id ) : loc = SeqFeature . FeatureLocation ( _make_position ( from_res , ( - 1 ) ) , _make_position ( to_res , 0 ) ) if ( not ft_id ) : ft_id = '<unknown id>' return SeqFeature . SeqFeature ( loc , type = name , id = ft_id , qualifiers = { 'description' : description } )
construct seqfeature from feature data from parser .