mamarjan / gff3-pltools

A fast parallel GFF3 parser
MIT License
15 stars 5 forks source link

& and , have special meaning in attributes field #37

Closed mamarjan closed 12 years ago

mamarjan commented 12 years ago

I forgot about this. Need to check out how they affect the code. It's quite a basic requirement, so flagging it to be solved for the first release.

mamarjan commented 12 years ago

Did not find why & is so special, at least not in the spec. The current code replaces the character if it's escaped, and then toString writes it out as %26, so regarding & the code should be "per spec".

mamarjan commented 12 years ago

The comma character is used for separating multiple values for one attribute. For example to specify multiple parents for a feature. Most of the code working with attributes needs to be fixed, filtering too.