The QueryBuilder allows you to edit queries or create new ones. It is aimed at advanced users but editing a template query to change the output or add a filter is easy.
Now use the browser back button to return to the results table.
Click on 'Query' in the Trail to get back to the template form:
Now click 'Edit Query' to bring up the QueryBuilder:
The pane on the left is a view of the data model starting at the Gene class and showing all attributes (e.g. name, symbol) and related classes (e.g. organism, proteins). TargetMine uses an object based data model - biological types are termed 'classes' and individual entries are termed 'objects'.
You can click to open related classes and see their attributes. Use the button to add fields to the output. The button lets you add constraints (filters).
The query summary section shows the constraints applied to this query. Notice that one of them says 'Gene' then 'IN demo list'. This shows us that the search is using those sample genes from the list we saved earlier.
What if we want to search for all genes in TargetMine for any theri upstream transcription factor? We can just remove this constraint and run the query again.
Click on the button next to 'IN demo list' to remove the constraint:
Now click 'Show results' to run the query:
The results table now shows all the upstream transcription factors in TargetMine and their target genes. You can use the summary buttons on the 'Source > symbol' and 'Target > symbol' columns to find more information about the numbers of each.