-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
over url-encoding in attribute fields #86
Comments
Bobby; |
Here is a patch; feel free to tighten/modify as you wish. The gff3 standard seems to make using the encoding it a bit tough, as how Best, On Mon, Apr 21, 2014 at 8:25 AM, Brad Chapman [email protected]:
Robert P Otillar, PhD [email protected] |
Bobby; |
Sorry; oddly I did see it attached to my earlier email; here it is again. I GFFOutput.col9_encoding_fix.patch (2k) Let me know if it does not come through. -B On Sat, May 10, 2014 at 11:37 AM, Brad Chapman [email protected]:
Robert P Otillar, PhD [email protected] |
Bobby; A Gist (https://gist.github.com/) with the patch is probably the best approach. Thanks again. |
In trying to add a Name=value field to my data, and have GFFOutput.py write it, I find that the value field is being fully URL encoded, which is different from the gff3 specification.
In my case, it means attributes like:
NAME=jgi.p|Schco3|1037802
end up urlencoded like this:
NAME=jgi.p%7CSchco3%7C1037802
which causes problems with our downstream data use. I believe these should not be escaped according to the gff3 standard. The gff3 standard v 1.21 says:
So the rule seems to be:
The attribute key and value in NAME=jgi.p|Schco3|1037802 do not contain ",=;". Hence this should not be escaped.
Do you agree? Would you like a patch to GFFOutput.py that provides a routine following those rules for escaping values?
The text was updated successfully, but these errors were encountered: