Difference between revisions of "Search"

From CoGepedia
Jump to: navigation, search
(Special Terms)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
To search CoGe's data, enter terms into search bar at the top of the page and press enter/return or click the search button (magnifying glass).
 
To search CoGe's data, enter terms into search bar at the top of the page and press enter/return or click the search button (magnifying glass).
  
Search results will be grouped together in type categories, each of which is a collapsable list. Click the type label or arrow to toggle the display of that type's results. The possible types are: Organisms, Genomes, Experiments, Notebooks, and User Groups.
+
Search results will be grouped together in type categories, each of which is a collapsable list. Click the type label or arrow to toggle the display of that type's results. The possible types are: Organisms, Genomes, Experiments, Notebooks, and Features.
  
 
===Search Terms===
 
===Search Terms===
Line 9: Line 9:
 
Each additional search term (separated by spaces) will narrow the search (increase specificity). In other words, all the terms must be found in an item for a match.
 
Each additional search term (separated by spaces) will narrow the search (increase specificity). In other words, all the terms must be found in an item for a match.
  
To exclude all results that contain a specific term, place a ! at the beginning or end of the term. For example: !arabidopsis or arabidopsis!
+
To exclude all results that contain a specific term, place a ! at the beginning or end of the term (doesn't apply to Features). For example: !arabidopsis or arabidopsis!
 +
 
 +
Note: Features are searched with a full text search so partial word search terms do not work.
  
 
===Special Terms===
 
===Special Terms===
Line 15: Line 17:
 
Special terms are constructed with a keyword followed by two colons followed by a value (e.g. deleted::1). You can surround the entire term in double quotes if part of the term contains spaces (e.g. "metadata_value::tophat -g 1").
 
Special terms are constructed with a keyword followed by two colons followed by a value (e.g. deleted::1). You can surround the entire term in double quotes if part of the term contains spaces (e.g. "metadata_value::tophat -g 1").
  
* certified::X, where X is 1 or 0. Specifying a 1 means only return items that have been certified. Specifying a 0 means only return items that have not been certified. If this term is not specified then both certified and non certified items are returned.<br>- Note: this term only applies to genomes
+
* '''certified::X''', where X is 1 or 0. Specifying a 1 means only return items that have been certified. Specifying a 0 means only return items that have not been certified. If this term is not specified then both certified and non certified items are returned.<br>- Note: specifying this term limits the search to genomes
 +
 
 +
* '''deleted::1''', only return items that have been deleted.<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks.
 +
 
 +
* '''favorite::1''', only return items that have been favorited by the user. Unlike the other terms, only specifying 1 is allowed. Searching for items that have not been favorited is not supported.<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks.
  
* deleted::X, where X is 1 or 0. Specifying a 1 means only return items that have been deleted. Specifying a 0 means only return items that have not been deleted. If this term is not specified then both deleted and non deleted items are returned.<br>- Note: this term does not apply to organisms.
+
* '''feature_type::X''', where X is a feature type (e.g. gene, mRNA, CDS, chromosome, etc). Only return features that are of the specified type.<br>- Note: specifying this term limits the search to features only.
  
* favorite::1, return items that have been favorited by the user. Unlike the other terms, only specifying 1 is allowed. Searching for items that have not been favorited is not supported.<br>- Note: this term only applies to genomes, experiments, and notebooks.
+
* '''metadata_key::X''', where X is a metadata type (e.g. metadata_key::note). Specifying this term will limit the search to items with matching metadata.<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks.
  
* metadata_key::X, where X is a metadata type (e.g. metadata_key::note). Specifying this term will limit the search to items with matching metadata.<br>- Note: this term only applies to genomes, experiments, and notebooks.
+
* '''metadata_value::X''', where X is the text of the metadata value to search for (e.g. metadata_value::bowtie2_build).<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks.
  
* metadata_value::X, where X is the text of the metadata value to search for (e.g. metadata_value::bowtie2_build).<br>- Note: this term only applies to genomes, experiments, and notebooks.
+
* '''restricted::X''', where X is 1 or 0. Specifying a 1 means only return items that have been restricted. Specifying a 0 means only return items that are not restricted. If this term is not specified then both restricted and non restricted items are returned.<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks. A 1 may only be specified when the user is logged in to CoGe.
  
* restricted::X, where X is 1 or 0. Specifying a 1 means only return items that have been restricted. Specifying a 0 means only return items that are not restricted. If this term is not specified then both restricted and non restricted items are returned.<br>- Note: this term only applies to genomes, experiments, and notebooks.
+
* '''role::X''', where X is one of owner, editor, or reader. Specifying this term will limit the search to items for which the current user has the specified role. For example, specifying role::owner will only return matching items that are owned by the current user.<br>- Note: specifying this term limits the search to genomes, experiments, and notebooks.
  
* role::X, where X is one of owner, editor, or reader. Specifying this term will limit the search to items for which the current user has the specified role. For example, specifying role::owner will only return matching items that are owned by the current user.<br>- Note: this term only applies to genomes, experiments, and notebooks.
+
* '''tag::X''', where X is an experiment tag. Specifying this term will search for experiments that have the specified tag.<br>- Note: specifying this term limits the search to experiments.
  
* type::X, where X is one of organism, genome, experiment, notebook, or usergroup. Specifying the type with this special term will limit the search to one type of object (e.g. only organisms). If this term is not specified then all types of items will be searched.
+
* '''type::X''', where X is one of organism, genome, experiment, notebook, or feature. Specifying the type with this special term will limit the search to one type of object (e.g. only organisms). If this term is not specified then all types of items will be searched.

Latest revision as of 12:19, 9 December 2016

To search CoGe's data, enter terms into search bar at the top of the page and press enter/return or click the search button (magnifying glass).

Search results will be grouped together in type categories, each of which is a collapsable list. Click the type label or arrow to toggle the display of that type's results. The possible types are: Organisms, Genomes, Experiments, Notebooks, and Features.

Search Terms

Search terms are words, partial words, or id numbers that you want to find. They will be searched for in the name, description, id and other fields depending on the item type.

Each additional search term (separated by spaces) will narrow the search (increase specificity). In other words, all the terms must be found in an item for a match.

To exclude all results that contain a specific term, place a ! at the beginning or end of the term (doesn't apply to Features). For example: !arabidopsis or arabidopsis!

Note: Features are searched with a full text search so partial word search terms do not work.

Special Terms

Special terms are constructed with a keyword followed by two colons followed by a value (e.g. deleted::1). You can surround the entire term in double quotes if part of the term contains spaces (e.g. "metadata_value::tophat -g 1").

  • certified::X, where X is 1 or 0. Specifying a 1 means only return items that have been certified. Specifying a 0 means only return items that have not been certified. If this term is not specified then both certified and non certified items are returned.
    - Note: specifying this term limits the search to genomes
  • deleted::1, only return items that have been deleted.
    - Note: specifying this term limits the search to genomes, experiments, and notebooks.
  • favorite::1, only return items that have been favorited by the user. Unlike the other terms, only specifying 1 is allowed. Searching for items that have not been favorited is not supported.
    - Note: specifying this term limits the search to genomes, experiments, and notebooks.
  • feature_type::X, where X is a feature type (e.g. gene, mRNA, CDS, chromosome, etc). Only return features that are of the specified type.
    - Note: specifying this term limits the search to features only.
  • metadata_key::X, where X is a metadata type (e.g. metadata_key::note). Specifying this term will limit the search to items with matching metadata.
    - Note: specifying this term limits the search to genomes, experiments, and notebooks.
  • metadata_value::X, where X is the text of the metadata value to search for (e.g. metadata_value::bowtie2_build).
    - Note: specifying this term limits the search to genomes, experiments, and notebooks.
  • restricted::X, where X is 1 or 0. Specifying a 1 means only return items that have been restricted. Specifying a 0 means only return items that are not restricted. If this term is not specified then both restricted and non restricted items are returned.
    - Note: specifying this term limits the search to genomes, experiments, and notebooks. A 1 may only be specified when the user is logged in to CoGe.
  • role::X, where X is one of owner, editor, or reader. Specifying this term will limit the search to items for which the current user has the specified role. For example, specifying role::owner will only return matching items that are owned by the current user.
    - Note: specifying this term limits the search to genomes, experiments, and notebooks.
  • tag::X, where X is an experiment tag. Specifying this term will search for experiments that have the specified tag.
    - Note: specifying this term limits the search to experiments.
  • type::X, where X is one of organism, genome, experiment, notebook, or feature. Specifying the type with this special term will limit the search to one type of object (e.g. only organisms). If this term is not specified then all types of items will be searched.