Skip to content
Lukas Mueller edited this page Feb 9, 2024 · 11 revisions

Wizard

Introduction

The Wizard is one of the main querying tools in Breedbase, as it allows to create fine-grained selections of data in the database. The Wizard can be considered a "universal" querying interface that should work for a large majority of tools on Breedbase. It is very flexible.

User interface

The user interface for the wizard is available at the URL /breeder/search. An optional dataset_id will select the data to be displayed from the provided id specifying a dataset.

The Wizard also allows direct downloads from data associated with the selected data, using the links in the lower right corner. Trial data, phenotypic data, and genotypic data can be downloaded; small dialogs appear through which parameters can be entered to filter the downloaded information.

Frontend and Backend implementation

The Wizard is a d3 application that queries the backend with the help of the SGN::Controller::AJAX::BreederSearch class. For most of the queries, the Wizard will delegate to the CXGN::BreederSearch class, which can retrieve the information for any dimension, given a list of dimensions and a selection of items in each of the dimensions.

Wizard and lists

Each dimension of the Wizard can be saved directly into a "list". Some tools and Breedbase require some of the input data to be provided in lists. For example, the trial creation workflow requires a list of accessions. See the List pages for more information.

Wizard and Datasets

The Wizard allows the selection to be saved in the database, known as a "dataset". Datasets are named by the user and may be required in various tools across the Breedbase site to provide the data for the tool to operate on. See the Dataset pages for more information.

Clone this wiki locally