cds go_test bug fixed
Former-commit-id: f73133dca83d02a0c223e98a3ac82fdb0d03c5ae Former-commit-id: 3db7c0037f7c109f4479490480d4323a55206c6a
This commit is contained in:
@@ -67,10 +67,20 @@ function QQualifier(qual, val) {
|
||||
SQualifier(qual, "\"" val "\"")
|
||||
}
|
||||
|
||||
function Unk(s) {
|
||||
return (s =="" ? "none" : s)
|
||||
}
|
||||
|
||||
#
|
||||
# rules
|
||||
#
|
||||
|
||||
/^c pass/ {
|
||||
PassType = $3
|
||||
PassInfo = $NF
|
||||
next
|
||||
}
|
||||
|
||||
/^c annot/ {
|
||||
GeneName = $4
|
||||
Product = $NF
|
||||
@@ -113,6 +123,9 @@ function QQualifier(qual, val) {
|
||||
|
||||
/^c end_entry/ {
|
||||
|
||||
GeneName = Unk(GeneName)
|
||||
PassType = Unk(PassType)
|
||||
|
||||
gname = (Ngene == 1 ? GeneName : GeneName "_" ++Igene)
|
||||
locus = ""
|
||||
|
||||
@@ -127,6 +140,7 @@ function QQualifier(qual, val) {
|
||||
QQualifier("locus_tag", locus)
|
||||
QQualifier("product", Product)
|
||||
QQualifier("inference", "similar to DNA sequence:" Simil)
|
||||
QQualifier("inference", "detect pass:" PassType ":" PassInfo)
|
||||
QQualifier("translation", Translat)
|
||||
|
||||
if (Nexon > 1) {
|
||||
|
Reference in New Issue
Block a user