Commit 412798e7 by alain viari

fixed bug : CDS product not quoted

parent 0a81301c
...@@ -63,6 +63,7 @@ function SQualifier(qual, val, _local_, s) { ...@@ -63,6 +63,7 @@ function SQualifier(qual, val, _local_, s) {
} }
function QQualifier(qual, val) { function QQualifier(qual, val) {
gsub("\"", "''", val)
SQualifier(qual, "\"" val "\"") SQualifier(qual, "\"" val "\"")
} }
...@@ -124,7 +125,7 @@ function QQualifier(qual, val) { ...@@ -124,7 +125,7 @@ function QQualifier(qual, val) {
SQualifier("transl_table", 11) SQualifier("transl_table", 11)
QQualifier("gene", gname) QQualifier("gene", gname)
QQualifier("locus_tag", locus) QQualifier("locus_tag", locus)
SQualifier("product", Product) QQualifier("product", Product)
QQualifier("inference", "similar to DNA sequence:" Simil) QQualifier("inference", "similar to DNA sequence:" Simil)
QQualifier("translation", Translat) QQualifier("translation", Translat)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment