added possibility to start from rdf data and end up with the sequence data as it was stored before