diff --git a/Model/lib/wdk/model/questions/genomicQuestions.xml b/Model/lib/wdk/model/questions/genomicQuestions.xml index 61ac3a77d..466038698 100644 --- a/Model/lib/wdk/model/questions/genomicQuestions.xml +++ b/Model/lib/wdk/model/questions/genomicQuestions.xml @@ -359,6 +359,16 @@ Find all primary sequences to by organisms + + + + + + Find longest seq for an organism + diff --git a/Model/lib/wdk/model/questions/params/geneParams.xml b/Model/lib/wdk/model/questions/params/geneParams.xml index 598d90653..a96092abe 100644 --- a/Model/lib/wdk/model/questions/params/geneParams.xml +++ b/Model/lib/wdk/model/questions/params/geneParams.xml @@ -2020,21 +2020,13 @@ products of your selected type (or types).


- To find genes with any GO association, you may use "*" or "any"

- Type the text term you wish to find, including an asterisk wildcard for ambiguous portions of your text term. (*ase, kin*, *kinase*) - The search will query for all GO Terms and IDs that contain your text. - - - - + Use this parameter to include wildcards in your GO Term. + Type the GO term you wish to find, including an asterisk for ambiguous portions, eg *ase, kin*, *kinase*. + To find genes with any GO association, use "*"

]]>
diff --git a/Model/lib/wdk/model/questions/params/genomicParams.xml b/Model/lib/wdk/model/questions/params/genomicParams.xml index 8d4d43c88..19d053762 100644 --- a/Model/lib/wdk/model/questions/params/genomicParams.xml +++ b/Model/lib/wdk/model/questions/params/genomicParams.xml @@ -190,6 +190,8 @@ + + diff --git a/Model/lib/wdk/model/questions/queries/geneQueries.xml b/Model/lib/wdk/model/questions/queries/geneQueries.xml index df3044b2b..27ec5c9be 100644 --- a/Model/lib/wdk/model/questions/queries/geneQueries.xml +++ b/Model/lib/wdk/model/questions/queries/geneQueries.xml @@ -1877,10 +1877,14 @@ AND 1=0 -- when ($$go_term_slim$$ = 'No' and (gs.is_go_slim = '1' or gs.is_go_slim = '0')) then 1 -- else 0 -- end = 1 - AND (gs.go_id IN ($$go_typeahead$$) - OR (lower(gs.go_term_name) like lower(REPLACE($$go_term$$, '*', '%')) - OR lower( gs.go_id) like lower(REPLACE($$go_term$$, '*', '%')) - OR lower(gs.go_id || ' : ' || gs.go_term_name) like lower(REPLACE($$go_term$$, '*', '%'))) ) + AND ( + gs.go_id IN ($$go_typeahead$$) OR ( + $$go_term$$ != 'N/A' AND ( + lower(gs.go_term_name) like lower(REPLACE($$go_term$$, '*', '%')) OR + gs.go_id = upper($$go_term$$) + ) + ) + ) GROUP BY gs.transcript_source_id, gs.gene_source_id, ta.project_id ORDER BY gs.transcript_source_id ]]> diff --git a/Model/lib/wdk/model/questions/queries/genomicQueries.xml b/Model/lib/wdk/model/questions/queries/genomicQueries.xml index f6bd2e888..ee569c629 100644 --- a/Model/lib/wdk/model/questions/queries/genomicQueries.xml +++ b/Model/lib/wdk/model/questions/queries/genomicQueries.xml @@ -414,6 +414,31 @@ from apidbtuning.GenomicSeqAttributes s + + + + + + + + + + + + + +