fixed labels and add project dialog
[sgn.git] / docs / BreedbaseManual.tex
blobb8507bc363de6e73c7e66c8703a30998f39043be
1 % Options for packages loaded elsewhere
2 \PassOptionsToPackage{unicode}{hyperref}
3 \PassOptionsToPackage{hyphens}{url}
4 \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
6 \documentclass[
7 12pt,
8 ]{book}
9 \usepackage{amsmath,amssymb}
10 \usepackage{iftex}
11 \ifPDFTeX
12 \usepackage[T1]{fontenc}
13 \usepackage[utf8]{inputenc}
14 \usepackage{textcomp} % provide euro and other symbols
15 \else % if luatex or xetex
16 \usepackage{unicode-math} % this also loads fontspec
17 \defaultfontfeatures{Scale=MatchLowercase}
18 \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
19 \fi
20 \usepackage{lmodern}
21 \ifPDFTeX\else
22 % xetex/luatex font selection
23 \fi
24 % Use upquote if available, for straight quotes in verbatim environments
25 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
26 \IfFileExists{microtype.sty}{% use microtype if available
27 \usepackage[]{microtype}
28 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
29 }{}
30 \makeatletter
31 \@ifundefined{KOMAClassName}{% if non-KOMA class
32 \IfFileExists{parskip.sty}{%
33 \usepackage{parskip}
34 }{% else
35 \setlength{\parindent}{0pt}
36 \setlength{\parskip}{6pt plus 2pt minus 1pt}}
37 }{% if KOMA class
38 \KOMAoptions{parskip=half}}
39 \makeatother
40 \usepackage{xcolor}
41 \usepackage{longtable,booktabs,array}
42 \usepackage{calc} % for calculating minipage widths
43 % Correct order of tables after \paragraph or \subparagraph
44 \usepackage{etoolbox}
45 \makeatletter
46 \patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
47 \makeatother
48 % Allow footnotes in longtable head/foot
49 \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
50 \makesavenoteenv{longtable}
51 \usepackage{graphicx}
52 \makeatletter
53 \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
54 \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
55 \makeatother
56 % Scale images if necessary, so that they will not overflow the page
57 % margins by default, and it is still possible to overwrite the defaults
58 % using explicit options in \includegraphics[width, height, ...]{}
59 \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
60 % Set default figure placement to htbp
61 \makeatletter
62 \def\fps@figure{htbp}
63 \makeatother
64 \setlength{\emergencystretch}{3em} % prevent overfull lines
65 \providecommand{\tightlist}{%
66 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
67 \setcounter{secnumdepth}{5}
68 \ifLuaTeX
69 \usepackage{selnolig} % disable illegal ligatures
70 \fi
71 \usepackage[]{natbib}
72 \bibliographystyle{plainnat}
73 \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
74 \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
75 \urlstyle{same}
76 \hypersetup{
77 pdftitle={User Manual of Breedbase},
78 pdfauthor={Breedbase team},
79 colorlinks=true,
80 linkcolor={Maroon},
81 filecolor={Maroon},
82 citecolor={Blue},
83 urlcolor={Blue},
84 pdfcreator={LaTeX via pandoc}}
86 \title{User Manual of Breedbase}
87 \author{Breedbase team}
88 \date{2024-01-30}
90 \begin{document}
91 \maketitle
94 \hypersetup{linkcolor=}
95 \setcounter{tocdepth}{2}
96 \tableofcontents
98 \hypertarget{introduction}{%
99 \chapter*{Introduction}\label{introduction}}
102 Welcome to the Breedbase manual!
104 This manual is intended for database users.\\
105 If you are a developer looking for software implementation details, please visit the developer wiki instead: \url{https://github.com/solgenomics/sgn/wiki}
107 \hypertarget{basic-website-usage}{%
108 \chapter{Basic Website Usage}\label{basic-website-usage}}
110 \hypertarget{creating-a-user-account}{%
111 \section{Creating a User Account}\label{creating-a-user-account}}
113 \hypertarget{verifying-first-that-you-do-not-already-have-an-account}{%
114 \subsection{Verifying first that you do not already have an account}\label{verifying-first-that-you-do-not-already-have-an-account}}
116 Before creating an account, please verify first that you don't already have an account. You can use ``Search'' menu to check if you already registered as a user.
118 In the ``Search'' menu, selecting the ``People'' tab and search your name. If nothing is found, proceed with the instructions below. Otherwise, clicking the ``Login'' button. If you have forgotten your password, you can retrieve it by clicking the ``Forgot your password?'' link on the login page.
120 \hypertarget{creating-a-user-account-1}{%
121 \subsection{Creating a user account}\label{creating-a-user-account-1}}
123 On the right of the toolbar, clicking on ``Login.'' It will take you to the login page. On the login page, clicking on the link ``sign up for an account.'' It will take you to the page below:
125 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image331} \end{center}
127 Filling in all of the information, then clicking ``Create Account.''
129 After you submit the information, an email will be sent to the provided email address. Checking your email and clicking on the link to activate your account.
131 \hypertarget{managing-your-account}{%
132 \section{Managing your Account}\label{managing-your-account}}
134 \hypertarget{login}{%
135 \subsection{Login}\label{login}}
137 To login, clicking the ``Login'' link in the toolbar on any page and enter your username and password.
139 If you have forgotten your password, you can retrieve it by clicking the ``Forgot your password?'' link on the login page.
141 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image166} \end{center}
143 \hypertarget{editing-account-settings}{%
144 \subsection{Editing Account Settings}\label{editing-account-settings}}
146 Account settings can be edited by clicking on the ``my profile'' link displayed as your user name, on the right of the toolbar. You must login, in order to access and change account settings.
148 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image261} \end{center}
150 You can add personal information to your account using the ``View or update personal information'' link.
152 To change your password, username, or your contact email, clicking on ``Update account information'' link. You must provide your old password before you can make any changes.
154 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image144} \end{center}
156 \hypertarget{changing-your-account-status-from-user-to-submitter}{%
157 \subsection{Changing Your Account Status: From ``User'' to ``Submitter''}\label{changing-your-account-status-from-user-to-submitter}}
159 After you create an account, your account has a ``user'' status. This account has limited privileges.
161 Accounts with ``user'' status are able to:
163 \begin{itemize}
164 \tightlist
165 \item
166 Change personal information
167 \item
168 Post comments on pages
169 \item
170 Post to the forum
171 \end{itemize}
173 To upgrade your account status to ``submitter,'' contact the database curators using the ``contact'' link provided at the footer of each page. Submitter accounts can add data, such as new plots, accessions, phenotype data and images.
175 \hypertarget{submitting-feedback-on-an-sgn-database}{%
176 \subsection{Submitting Feedback on an SGN Database}\label{submitting-feedback-on-an-sgn-database}}
178 We appreciate your feedback! Feel free to submit any questions or suggestions by using the ``Feedback'' link provided at the footer of each page.
180 \hypertarget{menu-layout}{%
181 \section{Menu Layout}\label{menu-layout}}
183 SGN Database websites have a toolbar on the top of each page with a number of menus for convenient access of major functions. The menus, as pictured below, are ``search,'' ``manage,'' ``analyze,'' and ``maps.'' The toolbar also provides a quick search, a ``log in'' button, and a ``new user'' button.
185 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image270} \end{center}
187 \hypertarget{menu-options}{%
188 \subsection{Menu Options}\label{menu-options}}
190 \hypertarget{search}{%
191 \subsubsection*{Search}\label{search}}
194 In the Search menu, the options are:
196 \begin{longtable}[]{@{}
197 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.1447}}
198 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.8553}}@{}}
199 \toprule\noalign{}
200 \begin{minipage}[b]{\linewidth}\raggedright
202 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
203 Description
204 \end{minipage} \\
205 \midrule\noalign{}
206 \endhead
207 \bottomrule\noalign{}
208 \endlastfoot
209 Wizard & Search different accessions and plots by location, year, trial, and trait data. Can also be used to create lists of different types. \\
210 Accession and plots & Search accessions and plots using a variety of criteria \\
211 Trials & Search trials by name, description, breeding program, year, location, and trial type. \\
212 Markers & Search different markers \\
213 Images & Search images contained in the SGN database \\
214 People & Search database users \\
215 \end{longtable}
217 \hypertarget{manage}{%
218 \subsubsection*{Manage}\label{manage}}
221 In the Manage menu, the options are:
223 \begin{longtable}[]{@{}
224 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.1736}}
225 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.8264}}@{}}
226 \toprule\noalign{}
227 \begin{minipage}[b]{\linewidth}\raggedright
229 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
230 Description
231 \end{minipage} \\
232 \midrule\noalign{}
233 \endhead
234 \bottomrule\noalign{}
235 \endlastfoot
236 Breeding Programs & View, add and delete breeding programs \\
237 Locations & View, add and delete locations \\
238 Accessions & Manage and search different accessions \\
239 Seedlots & Manage and search different seedlots \\
240 Crosses & Create new crosses in the database \\
241 Field Trials & Manage field trials. Create trials using different field layouts. \\
242 Genotyping Plates & Manage genotyping plates. Create 96 or 384 well plates. \\
243 Phenotyping & Upload phenotyping files from the Tablet Field Book application \\
244 Field Book App & Manage the field book app data (download files to tablet) \\
245 Barcodes & Refers to the old barcode system, mainly historical \\
246 Download & Download information in the database based on lists \\
247 \end{longtable}
249 \hypertarget{analyze}{%
250 \subsubsection*{Analyze}\label{analyze}}
253 \textbf{Clicking on the ``Analyze'' link will give a full menu of all analysis functions}\\
254 In the Analyze menu, the options are:
256 \begin{longtable}[]{@{}
257 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.1944}}
258 >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.8056}}@{}}
259 \toprule\noalign{}
260 \begin{minipage}[b]{\linewidth}\raggedright
262 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
263 Description
264 \end{minipage} \\
265 \midrule\noalign{}
266 \endhead
267 \bottomrule\noalign{}
268 \endlastfoot
269 \textbf{Breeder Tools} & \\
270 Breeder Home & Access breeding functionalities. Lists important and helpful links. \\
271 Barcode Tools & Manage, create, and download barcodes. Also access barcode tools. \\
272 Genomic Selection & Can search for traits, start building a GS model, and predict values based on genotypes \\
273 \textbf{Sequence Analysis} & \\
274 BLAST & Sequence homology search \\
275 \textbf{Other} & \\
276 Ontology Browser & Browse all recorded ontologies \\
277 \end{longtable}
279 \hypertarget{working-with-lists}{%
280 \section{Working with Lists}\label{working-with-lists}}
282 Lists are collections of identifiers that are stored in the database. Lists can be composed of accessions, plots, traits, locations, and trials. Lists are attached to the individual user's account, and can only be created and seen by the user while logged in. SGN databases make heavy use of lists in a number of tools on the website. For example, trials are created using lists of accessions.
284 \hypertarget{creating-lists}{%
285 \subsection{Creating lists}\label{creating-lists}}
287 Lists can be generated in various ways:
289 One way to create a list is by clicking on the ``Lists'' link located on the toolbar.
291 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_start} \end{center}
293 To create a new list, enter the name of your new list and then clicking on the ``New List'' button. The name of the list can be anything, but should be unique and should be something to help you easily identify.
295 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_new_list} \end{center}
297 You can find the list that you entered on the ``Your Lists'' page. To add items to your list, click on the ``View'' icon to open ``List Contents'' page.
299 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_view_list} \end{center}
301 On the ``List Contents'' page, enter items that you want to add to the list, then click on ``Add'' button.
303 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_add_items} \end{center}
305 The page will be updated and will display your items in a table at the bottom of the page. It is possible to sort the list if you need.
307 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_added_items} \end{center}
309 Select the type of items in your list. To verify that the items that you added to your list are already stored in the database and that you selected a correct type for the items, click on the ``Validate'' button.
311 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/list_manager_list_types} \end{center}
313 If those items are already in the database, a message will indicate that ``This list passed validation''
315 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image346} \end{center}
317 Note that a list cannot contain duplicate elements. If a duplicate item is entered, the list manager will inform the user that the element is already in the list and will not add it again.
319 Another easy way to create a list is to use \ref{search-wizard}, which can be accessed from the Search menu.
321 \hypertarget{viewing-and-editing-lists}{%
322 \subsection{Viewing and editing lists}\label{viewing-and-editing-lists}}
324 Lists can be viewed and edited using the ``Lists'' link on the toolbar. Clicking on the link will open a window that displays all of your lists, as well as an option to create new lists.
326 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image71} \end{center}
328 This page shows all lists that have been created, including those created by using the Search Wizard. You can view and edit your lists by using ``Actions'' buttons.
330 \begin{enumerate}
331 \def\labelenumi{\arabic{enumi}.}
332 \item
333 Clicking on the ``view'' icon will open a new window called ``List Contents'' that allows you to change the list name, the type of the list, add new items, or delete existing items.
334 \item
335 Clicking on the ``delete'' icon will delete your list. \textbf{Caution: this action cannot be undone}.
336 \item
337 Clicking on the ``download'' icon will download the contents of your list to your computer.
338 \item
339 Clicking on the ``make public'' icon will make your list available for other users to view and use your list.
340 \end{enumerate}
342 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image297} \end{center}
344 \hypertarget{user-permissions}{%
345 \section{User Permissions}\label{user-permissions}}
347 Breedbase accounts are assigned one or more of four different roles to determine the level of access they have within the database. The possible roles are \textbf{User}, \textbf{Submitter}, \textbf{Sequencer}, and \textbf{Curator}. Each role grants specific permissions, and careful management of them helps prevent data from being altered or deleted in error.
349 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/roles} \end{center}
351 Accounts are also assigned Breeding Program role(s) to grant access to the specfic breeding program(s) they work with.
353 \begin{itemize}
354 \tightlist
355 \item
356 The \textbf{User} role gives an account permission to view and download data throughout the database.
357 \item
358 The \textbf{Submitter} role gives an account permission to design field experiments and to upload and edit data using the tools in the ``Manage'' section. In order to submit and manage breeding data within a given breeding program, a submitter also must have a matching Breeding Program role.
359 \item
360 The \textbf{Sequencer} role gives an account permission to design genotyping experiments and submit plates to a genotyping service.
361 \item
362 The \textbf{Curator} role gives an account permission to do all of the above, as well as to delete data within the database. The Curator role also enables the addition or deletion of roles for all database accounts in the `Manage User Roles' tool.
363 \end{itemize}
365 \hypertarget{searching-the-database}{%
366 \chapter{Searching the Database}\label{searching-the-database}}
368 You can search for information on the database by using the following search options: Wizard, which uses combined criteria specified by users; Accessions and Plots; Trials; Markers; Images; People; FAQ.
370 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image267} \end{center}
372 \hypertarget{search-wizard}{%
373 \section{The Search Wizard}\label{search-wizard}}
375 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/wizard_interface} \end{center}
377 \hypertarget{how-the-search-wizard-works}{%
378 \subsection{How the Search Wizard Works}\label{how-the-search-wizard-works}}
380 The search wizard presents a number of select boxes, which are initially empty. You start searching by picking a category of data from the dropdown above the left-most select box.
382 Once a category has been picked, the database will retrieve all the options within this category and display them within the first select box. You then select one or more options from the first select box, which activates the second dropdown.
384 You can then select a category from the second dropdown, and repeat this same search process through all four dropdowns and select boxes.
386 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/wizard_interface_selections} \end{center}
388 \begin{itemize}
389 \item
390 In the example above, the ``locations'' category was chosen in the first dropdown. The first select box then displayed all the possible locations in the database. The option Ibadan was selected.
391 \item
392 This activated the second dropdown. The category ``years'' was chosen in the second dropdown. The second select box then displayed all the years that are linked in the database to the location Ibadan. From that list, the options 2011 and 2012 were selected.
393 \item
394 This activated the third dropdown. A final category, ``accessions'', was chosen in the third dropdown. The third select box was then populated with the 3847 accessions in the database that are linked with the location Ibadan in the years 2011 or 2012.
395 \end{itemize}
397 In addition to the basic search operations demonstrated above, users can take advantage of two more features:
399 \textbf{Load Selection from List}
401 \begin{center}\includegraphics[width=0.25\linewidth]{assets/images/wizard_select_list} \end{center}
403 \begin{itemize}
404 \tightlist
405 \item
406 Instead of picking a category in the first dropdown, users can instead populate the first selectbox from a list by scrolling down in the first dropdown to the ``Load Selection from List'' subheading and selecting a list. This is useful for starting queries with a list of plots, as this category is not among the options in the first dropdown.
407 \end{itemize}
409 \textbf{ANY/MIN/ALL} Toggle
411 \begin{center}\includegraphics[width=0.25\linewidth]{assets/images/wizard_any_min_all_toggle} \end{center}
413 \begin{itemize}
414 \item
415 By default, the search wizard combines options within a category using an OR query. In the example above, in the third panel the wizard retrieved accessions associated with the location `Ibadan' in \textbf{ANY} of the years ``2011 \textbf{OR} 2012''
416 \item
417 If the user clicked the toggle below the second select box to change it to \textbf{ALL} before choosing accessions in the third dropdown, the wizard would instead retrieve accessions associated with the location `Ibadan' in the years ``2011 \textbf{AND} 2012''. This will be a smaller set of accessions, because any accessions used only in 2011, or only in 2012 will be excluded.
418 \item
419 A more advanced search could use the \textbf{MIN} toggle option. This allows the user to make a query in between an ANY or ALL query, where a minimum number of matches from the selected column will be used as a filter for the next column. The minimum can be provided as either a percentage (\%) or an actual count of items (\#). In the example above, if the years 2011, 2012, and 2013 were selected in the second column, the user could enter `2' in as the minimum and select `\#' as the minimum match type. This would select accessions in the third column that were used in 2 or more of the selected years.
420 \end{itemize}
422 \begin{center}\includegraphics[width=0.25\linewidth]{assets/images/wizard_any_min_all_toggle_min_details} \end{center}
424 \hypertarget{how-to-use-retrieved-data}{%
425 \subsection{How to use retrieved data}\label{how-to-use-retrieved-data}}
427 \hypertarget{getting-more-info}{%
428 \subsubsection*{Getting more Info}\label{getting-more-info}}
431 Any option in the wizard select boxes (except for years) can be clicked to open a page with more details. The new page is opened in a new tab.
433 \hypertarget{saving-to-a-list}{%
434 \subsubsection*{Saving to a list}\label{saving-to-a-list}}
437 You can store the highlighted items in any selected box to lists. This is done using the inputs and buttons directly below the select box. \textbf{Don't forget, you must be logged in to work with lists!}
439 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/add_create_list} \end{center}
441 \begin{itemize}
442 \item
443 To \textbf{add items to an existing list}, first pick an existing list using the ``Add to List\ldots{}'' dropdown on the left. Then click the ``Add'' button. A popup window will confirm the action, and display the number of items added to your existing list.
444 \item
445 To \textbf{store items to a new list}, first type a new list name in the ``Create New List\ldots{}'' text input on the left. Then click on the ``Create'' button. A popup window will confirm the action, and display the number of items added to your new list.
446 \end{itemize}
448 \hypertarget{downloading-data}{%
449 \subsubsection*{Downloading Data}\label{downloading-data}}
452 You can download trial metadata, phenotypes and genotypes associated with the highlighted items in the wizard select boxes. This is done using the buttons in the download section at the bottom of the page. \textbf{Don't forget, you must be logged in to download data!}
454 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/wizard_download_options} \end{center}
456 \hypertarget{metadata}{%
457 \paragraph*{Metadata}\label{metadata}}
458 \addcontentsline{toc}{paragraph}{Metadata}
460 Trial metadata can be downloaded by selecting a subset of trials from the database or based on your search categories. To download, click on ``Related Trial Metadata'', a dialog will appear. Select download format and click the ``Metadata'' button to complete your download.
462 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/wizard_related_metadata_download} \end{center}
464 \hypertarget{phenotypes}{%
465 \paragraph*{Phenotypes}\label{phenotypes}}
466 \addcontentsline{toc}{paragraph}{Phenotypes}
468 The phenotypes download is quite flexible, and can download a subset of all the trial data in the database based on whichever categories and options you currently have selected. Simply click on the ``Related Trial Phenotypes'' link, review the options, changing or adding any additional parameters you like, then click `Download Phenotypes'.
470 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/wizard_related_phenotypes_download} \end{center}
472 \hypertarget{genotypes}{%
473 \paragraph*{Genotypes}\label{genotypes}}
474 \addcontentsline{toc}{paragraph}{Genotypes}
476 The genotype download is more stringent. It requires a minimum of one accession and one genotyping protocol to be selected in the wizard select boxes. The text box in the download section of the page will help track what has been selected. Once clicked, the ``Download Genotypes'' button will download a genotype file for the selected accessions.
478 \hypertarget{saving-the-wizard-selections}{%
479 \subsubsection*{Saving the wizard selections}\label{saving-the-wizard-selections}}
482 As discussed above, the selections of the individual select boxes in the wizard can be saved separately to a list. The lists can be used as inputs in other tools on the site. However, sometimes creating a selection is quite time consuming and restoring the selections from four different lists would be cumbersome too. Therefore, the selections can be saved together in a dataset, and named for later retrieval. This is done in the section ``Load/Create Datasets'' that is below the first two wizard select boxes. To select an existing dataset, one uses the ``Load Dataset'' dropdown. A particular dataset can be chosen, and the ``Load'' button can be clicked to retrieve and display the dataset in the wizard. To create a new dataset using items that are selected in the wizard, one can enter the name of the new dataset in the ``Create New Dataset'' text box. Once the dataset has been given a name, clicking the ``Create'' button will save the new dataset.
484 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/wizard_load_create_dataset} \end{center}
486 \hypertarget{updating-the-wizard}{%
487 \subsection{Updating the Wizard}\label{updating-the-wizard}}
489 The search wizard uses a copy of the database, or a cache, to return results quickly. If data appears to be missing, it usually means that the cache needs to be updated. Users with submitter privileges or above can do this using the `Update Wizard' button. One can also use the `Refresh Lists' button to update the available lists.
491 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/wizard_update_list_refresh} \end{center}
493 This will take just a few seconds in small databases, but may take a few hours to complete in larger databases.
495 \hypertarget{accessions-and-plot-search}{%
496 \section{Accessions and Plot Search}\label{accessions-and-plot-search}}
498 Accessions and their related materials (cross, plant, plot, population, tissue\_sample, training population) can be searched by using ``Search Accessions and Plots'' page. On this page, ``accession'' is the default stock type; however, you can change stock type by selecting an option from the drop-down list. From this page you can construct detailed queries for stock types. For example, by using the ``Usage'' section, the ``Properties'' section, and the ``Phenotypes'' section you could search for accessions which were diploids used in a specific year and location and were also phenotyped for height. You can also search for accessions based on genetic properties, such as the location of an introgression on a specific chromosome.
500 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_accessions} \end{center}
502 It is possible to query over any of the available properties, such as ``ploidy\_level'', ``country of origin'', ``introgression\_chromosome'', etc.
504 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_accessions_properties_search} \end{center}
506 In the search result table it is possible to select any of the available properties to view.
508 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_accessions_properties_view} \end{center}
510 At the bottom of the accession search there is a phenotype graphical filtering tool. Here you can filter down accessions based on combinations of trait performance. The filtered down accessions are then able to be saved to a list.
512 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_accessions_graphical_filtering} \end{center}
514 For information on adding Accessions please see the Managing Accessions help. For information on how field trial plots, plants, tissue samples, and subplots are added to the database, please see the Managing Field Trials help.
516 \hypertarget{trials-search}{%
517 \section{Trials Search}\label{trials-search}}
519 Trials on the database can be searched based on trial name, description, breeding program, year, location, trial type, design, planting date, and harvest date.
521 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_search} \end{center}
523 \hypertarget{trait-search}{%
524 \section{Trait Search}\label{trait-search}}
526 On the Trait Search page (menu item \texttt{Search\ \textgreater{}\ Traits}), traits in the database can be searched by ID, name, or descripiton. Optionally, a starting list of traits can be selected to filter down results.
528 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trait-search-default} \end{center}
530 Selecting traits in the results of the search allows one to add the selected results to a trait list, or create a new trait list from the select results.
532 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trait-search} \end{center}
534 \hypertarget{ontology-browser}{%
535 \section{Ontology Browser}\label{ontology-browser}}
537 A more advanced tool for searching for Traits is the ontology browser, available by clicking on Analyze and Ontology Browser. From here you can search ontologies and see the various classifications of terms in a tree display.
539 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/ontology_browser} \end{center}
541 The terms which appear in the Trait Search in 2.4 are only variable terms. The ontology browser shows these variables as different from their grouping terms by indicating VARIABLE\_OF like in the following screenshot.
543 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/ontology_browser_variable} \end{center}
545 \hypertarget{search-seedlots}{%
546 \section{Search Seedlots}\label{search-seedlots}}
548 Seedlots are different from Accessions in that they represent the physical seed being evaluated in an experiment. Seedlots have things like physical storage locations and seed quantities, which accessions do not. To search for available seedlots you go to Manage and then click Seed Lots. By clicking Search Seedlots, you can specify query information. The results from your search will be in the table below the search form.
550 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_seedlots} \end{center}
552 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlots} \end{center}
554 \hypertarget{managing-user-roles}{%
555 \chapter{Managing User Roles}\label{managing-user-roles}}
557 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_user_roles_page} \end{center}
559 \hypertarget{what-are-user-roles}{%
560 \section{What are User Roles?}\label{what-are-user-roles}}
562 Every user account in Breedbase has one or more associated ``roles'' that determine the authorizations (what the user is allowed to do) in the database. There are three fundamental roles, ``curator'', ``submitter'', and ``user'', which determine basic read/write levels. The ``curator'' status can read and write everything in the database. The ``submitter'' status can add information and edit or delete previously submitted information. The ``user'' type can only read data. Additional roles represent the breeding programs, and are sometimes used to fine-tune write and edit capabilities, as it necessary for multiple users in a breeding program to edit each other's data.
564 \hypertarget{the-manage-user-roles-page}{%
565 \section{The Manage User Roles page}\label{the-manage-user-roles-page}}
567 In the ``Manage'' menu, select the item ``User Roles''. This will show the current users in the database with their associated roles. If you are logged in as a curator, the table will show system roles as well as breeding program roles; if you are logged in as a submitter or user, it will show breeding program membership.
569 If logged in as a ``curator'', the roles can be added or deleted.
571 \begin{itemize}
572 \tightlist
573 \item
574 To delete a role, click on the X in the role name. A confirm dialog will be displayed to prevent accidental deletion.
575 \item
576 To add a role, click on the plus sign next to the roles. A dialog will pop up with a list of roles. Select the desired role and click ``Submit''.
577 \item
578 The new role should be displayed next to the user immediately.
579 \item
580 Role deletions and additions will be effective immediately.
581 \end{itemize}
583 It is recommended that few users be given the ``curator'' privileges to avoid confusion over data ownership and accidental data overwriting and deletion.
585 @ref(managing\_user\_roles)
587 \hypertarget{managing-breeding-programs}{%
588 \chapter{Managing Breeding Programs}\label{managing-breeding-programs}}
590 New breeding programs can be added by using ``Add New Program'' button on the ``Manage Breeding Programs'' page.
592 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image72} \end{center}
594 Clicking on the ``Add New Program'' button will generate a blank form for you to fill out the name and description of the breeding program that you want to add. After completing the form, click on ``Add Breeding Program'' button to finish the process.
596 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image295} \end{center}
598 \hypertarget{managing-locations}{%
599 \chapter{Managing Locations}\label{managing-locations}}
601 Field locations can be managed using the ``\textbf{Manage Locations}'' page. On this page, locations in the database are organized based on their breeding programs. Each location has a link to trials conducted in that location. To add a new location, click on the ``Add Location'' button that links to the ``Add New Location'' form.
603 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image141} \end{center}
605 On the ``Add New Location'' form, fill out the location name that you want to add. Latitude, longitude, and altitude are optional. Submit the new location by clicking on the ``Add Location'' button at the bottom right of the form.
607 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image187} \end{center}
609 \hypertarget{managing-accessions}{%
610 \chapter{Managing Accessions}\label{managing-accessions}}
612 The ``Manage Accession'' page provides links for adding new accessions. You can choose to add accessions into the database by either using a List you have created or by uploading XLS or XLSX file. Both options will be detailed below. To begin click on the ``Add Accessions or Upload Accession Info'' link.
614 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_link} \end{center}
616 This will open a dialog allowing you to select either ``Using Lists'' or ``Uploading a File''.
618 \hypertarget{add-accessions-using-a-list}{%
619 \section{Add Accessions Using A List}\label{add-accessions-using-a-list}}
621 First we will show how to add accessions ``Using Lists''.
623 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_using_lists} \end{center}
625 Here you select an accession list which you have previously made. If you need to create or edit your list you can do so now by clicking ``Manage Lists''. Once you have selected your list you can click ``Continue''.
627 The first dialog which can appear will show the accessions which already exist in the database.
629 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_found} \end{center}
631 Click ``Continue''. The next dialog which can appear will show accessions which have very similar matches to the accession names you are adding. In the example below, there are two accession names that are very similar to accession names already in the database. `TME0419' is very similar to `TME419', and actually is probably a mistake that should not be added to the database.
633 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_fuzzy} \end{center}
635 To avoid situations in adding a mistaken duplicate accession, the database gives you options for moving forward with these very similar looking accession names. You can either ``continue saving the name in your list'', ``replace name in your list with selected existing name'', ``remove name in your list and ignore'', or ``add name in your list as a synonym to selected existing name''.
637 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_fuzzy_options} \end{center}
639 Clicking ``Download Fuzzy Matches'' will return a tabular result of the ``fuzzy'' accession name results shown. Click ``Make changes and continue'' to move on.
641 The final dialog shows the accessions that will be added. Here you need to assign the species of these accessions. You can optionally group the accessions into a population and/or add an organization for the accessions.
643 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_complete_using_list} \end{center}
645 Once you click ``Add Accessions'', the new accessions will be created in the database and you will see the following confirmation dialog, which includes links to the newly created accessions.
647 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_saved} \end{center}
649 \hypertarget{uploading-accessions-and-accessions-info-from-a-file}{%
650 \section{Uploading Accessions and Accession's Info From A File}\label{uploading-accessions-and-accessions-info-from-a-file}}
652 The process to upload accessions is very similar to using a list, but enables you to add a variety of properties, such as synonyms, to the accessions in bulk.
654 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_using_file} \end{center}
656 Clicking on ``Spreadsheet format'' will show the following dialog. Here it shows that the file must be XLS or XLSX format and can contain a number of header columns as attributes. It is important that you use exactly the same header column names as listed here. In columns that indicate that many attribute values can be passed at once using (s), such as synonym(s), you can pass a comma separated list of values, such as `synonym1,synonym2'.
658 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_spreadsheet_info} \end{center}
660 Once you have selected your XLS or XLSX file for upload, click ``Continue''.
662 The following process is the same way as with lists:
664 The first dialog which can appear will show accession names which are already in the database.
666 Click ``Continue'' and the next dialog that can appear will show ``fuzzy'' matches for the accession names you are trying to upload. Here you can choose to prevent adding accession names which look very similar to each other as wrongly duplicated accessions.
668 Click ``Continue'' and the final dialog that will appear will show the information to be added into the database. Here it is divided into accession names that are new and accession names that already exist in the database; however, for the accession names that already exist it will show additional attributes that originated from your file that will be added to these accessions.
670 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_accessions_add_accessions_complete_using_file} \end{center}
672 Once you click ``Add Accessions'', the new accessions and information will be created in the database and you will see the following confirmation dialog, which includes links to the created and updated accessions.
674 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/manage_accessions_add_accessions_saved} \end{center}
676 \hypertarget{add-parentage-pedigree-information-to-accessions}{%
677 \section{Add Parentage (Pedigree) Information to Accessions}\label{add-parentage-pedigree-information-to-accessions}}
679 Pedigree data can be uploaded from your computer by clicking on ``Upload Pedigree File''
681 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image286} \end{center}
683 \textbf{\emph{IMPORTANT!} Please use only tab-delimited text file format (.xls or .xlsx formats are NOT supported).}
685 You can find detailed information on how to prepare pedigree file by clicking on ``File format information''
687 The currently supported format has four tab separated columns:
689 progeny name female parent accession male parent accession type
691 Type can be biparental, self, backcross, sib, polycross, reselected, or open. In the case of the open type, the male parent accession field can remain blank. For all other types, both columns should be filled, even if they contain the same information as another column (such as self).
693 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image333} \end{center}
695 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/pedigree_upload_format} \end{center}
697 \hypertarget{working-with-grafts}{%
698 \section{Working with grafts}\label{working-with-grafts}}
700 Grafts are plants that are composed of a rootstock and a scion, which are genetically different and fused together, usually at the stem level.
702 To work with grafts, the grafts interface needs to be activated by adding a configuration parameter in the sgn\_local.conf file. The parameter is show\_grafting\_interface. It should be set to 1 in sgn\_local.conf, the default is 0 (in sgn.conf).
704 Grafts to be created need to be specified using an Excel file (xlsx format) with two columns. The first column should have the header ``scion accession'' and should list accession names that will be scions. The second column should have the header ``rootstock accession'' and should list accession names that will be rootstocks.
706 In the database, the graft accessions will created as single accessions. The graft accession will have two relationships, one to the scion accession (scion\_of relationship) andone to the rootstock (rootstock\_of relationship). These relationships are displayed on the pedigree viewer. The graft accession name is created from the scion accession name and the rootstock accession name, separated by the graft separator character. By default, the graft separator character is the plus sign `+'. The graft separator character can be changed in the sgn\_local.conf file, using the parameter graft\_separator\_string. The graft separator string should not occur in any other accession names that are not grafts.
708 When the grafting interface is activated, a new button will be shown on the manage accessions page, called ``Upload Grafts''.
710 Clicking the button brings up the upload grafts dialog.
712 Select the Excel file containing the grafting information. The system will validate the file, for example, check whether the accessions are in the database, and if the headers are correct.
714 The validation result will be presented, and if problems are found, they will be listed. In addition, if there are problems, the Upload button will be grayed out and upload will not be possible. Conversely, if there are no problems, the Upload button will be activated and can be clicked to upload the data.
716 If the upload completes, a completion message is displayed with a summary what was uploaded.
718 Grafted accessions can be used like any other accession, for example, they can be used on field layouts. If you create a list of graft accessions, use the list type `accessions'.
720 Note that you shouldn't create new grafts based on other grafts. The scion accession and the rootstock accession have to be different, otherwise they will not be created.
722 \hypertarget{bulk-renaming-of-accessions}{%
723 \section{Bulk renaming of accessions}\label{bulk-renaming-of-accessions}}
725 Accessions can be renamed in bulk using the rename accessions feature. To rename accessions, prepare a tab delimited file with two columns: the first column should have the header ``old name'' and contain the accession names that need to be changed. The second column should have the header ``new name'' and contain the names that the accessions in column 1 should be renamed to.
727 The accession renaming feature is available from the Manage-\textgreater Accessions page. Click on the ``Rename Accessions'' button. The first step is the upload of the file with a verification step. The verification step checks whether all the accession names in column 1 exist in the database, and whether all the accession names given in column 2 do NOT exist in the database. Only if both conditions are met, will the ``rename'' button become active, otherwise an error message is displayed listing the offending accession names.
729 Optionally, the old name can be automatically added as a synonym to the renamed accession, using the checkbox on the submit form. This option is clicked by default. Unclick the checkbox to NOT save any old names as synonyms.
731 Note that accession renaming should not be undertaken lightly. This feature is intended for special use cases, such as where accessions are created in a nursery with a name that is different from the accession name in the downstream breeding program.
733 It can also be used to rename accessions in bulk that have spelling mistakes and other issues. Please note however, that the tool does not make any attempt to change the names of associated elements, such a plots, that may have been constructed using accession names.
735 Because of the many implications of accession renaming, the feature is limited to accounts with the curator role.
737 \hypertarget{managing-seed-lots}{%
738 \chapter{Managing Seed Lots}\label{managing-seed-lots}}
740 Seedlots are different from Accessions in that they represent the physical seed being evaluated in an experiment. Seedlots have things like physical storage locations and seed quantities, which accessions do not. The seed in seedlots can be from crosses or can be named accessions. Seedlots from crosses would represent seed harvested. Click Manage and then Seed Lots to begin.
742 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlots} \end{center}
744 \hypertarget{add-new-seedlots}{%
745 \section{Add New Seedlot(s)}\label{add-new-seedlots}}
747 To add a single new seedlot, click on ``Add Seedlot''. This will bring up the following dialog where you enter information about where the seedlot exists, what accession or cross is contained in it, and how many seeds there are. A seedlot must contain either an accession or a cross, and not both. A seedlot must have a weight in grams or a seed count or both of these.
749 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_add_seedlot} \end{center}
751 In the case where you have many seedlots to add to the database, you can upload an excel XLS or XLSX file instead. Click ``Upload Seedlots'' to see the following dialog.
753 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_upload_seedlots} \end{center}
755 \hypertarget{seedlot-transactions}{%
756 \section{Seedlot Transactions}\label{seedlot-transactions}}
758 Seedlots are capable of tracking where seeds came from, such as from crosses, and to where seeds go, such as to plots in the field. If you navigate to a seedlot detail page you will see the following.
760 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_detail_page} \end{center}
762 On this page you see and can edit information regarding a single seedlot, such as its name and location. You will also see a table indicating all t he transactions that a seedlot has been involved in, such as if it was planted in a plot in the field. Transactions to field plots are created when adding or uploading a new trial or from a trial's detail page. Clicking on ``Add New Transaction'' let you add a transaction from between this seedlot and another seedlot. This kind of transaction is useful for representing if you have distributed seed to different locations.
764 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_add_new_transaction} \end{center}
766 \hypertarget{seed-inventory}{%
767 \section{Seed Inventory}\label{seed-inventory}}
769 To inventory your seed: 1) Make sure your seedlots are in the database. Use ``Add New Seedlot'' to add a single seedlot or ``Upload New Seedlots'' to add many. 2) Make sure your seedlots are barcoded. You can print these barcodes from the database. 3) Use the ``Inventory'' Android Application to scan seedlot barcodes and record weight. Then use ``Upload Inventory'' to upload this info into database. If you prefer you can create your own CSV file and upload that, if you do not want to use the Inventory Application. For more info about the ``Inventory'' Android Application go to Inventory.
771 Clicking the ``Upload Inventory'' button will bring the following dialog:
773 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_upload_inventory} \end{center}
775 The CSV file that should contain your inventory should meet these Template requirements. The Seed Inventory Android Application exports this exact file.
777 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_upload_inventory_template} \end{center}
779 \hypertarget{find-seedlots-for-a-list-of-accessions}{%
780 \section{Find Seedlots For a List of Accessions}\label{find-seedlots-for-a-list-of-accessions}}
782 A convenient tool for searching available seedlots for a list of accessions is available in the list tool. First open up your list of accessions. For help opening a list of accessions please see the List section help. There is a button called ``See Available Seedlots''.
784 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/manage_seedlot_accession_list_search} \end{center}
786 Once you click this, you will see the following table in a dialog. From here you can create a list of seedlots using the checkboxes and the input at the bottom.
788 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_list_available_seedlots} \end{center}
790 \hypertarget{create-a-seedlot-for-an-accession-or-cross}{%
791 \section{Create a seedlot for an Accession or Cross}\label{create-a-seedlot-for-an-accession-or-cross}}
793 Complementary to what we saw above for creating seedlots from the ``Manage Seedlots'' page, it is possible to create a new seedlot from an accession's detail page or from the cross detail page. On the accession detail page, this is visible in the ``Related Stocks'' section as seen below. The cross detail page has an identical section. Notice the link for creating a new seedlot, which streamlines adding the seedlot.
795 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlot_accession_detail} \end{center}
797 \hypertarget{add-quality-data-to-a-seedlot}{%
798 \section{Add quality data to a seedlot}\label{add-quality-data-to-a-seedlot}}
800 Quality information can be added to a seedlot in the quality field. This is also available as a column in the file upload format. It is recommended to use a controlled vocabulary, defined by the user, for the quality field. For example, good quality seed should be labelled ``ok'', whereas other quality descriptors could be ``moldy'', ``insect damage'', or ``low sprouting'', etc.
802 \hypertarget{seedlot-maintenance-events}{%
803 \section{Seedlot Maintenance Events}\label{seedlot-maintenance-events}}
805 For some crops, such as sugar kelp, a ``seedlot'' requires routine maintenance for the successful long-term storage of the seedlot. (For example, a Seedlot Maintenance Event for sugar kelp would be the routine change of the water that gametophytes are kept it). Breedbase can now store a record of these Seedlot Maintenance Events associated directly with existing Seedlots. Maintenance Events can be uploaded using a simple Excel template or recorded directly on the website.
807 \hypertarget{setup}{%
808 \subsection{Setup}\label{setup}}
810 Each Breedbase instance needs to be configured to support the storage of Seedlot Maintenance Events since each crop will have their own distinct set of maintenance events for their seedlots. To check if your Breedbase instance supports this feature, go to the Manage menu and select the Seed Lots page. Make sure you are logged in and look for the \textbf{Seedlot Maintenance} button near the top, next to the \textbf{Create Seedlot(s)} and \textbf{Upload Inventory} buttons. If you don't see this button, contact the developer(s) supporting your Breedbase instance and ask if they can setup this feature.
812 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_seedlots_seedlot_maintenance} \end{center}
814 \emph{The location of the Seedlot Maintenance button on the Manage \textgreater{} Seed Lots page}
816 \hypertarget{adding-events}{%
817 \subsection{Adding Events}\label{adding-events}}
819 Seedlot Maintenance Events can be added using two methods: 1) Uploading an Excel template or 2) Recording events directly on the website
821 \hypertarget{uploading-events-with-excel-template}{%
822 \subsubsection*{Uploading Events with Excel Template}\label{uploading-events-with-excel-template}}
825 To bulk-upload a file of Seedlot Maintenance Events, first create an Excel (.xls or .xlsx) file with the following headers:
827 \begin{itemize}
828 \tightlist
829 \item
830 \textbf{seedlot} - the name of the Seedlot to associate the event with (must exactly match an existing Seedlot in the database)
831 \item
832 \textbf{type} - the name of the Seedlot Maintenance Event type (these vary between Breedbase instances, a list of supported event types is displayed on the upload page)
833 \item
834 \textbf{value} - the value of the Seedlot Maintenance Event (these may be different for each event type and vary between Breedbase instances, a list of supported event values is displayed on the upload page)
835 \item
836 \textbf{notes} - optional, additional notes/comments about the event
837 \item
838 \textbf{operator} - the username of the Breedbase user that recorded the event
839 \item
840 \textbf{timestamp} - the date/time the event was recorded, in `YYYY-MM-DD HH:MM:SS' format
841 \end{itemize}
843 Once you have an Excel file with the events filled out, follow these steps to upload the events to the database:
845 \begin{enumerate}
846 \def\labelenumi{\arabic{enumi}.}
847 \tightlist
848 \item
849 Make sure you are logged in to your Breedbase instance
850 \item
851 Go to the Manage \textgreater{} Seed Lots page
852 \item
853 Select the \textbf{Seedlot Maintenance} button
854 \item
855 Select the \textbf{Upload Maintenance} button
856 \item
857 Choose your Excel (.xls or .xlsx) file to upload
858 \item
859 Select the \textbf{Upload} button
860 \end{enumerate}
862 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_maintenance_upload} \end{center}
864 \emph{The Seedlot Maintenance upload dialog, showing the supported event types and values (for sugar kelp)}
866 \hypertarget{recording-events-on-website}{%
867 \subsubsection*{Recording Events on Website}\label{recording-events-on-website}}
870 To add individual Seedlot Maintenance Events to the database in real time, as they're being recorded, use the \textbf{Record Maintenance} page. Follow these steps to record Seedlot Maintenance Events:
872 \begin{enumerate}
873 \def\labelenumi{\arabic{enumi}.}
874 \tightlist
875 \item
876 Make sure you are logged in to your Breedbase instance
877 \item
878 Go to the Manage \textgreater{} Seed Lots page
879 \item
880 Select the \textbf{Seedlot Maintenance} button
881 \item
882 Select the \textbf{Record Maintenance} button
883 \item
884 Enter the \textbf{Seedlot Name} or scan a barcode that has the Seedlot Name encoded. Once entered, the box at the top of the page will display basic information about the Seedlot as well its recently recorded events.
885 \item
886 Select or Enter the values of individual events
887 \item
888 Optionally, notes button next to each event to add additional notes/comments about that specific event
889 \item
890 Make sure the operator/username and timestamp are correct
891 \item
892 Select the \textbf{Submit} button to add the recorded events to the database. NOTE: any events that remain selected as ``Not Recorded'' will not be submitted to the database.
893 \end{enumerate}
895 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_maintenance_record} \end{center}
897 \emph{The Seedlot Maintenance record page, as configured for sugar kelp}
899 \hypertarget{displaying-events}{%
900 \subsection{Displaying Events}\label{displaying-events}}
902 Recently recorded Seedlot Maintenance Events are displayed in a table from the main Seedlot Maintenance page, as well as the detail page for individual Seedlots.
904 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_maintenance_events_unfiltered} \end{center}
906 \emph{Unfiltered table of recent Seedlot Maintenance events}
908 The events displayed in these tables are sorted by timestamp, with the most recently recorded events displayed first. The displayed events can be filtered using any number of supported filter criteria, such as: - seedlot names (as entered on the page or using an existing seedlot list), - dates (on, on or before, before, on or after, and/or after the entered dates) - event types - event type values - operator/username
910 Select the properties of the filter(s) you want to apply, then select the \textbf{Add} button next to the button to add the filter to the list of applied filters. Once you're done adding filters, select the \textbf{Filter} button to search the database for the filtered events.
912 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/seedlot_maintenance_events_filtered} \end{center}
914 \emph{A filtered table of Seedlot Maintenance events}
916 The filtered events can be downloaded directly from the table using the \textbf{Excel} or \textbf{CSV} buttons at the top of the table. Or Seedlot Maintenance Events can be bulk-downloaded (this includes all events for a Seedlot) using a list of Seedlots from the main downloads page (see below).
918 \hypertarget{downloading-events}{%
919 \subsection{Downloading Events}\label{downloading-events}}
921 To bulk-download all events for a specific subset of Seedlots:
923 \begin{enumerate}
924 \def\labelenumi{\arabic{enumi}.}
925 \tightlist
926 \item
927 Create a list containing the Seelots you are interested in.
928 \item
929 Go to the \textbf{Download Using Lists} page (Manage \textgreater{} Download)
930 \item
931 Find the \textbf{Download Seedlot Maintenance Events} section
932 \item
933 Select your list of Seedlots
934 \item
935 Select the \textbf{Download} button to generate the download file
936 \end{enumerate}
938 The downloaded file will follow the same format as the upload template and will contain all recorded Seedlot Maintenance Events for each Seedlot in the list.
940 \hypertarget{deleting-seedlots}{%
941 \section{Deleting Seedlots}\label{deleting-seedlots}}
943 Seedlots can be deleted on the Manage Seedlots page (/breeders/seedlots) by search the seedlot and then clicking the X to delete one seedlot at a time. To delete a seedlot, the logged in user needs the required delete privileges on the seedlot. The seedlot also should not have any transactions associated with it (except for the initial transaction).
945 To delete seedlots in bulk, generate a list of type seedlot, for example, using the wizard. Open the section ``Delete seedlots using a list'' on the Manage Seedlots page and select the list. Seedlot deletion using a list is only available to user with curator status.
947 \hypertarget{managing-populations}{%
948 \chapter{Managing Populations}\label{managing-populations}}
950 Populations are modeled as groups of accessions. This grouping can be useful in downstream analyses. To manage these populations go to Manage Accessions and scroll tp the bottom.
952 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_populations} \end{center}
954 To add a new population click ``Create Population''. The following dialog will appear where you choose a list of accessions and give a name to the new population. Please note it is also possible to create a population when you are uploading new accessions into the database.
956 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/manage_populations_add_population} \end{center}
958 Click on the plus (+) button next to Populations to see all the available populations. Click on a population name to see the accessions in the population.
960 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_populations_expand_table} \end{center}
962 From here you can delete accessions from a population as well as add new accessions to the population.
964 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_populations_table} \end{center}
966 \hypertarget{managing-crosses}{%
967 \chapter{Managing Crosses}\label{managing-crosses}}
969 Information for crosses can be managed using the ``Crosses'' option in the Manage menu.
971 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image148} \end{center}
973 \hypertarget{crossing-experiment}{%
974 \section{Crossing Experiment}\label{crossing-experiment}}
976 Different crosses in the same trial/nursery/project are grouped via ``\textbf{crossing experiment}''. Crossing experiments are organized based on their breeding programs. To find a crossing experiment, you can either type the crossing experiment name in the ``Search'' box, or look for the crossing experiment directly in its breeding program by clicking on the ``\textbf{+}'' icon. In each breeding program, crossing experiments can be placed directly in the breeding program, or organized in folders. The ``\textbf{Folders}'' section allows you to place crossing experiments in folders, move a crossing experiment in a folder to another folder, or rearrange your folders within a breeding program.
978 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_crosses1} \end{center}
980 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_crosses2} \end{center}
982 \hypertarget{add-new-crossing-experiment}{%
983 \subsection{Add New Crossing Experiment}\label{add-new-crossing-experiment}}
985 To add a new crossing experiment, click on ``Add Crossing Experiment'' link.
987 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_crosses_crossingtrial} \end{center}
989 Required Information:
991 • ``\textbf{Crossing Experiment Name}'': enter a name for the crossing experiment. The crossing experiment name must not already exist in the database.
993 • ``\textbf{Breeding program}'': select a breeding program that is available in the database. New breeding programs can be added on the ``Breeding program'' page, accessible from the ``Manage'' menu. \emph{Breeding Program Page}
995 • ``\textbf{Location}'': select a location for the crossing experiment. New locations can be entered on the ``\textbf{Locations}'' page, accessible from the ``\textbf{Manage}'' menu. \emph{Location Page}
997 • ``\textbf{Year''}: select a year.
999 • ``\textbf{Description}'': enter a description for the crossing experiment.
1001 After filling in the information, click ``\textbf{Submit}'' to generate the crossing experiment.
1003 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/add_crossingtrial} \end{center}
1005 \hypertarget{cross}{%
1006 \section{Cross}\label{cross}}
1008 \hypertarget{add-new-crosses}{%
1009 \subsection{Add New Crosses}\label{add-new-crosses}}
1011 \hypertarget{add-a-cross-by-using-the-add-new-cross-dialog}{%
1012 \subsubsection*{Add a cross by using the ``Add New Cross'' dialog}\label{add-a-cross-by-using-the-add-new-cross-dialog}}
1015 To add a single new cross, click on ``Add Cross'' link.
1017 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_crosses_addcross} \end{center}
1019 Enter cross information in the popup dialog.
1021 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/add_cross} \end{center}
1023 Required Information:
1025 • ``\textbf{Crossing experiment}'': select a crossing experiment available in the database.
1027 • ``\textbf{Location}'': select a location available in the database.
1029 • ``\textbf{Cross name}'': enter a name for the cross. The cross name must not already exist in the database.
1031 • ``\textbf{Cross type}'': the options for cross types are: biparental, self, open pollinated, bulk, bulk selfed, bulk and open pollinated, double haploid, polycross, reciprocal and multicross.
1033 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/new_cross_dialog_type} \end{center}
1035 • The ``\textbf{Female Parent''} and ``\textbf{Male Parent''} field are auto-complete fields for accessions that are already in the database. The parents specified will be entered in the pedigree of the new accessions generated by this cross.
1037 Optional Information:
1039 • ``\textbf{Female Plot and/or Male Plot}'': In addition to the accession names, specific plots used in the cross can also be added to the database. To retrieve plot names associated with each female/male accession, enter your trial name, then click ``\textbf{Search Plots}''. Plot names of each parental accession in that field trial will be shown in the drop-down list, you can then select the plot used in the cross.
1041 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/new_cross_dialog2} \end{center}
1043 Additional crossing experimental information such as pollination date, number of flowers, number of fruits, number of seeds can be specified during adding new cross. Alternatively, this information can be updated or edited directly on the ``\textbf{Cross Details}'' page.
1045 If you know the number of accessions that are generated from the cross, they can be instantiated immediately in the database by clicking the ``\textbf{Add accessions for progeny}'' checkbox and specifying the number.
1047 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/add_cross_info} \end{center}
1049 Click ``Submit'' to generate the cross.
1051 \hypertarget{upload-new-crosses}{%
1052 \subsubsection*{Upload New Crosses}\label{upload-new-crosses}}
1055 To upload new crosses from an Excel file (.xls or .xlsx), click on ``Upload Crosses'' link.
1057 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_crosses_upload} \end{center}
1059 Select a crossing experiment and a location available in the database from drop-down lists and choose a file that you want to upload, then click ``\textbf{Upload File}''.
1061 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/upload_crosses} \end{center}
1063 Please check spreadsheet format carefully. The file must be an Excel file (.xls or .xlsx).
1065 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_upload_format} \end{center}
1067 \hypertarget{update-crosses-by-uploading}{%
1068 \subsection{Update Crosses by Uploading}\label{update-crosses-by-uploading}}
1070 To upload progenies and/or experimental info of crosses already in the database, go to ``\textbf{Manage-Upload}'' page.
1072 In the ``\textbf{Crosses}'' section, there are links for uploading progenies and experimental info.
1074 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_upload_page} \end{center}
1076 Please check spreadsheet format in each link carefully. The file must be an Excel file (.xls or .xlsx).
1078 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/progenies_upload_spreadsheet} \end{center}
1080 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/crossinfo_upload_spreadsheet} \end{center}
1082 Note: crossing experimental information is customized based on the need for each crop. As a result, column headers for experimental info in your database may be different from the information shown in this manual.
1084 \hypertarget{cross-wishlist}{%
1085 \section{Cross Wishlist}\label{cross-wishlist}}
1087 An Android ODK application is being developed to record cross information on a mobile device in the field. To link this mobile application with the database, the Cross Wishlist can be used to create a plan for which crosses to perform.
1089 This tool is available on the Manage Cross page. It is currently only available on certain databases, so when you click this link you may see an alert mentioning that the cross wishlist is not available on your database.
1091 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_cross_click_cross_wishlist} \end{center}
1093 \hypertarget{create-a-cross-wishlist}{%
1094 \subsection{Create a Cross Wishlist}\label{create-a-cross-wishlist}}
1096 \hypertarget{step-1.-select-the-accessions-to-be-crossed-in-your-trial}{%
1097 \subsubsection*{Step 1. Select the accessions to be crossed in your trial}\label{step-1.-select-the-accessions-to-be-crossed-in-your-trial}}
1100 There are two interfaces for this step, either ``Not Using Lists'' or ``Using Lists''. Depending on if you already have a list of female and male accessions to use, you can decide on which interface to use. The end result of using either interface is the same.
1102 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_initial_dialog} \end{center}
1104 We will start by showing ``Not Using Lists''. First select the trial in which the crosses are to be performed. This will populate a select box with all the accessions used in that trial. From here, one or many accessions can be selected as the female accession.
1106 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_not_using_list_01} \end{center}
1108 Once the female accessions are selected, a table is populated. Each row in this table begins with the female accession that was selected, followed by a select box with all the accessions used in the trial. From here, one or many accessions can be selected as the male to use in the cross.
1110 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_not_using_list_02} \end{center}
1112 Once the male accessions are selected to cross with each female accession, a table indicating priorities appears. Priority is meant to indicate an order in which to attempt the cross; first the highest priority male will be considered, but if this cross is not possible then subsequent males will be considered. An equal priority can be given and this will not indicate a specific order to follow.
1114 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_not_using_list_03} \end{center}
1116 Alternatively, we could have used the ``Using List'' interface instead. Here we select the trial in which the crosses will be performed and we provide a list of accessions to consider for the females and the males to be crossed.
1118 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_using_list_01} \end{center}
1120 \hypertarget{step-2.-select-the-female-plots-to-be-considered-in-the-crosses}{%
1121 \subsubsection*{Step 2. Select the female plots to be considered in the crosses}\label{step-2.-select-the-female-plots-to-be-considered-in-the-crosses}}
1124 After selecting your lists, the table below is populated. The first column has all the female accessions specified and the header row has all the male accessions specified. The males to consider crossing with each female are indicated with priority.
1126 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_using_list_02} \end{center}
1128 After female and male accessions are selected to cross, either by the ``Nor Using List'' or ``Using List'' interface, click Next. The next dialog will allow selection of specific female plots to use for the cross. Sections for each female accession selected will appear with the field layout displayed. Selecting all plots in which the female is present indicates that the cross should be performed on all plots where that female accession is present.
1130 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_wishlist_not_using_list_04} \end{center}
1132 \hypertarget{step-3.-transfer-the-cross-wishlist-to-your-mobile-crossing-application}{%
1133 \subsubsection*{Step 3. Transfer the cross wishlist to your mobile crossing application}\label{step-3.-transfer-the-cross-wishlist-to-your-mobile-crossing-application}}
1136 Clicking ``Push Cross Wishlst for ODK Use'' will send the cross wishlist plan to the ONA server for use by the mobile ODK application. Crosses can then be performed and recorded in the field using the mobile application. Afterwards, the crosses are sent back to our database and stored.
1138 \hypertarget{crossing-experiment-detail-page}{%
1139 \section{Crossing Experiment Detail Page}\label{crossing-experiment-detail-page}}
1141 Information for crosses in the same crossing experiment is compiled in the crossing experiment detail page.
1143 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/crossingtrial_1} \end{center}
1145 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/crossingtrial_2} \end{center}
1147 Each cross name, female parent, male parent, female plot and male plot has a link to its own detail page, which contains information specific to each one. Note: crossing experimental information is customized based on the need for each crop. As a result, the details of the information in your database may be different from the information shown in this manual.
1149 \hypertarget{cross-detail-page}{%
1150 \section{Cross Detail Page}\label{cross-detail-page}}
1152 Information of each cross can also be viewed in its detail page.
1154 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_page_1} \end{center}
1156 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_page_2} \end{center}
1158 This page allows you to update or edit crossing experimental information and add progenies related to that cross. Note: crossing experimental information is customized based on the need for each crop. As a result, the details of the information in your database may be different from the information shown in this manual.
1160 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/edit_cross_info} \end{center}
1162 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/cross_add_progenies} \end{center}
1164 \hypertarget{managing-field-trials}{%
1165 \chapter{Managing Field Trials}\label{managing-field-trials}}
1167 To view trial details on the database, click on the ``Field Trials'' link under the ``manage'' menu on the toolbar.
1169 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image290} \end{center}
1171 Clicking on the ``Field Trials'' link will bring you to the ``Manage Trials'' page. On this page, trials are organized according to their breeding programs. To access trial details, click on the + icon next to your breeding program.
1173 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image153} \end{center}
1175 Trials can be placed directly in their breeding program. Alternatively, they can be organized by using folders within each breeding program. Clicking on trial name will take you directly to the trial details page.
1177 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image279} \end{center}
1179 \hypertarget{trial-detail-page}{%
1180 \section{Trial Detail Page}\label{trial-detail-page}}
1182 Trial detail page displays important information about individual trial including breeding program, location, year, description of the trial, design, and any files associated with that trial.
1184 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_start} \end{center}
1186 The ``Navigator'' section on the trial detail page allows easy access to all aspects of your trial. This section contains subsections for printing labels for your plots or plants, recording phenotypes, viewing your trial layout or design, viewing phenotypes for this trial, or conducting analyses.
1188 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_navigator} \end{center}
1190 \hypertarget{adding-trials}{%
1191 \section{Adding Trials}\label{adding-trials}}
1193 Only users with the account status of ``submitter'' may create trials. To learn how to change your account status from ``user'' to ``submitter'' visit the \ref{managing-your-account} page.
1195 \hypertarget{prerequisites}{%
1196 \subsection{Prerequisites}\label{prerequisites}}
1198 \begin{itemize}
1199 \item
1200 To add a trial, all of your accessions should already exist in the database before you begin to design a trial. If you have accessions that are not in the database, see the instructions for adding accessions .
1201 \item
1202 Breeding program and location for your trial should also exist in the database. If you need to add breeding program and/or location to the database, see instructions for adding breeding program and location in the ``Managing Breeding Programs'' and ``Managing locations'' respectively.
1203 \end{itemize}
1205 On the ``Manage Trials'' page, there are three alternative methods for you to add new trials: by using ``Add Trial'' form, ``Upload Trial'' form, or ``Add Multi-location Trial'' form.
1207 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_manage_trials} \end{center}
1209 \hypertarget{adding-a-trial-by-using-add-trial-form}{%
1210 \subsection{Adding a trial by using ``Add Trial'' form}\label{adding-a-trial-by-using-add-trial-form}}
1212 \hypertarget{step-1.-begin-the-design-new-trial-workflow}{%
1213 \subsubsection*{Step 1. Begin the ``Design new trial'' workflow}\label{step-1.-begin-the-design-new-trial-workflow}}
1216 Click on ``Design New Trial'' to begin.
1218 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_open_form} \end{center}
1220 The first step in this workflow is an introduction that looks like:
1222 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_1} \end{center}
1224 Here it gives information about what is required for a trial, including that to create a new trial, you need to create a list of the accessions that you would like to use in the trial. Lists can be viewed, created, and modified with the ``\textbf{lists}'' tool at the upper right of the screen. For more information on lists, click \protect\hyperlink{working-with-lists}{\emph{here}}.
1226 \hypertarget{step-2.-enter-trial-information}{%
1227 \subsubsection*{Step 2. Enter ``Trial Information''}\label{step-2.-enter-trial-information}}
1230 On this screen you need to enter basic information about the trial, such as breeding program and location(s). You must also select a design type, such as Complete Block Design. The design is important because it influences how your genotypes are distributed and randomized over the trial. You must first click validate before proceeding to the next step.
1232 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_2} \end{center}
1234 \hypertarget{step-3.-enter-design-information}{%
1235 \subsubsection*{Step 3. Enter ``Design Information''}\label{step-3.-enter-design-information}}
1238 On this screen you need to specify a list of accessions to use in the experiment. This list must be a valid list of accessions. You must also specify all required design information, such as number of blocks in this case.
1240 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_3} \end{center}
1242 \hypertarget{step-4.-enter-field-map-information-optional}{%
1243 \subsubsection*{Step 4. Enter ``Field Map Information'' (Optional)}\label{step-4.-enter-field-map-information-optional}}
1246 On this screen you can specify how the row and column numbers will be generated for the plots in the trial. The row and column number represent a relative position of the plot in the field. If you are not exactly sure of how you will plant the plots in the field or you have an irregular (non-rectangular) layout, you can skip this step for now. This information can be added on the Trial Detail Page once the trial is saved in the database in order to reflect exactly how the plots were planted in the field.
1248 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_4} \end{center}
1250 \hypertarget{step-5.-custom-plot-naming-optional}{%
1251 \subsubsection*{Step 5. Custom Plot Naming (Optional)}\label{step-5.-custom-plot-naming-optional}}
1254 On this screen it is possible to change the format in which plot names will be generated for your trial. It is recommended to skip this step and just use the format generated by the database by default.
1256 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_5} \end{center}
1258 \hypertarget{step-6.-review-designed-trial}{%
1259 \subsubsection*{Step 6. Review Designed Trial}\label{step-6.-review-designed-trial}}
1262 On this screen you can review the trial that the database has generated.
1264 You will see a graphical representation of the trial. The numbers on the squares represent the plot\_number of each plot and on mouse hover you can see further information about the plot.
1266 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_6_top} \end{center}
1268 You will also see a table representation of all the plots and their information. If you want to redo the randomization, you can click the ``Redo Randomization'' button.
1270 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_6_middle} \end{center}
1272 At the bottom there is a brief summary of the trial followed by two buttons.
1274 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_6_bottom} \end{center}
1276 \hypertarget{step-7.-add-field-management-factors-to-your-design-optional}{%
1277 \subsubsection*{Step 7. Add Field Management Factors to your design (Optional)}\label{step-7.-add-field-management-factors-to-your-design-optional}}
1280 You can add Field Management Factors by clicking ``Add Field Management Factor(s) to Design''. Clicking this opens a dialog to name your factor. You can name this to account for fertilizer or watering regime or inoculation or anything else. This is optional and can be added from the trial detail page afterwards.
1282 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/add_management_factor_name_dialog} \end{center}
1284 Click ``Continue'' and a dialog will appear where you can specify plots for which the factor was applied. There is a select all button also.
1286 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/add_management_factor_dialog} \end{center}
1288 \hypertarget{step-8.-saving-new-trial-in-the-database}{%
1289 \subsubsection*{Step 8. Saving new trial in the database}\label{step-8.-saving-new-trial-in-the-database}}
1292 Once you are done reviewing the trial you can click ``Confirm'' to save the generated trial into the database. Once the trial has saved you will see the final completion screen:
1294 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_create_form_7} \end{center}
1296 \hypertarget{adding-a-trial-from-an-uploaded-file}{%
1297 \subsection{Adding a trial from an uploaded file}\label{adding-a-trial-from-an-uploaded-file}}
1299 If you already have trial design layout in a spreadsheet, you can add your trial into the database by using ``Upload Trial'' form. To access ``Upload Trial'' form, click on ``Upload Existing Trial(s)'' button on the ``Manage Trials'' page.
1301 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials} \end{center}
1303 When you click ``Upload Existing Trial(s)'' you will see the following workflow. Notice that there are 5 numbered sections to the workflow.
1305 \hypertarget{step-1}{%
1306 \subsubsection*{Step 1:}\label{step-1}}
1309 The first step is to understand what the format of the trial upload is. It is important to understand that the field layout represents plots in the experiment. Each plot has a globally unique plot\_name, a sequential plot\_number that is unique in the trial (but not globally unique. e.g.~101, 102, 103 for three separate plots), an accession\_name representing what genotype is planted in that plot, and a block\_number representing design replication. Each plot can be thought of as having a row\_number and a column\_number representing the relative position of the plot in a grid (e.g.~the top left plot is row 1 column 1 following by row 1 column 2). Each plot can be planted with an amount of seed from a seedlot, where the seedlot\_name represents the specific seed packet that was used, and num\_seed\_per\_plot and weight\_gram\_seed\_per\_plot represent amount that were transferred from the seedlot\_name to the plot\_name. Treatments (management factors) can be applied onto plots using additional column names in your file, where a 1 represents if the factor was applied to the plot and an empty cell means it was not applied.
1311 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_1} \end{center}
1313 This information and more can be found by clicking ``Information about file format'', which shows the following:
1315 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_template} \end{center}
1317 \hypertarget{minimum-file-requirements}{%
1318 \paragraph*{Minimum File requirements}\label{minimum-file-requirements}}
1319 \addcontentsline{toc}{paragraph}{Minimum File requirements}
1321 \begin{itemize}
1322 \item
1323 All accession names in the file must exist in the database. See adding accessions for more information.
1324 \item
1325 The uploaded file should be XLS or XLSX file format (NOT CSV).
1326 \item
1327 The first row (header) must contain the column names: plot\_name accession\_name plot\_number block\_number is\_a\_control rep\_number range\_number row\_number col\_number seedlot\_name num\_seed\_per\_plot weight\_gram\_seed\_per\_plot
1328 \end{itemize}
1330 Minimal Example:
1332 \begin{longtable}[]{@{}
1333 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0656}}
1334 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0861}}
1335 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0738}}
1336 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0779}}
1337 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0820}}
1338 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0697}}
1339 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0779}}
1340 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0697}}
1341 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0697}}
1342 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.0779}}
1343 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.1066}}
1344 >{\raggedright\arraybackslash}p{(\columnwidth - 22\tabcolsep) * \real{0.1434}}@{}}
1345 \toprule\noalign{}
1346 \begin{minipage}[b]{\linewidth}\raggedright
1347 \textbf{plot\_name}
1348 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1349 \textbf{accession\_name}
1350 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1351 \textbf{plot\_number}
1352 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1353 \textbf{block\_number}
1354 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1355 \textbf{is\_a\_control}
1356 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1357 \textbf{rep\_number}
1358 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1359 \textbf{range\_number}
1360 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1361 \textbf{row\_number}
1362 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1363 \textbf{col\_number}
1364 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1365 \textbf{seedlot\_name}
1366 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1367 \textbf{num\_seed\_per\_plot}
1368 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
1369 \textbf{weight\_gram\_seed\_per\_plot}
1370 \end{minipage} \\
1371 \midrule\noalign{}
1372 \endhead
1373 \bottomrule\noalign{}
1374 \endlastfoot
1375 2018plot1 & my\_accession1 & 101 & 1 & 1 & & & & & & & \\
1376 2018plot2 & my\_accession2 & 201 & 2 & & & & & & & & \\
1377 2018plot3 & my\_accession2 & 102 & 1 & & & & & & & & \\
1378 2018plot4 & my\_accession1 & 202 & 2 & 1 & & & & & & & \\
1379 \end{longtable}
1381 \hypertarget{file-validation}{%
1382 \paragraph*{File validation}\label{file-validation}}
1383 \addcontentsline{toc}{paragraph}{File validation}
1385 \begin{itemize}
1386 \tightlist
1387 \item
1388 In case of errors in the uploaded file such as missing or invalid data, a window will appear listing the specific errors in the file that must be corrected before a successful upload.
1389 \end{itemize}
1391 \hypertarget{uploading-a-trial-with-field-management-factors}{%
1392 \paragraph*{Uploading a trial with Field Management Factors}\label{uploading-a-trial-with-field-management-factors}}
1393 \addcontentsline{toc}{paragraph}{Uploading a trial with Field Management Factors}
1395 \begin{itemize}
1396 \tightlist
1397 \item
1398 You can upload a trial with field management factor(s) by adding additional column(s). The column header will be the factor e.g.~fertilizer, watering regime, inoculation, etc. and the values in these columns will be either 1 or empty, indicating that the factor was applied to the plot or not.
1399 \end{itemize}
1401 \hypertarget{step-2}{%
1402 \subsubsection*{Step 2:}\label{step-2}}
1405 Once you feel that your experiment field layout is in the right format, click on to the Next Step. You will see the following form which must be filled in completely:
1407 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_2} \end{center}
1409 The trial name must be globally unique in the database. Please try to follow standard naming conventions for your group.
1411 First you need to validate the form, and then you can click ``Upload Trial''.
1413 \hypertarget{step-3}{%
1414 \subsubsection*{Step 3:}\label{step-3}}
1417 In the case where you have uploaded an experiment using accession\_names that are not already present in the database, you will be taken to this screen. If the accession\_names in your file are all already in the database, this step will be skipped. The reason it is necessary for your accessions to be in the database before you can add a trial using them is that a single accession can be used among many trials and therefore must exist as a separate entity in the database; because of this it is also very important to be careful about adding wrongly duplicated accession\_names into the database. From this screen it is possible to make a new list with the missing accession\_names and then click ``Add Accessions to the database'' to immediately resolve the issue. Once all your accessions are in the database, click to move to the Next Step.
1419 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_3} \end{center}
1421 \hypertarget{step-4}{%
1422 \subsubsection*{Step 4:}\label{step-4}}
1425 In the case where you have uploaded an experiment using seedlot\_names that are not already present in the database, you will be taken to this screen. If the seedlots in your file are all already in teh database, this step will be skipped. The reason it is necessary for your seedlots to be in the database before you can add a trial using them is that a ginel seedlot can be used among many trials and therefore must exist as a separate entity in the database. From this screen it is possible to add the missing seedlots; you can either upload an XLS or XLSX file to add many at once or you can add them one by one. Once all your seedlots are in the database, click to move to the Next Step.
1427 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_4} \end{center}
1429 \hypertarget{step-5}{%
1430 \subsubsection*{Step 5:}\label{step-5}}
1433 If there are any other errors with your file, such as if the plot\_names are not globally unique in the database or your plot\_numbers are not unique in your trial or row\_number is not an integer or any other error, you will see the errors listed in the red box. It is up to you to correct these errors in your file. Simply open up the file you selected earlier in Excel and correct the issues and then save the file. Then you can click ``Submit Trial'' and it will resubmit it for you. You can continue to edit your file here and submit as many times as you need until it is accepted.
1435 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_5} \end{center}
1437 \hypertarget{completion-screen}{%
1438 \subsubsection*{Completion screen}\label{completion-screen}}
1441 Whether you were lucky enough to submit your trial successfully on Step 2 or if you tried many times on Step 5, once your trial has been saved in the database you will see the following screen:
1443 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_upload_trial_6} \end{center}
1445 \hypertarget{multi-location-trials}{%
1446 \subsection{Multi-location trials}\label{multi-location-trials}}
1448 To add multi-location trials, simply select the multiple locations while using the `Add Trial' form.
1450 This will create a separate trial for each selected location, but they will share the same design and will be grouped in a single folder.
1452 By default each trial design will have a fresh randomization, but if desired you may check the ``Use same randomization for all locations'' option.
1454 \hypertarget{viewing-plot-layout-and-trait-heatmap}{%
1455 \subsection{Viewing Plot Layout and Trait HeatMap}\label{viewing-plot-layout-and-trait-heatmap}}
1457 \hypertarget{viewing-plot-layout}{%
1458 \subsubsection{Viewing plot layout}\label{viewing-plot-layout}}
1460 In the ``Field Layout Tools and Phenotype Heatmap'' section of a Trial Detail page, the trial physical layout is displayed by default. The relative position of the plots will be displayed based on the row and column positions given to the plots during the trial creation or upload steps. The plots are color-coded based on the plot's rep and block numbers and whether or not it is used as a check. Hover the mouse over the plot to see details about a specific plot.
1462 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/fieldmap_trial_layout} \end{center}
1464 If there is more than one trial grown in the same physical field, the trial layouts of all of the trials can be shown together if the trials share these properties:
1466 Each trial has the same year
1468 Each trial has the same location
1470 The location type of the trials' location is set to Field
1472 The row and column positions of all of the plots (across the related trials) don't overlap. For example, trial \#1 starts at row 1 and trial \#2 starts at row 10.
1474 When these conditions are met and you check the ``Select Trials in Same Field'' checkbox, the plots from all of the related trials will be displayed on the same field layout. The plots will be color-coded by trial. The planting order and harvest order downloads will include the plots from all of the displayed trials in the order in which the plots occur in the field.
1476 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/fieldmap_multi_trial_layout} \end{center}
1478 \hypertarget{viewing-plot-layout-for-multiple-trials}{%
1479 \subsubsection{Viewing plot layout for multiple trials}\label{viewing-plot-layout-for-multiple-trials}}
1481 \hypertarget{tracking-plot-images-on-fieldmap}{%
1482 \subsubsection*{Tracking plot images on fieldMap}\label{tracking-plot-images-on-fieldmap}}
1485 Plot images can be seen on fieldMap if a plot is associated to any image.
1487 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/fieldmap_plot_image} \end{center}
1489 To view plot image(s), click on a plot, a dialog will appear.
1491 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/fieldmap_view_plot_image} \end{center}
1493 On the appeared dialog, click on View plot images. To see more images if a plot has more that 2 images, click on See more images\ldots{} Medium size of an image can be viewed by clicking on an image.
1495 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/fieldmap_display_plot_image} \end{center}
1497 \hypertarget{viewing-assayed-trait-heatmap}{%
1498 \subsubsection*{Viewing assayed trait heatmap}\label{viewing-assayed-trait-heatmap}}
1501 Phenotype heatmap can be viewed by selecting a specific assayed trait from the selectbox drop-down. Mousing over the plots, highlights the plot in green and also displays the plot's field information including the selected trait's phenotype value.
1503 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/heatmap_assayed_trait_view} \end{center}
1505 \hypertarget{suppressing-plot-phenotype}{%
1506 \subsubsection*{Suppressing Plot Phenotype}\label{suppressing-plot-phenotype}}
1509 Clicking on a plot on the heatmap would display a dialog that has a button for suppressing a plot phenotype value for a given trait. A suppressed plot value can be excluded during trial analysis and phenotype download.
1511 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_suppress_phenotype} \end{center}
1513 \hypertarget{adding-additional-information-in-the-trial-detail-page}{%
1514 \subsection{Adding additional information in the ``Trial Detail'' page}\label{adding-additional-information-in-the-trial-detail-page}}
1516 After you added a new trial to the database, you can edit trial details or add more information for that trial through the``Trial Detail'' page.
1518 \hypertarget{uploading-physical-trial-layout}{%
1519 \subsubsection*{Uploading Physical Trial Layout}\label{uploading-physical-trial-layout}}
1522 You can upload physical trial layout by clicking on the ``Upload trial coordinates'' button on the ``Trial Detail'' page.
1524 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/image332} \end{center}
1526 Please check file format carefully. You can find file format information by clicking on the ``Spreadsheet format'' on the ``Upload trial coordinates'' window.
1528 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image340} \end{center}
1530 Spreadsheet format:
1532 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image190} \end{center}
1534 \hypertarget{physical-trial-layout-file-requirements}{%
1535 \subsubsection*{Physical Trial Layout File requirements}\label{physical-trial-layout-file-requirements}}
1538 \begin{itemize}
1539 \item
1540 All plot names in the file must exist in the database.
1541 \item
1542 The uploaded file should be tab delimited (txt).
1543 \item
1544 The first row (header) must contain the column names
1545 \end{itemize}
1547 Example:
1549 \begin{longtable}[]{@{}lll@{}}
1550 \toprule\noalign{}
1551 plot\_name & row\_number & col\_number \\
1552 \midrule\noalign{}
1553 \endhead
1554 \bottomrule\noalign{}
1555 \endlastfoot
1556 plot1 & 1 & 1 \\
1557 plot2 & 1 & 2 \\
1558 plot3 & 1 & 3 \\
1559 \end{longtable}
1561 Select the trial layout coordinates file that you want to upload for this trial, then click ``OK'' button to upload the file.
1563 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image79} \end{center}
1565 The following message is displayed after the coordinates are uploaded.
1567 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image276} \end{center}
1569 The field layout can be viewed by clicking on the ``Trial Heatmap Section'' to see a drop-down of the field map.
1571 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/heatmap_default_display} \end{center}
1573 \hypertarget{downloading-field-map-spreadsheet}{%
1574 \subsubsection*{Downloading Field Map Spreadsheet}\label{downloading-field-map-spreadsheet}}
1577 Field map spreadsheet can be downloaded if the trial has field coordinate (row and column numbers) uploaded for it plots. To download, click on the Download FieldMap Layout link on the Trial Heatmap section.
1579 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/field_map_download_link} \end{center}
1581 A dialog will appear, click on the submit button to download.
1583 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/field_map_download_dialog} \end{center}
1585 Click to view downloaded spreadsheet.
1587 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/field_map_download_spreadsheet} \end{center}
1589 \hypertarget{editing-physical-trial-layout}{%
1590 \subsubsection*{Editing Physical Trial Layout}\label{editing-physical-trial-layout}}
1593 ``Usage Help'' link contains information on how to edit physical trial layout.
1595 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/image332} \end{center}
1597 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image319} \end{center}
1599 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image317} \end{center}
1601 There are three different options for editing trial layout:
1603 \begin{itemize}
1604 \item
1605 Replacing plot accession by clicking on the plot in the layout.
1606 \item
1607 Replacing trial accession by using ``Edit Field Map'' link.
1608 \item
1609 Substituting plot accessions by using ``Edit Field Map'' link.
1610 \end{itemize}
1612 When you move a cursor over a plot on the trial layout, information for that plot appears.
1614 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/image320} \end{center}
1616 To edit a specific plot, clicking on that plot. Entering new accession on the ``Replace Plot Accession'' form, then clicking on ``Replace Plot Accession'' button.
1618 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image262} \end{center}
1620 To replace an accession (in every plot/plant of that accession), clicking on ``Edit Field Map'' button.
1622 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image173} \end{center}
1624 On the ``Edit Field Map'' window, clicking on ``Replace Accession'' button.
1626 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image87} \end{center}
1628 Selecting any accession that you want to replace and entering your new accession, then clicking ``Replace Trial Accession'' button.
1630 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image85} \end{center}
1632 You can switch plot accessions between any two plots by clicking on ``Substitute Accession'' button.
1634 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image162} \end{center}
1636 On the ``Substitute Plot Accession'' form, selecting the two plots that you want to switch, then clicking on the ``Substitute Plot Accession'' button.
1638 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image282} \end{center}
1640 \hypertarget{downloading-the-trial-layout-from-the-trial-detail-page}{%
1641 \subsection{Downloading the Trial Layout from the ``Trial Detail'' page}\label{downloading-the-trial-layout-from-the-trial-detail-page}}
1643 Click on ``Download Layout'' on the Trial Detail page.
1645 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image348} \end{center}
1647 The trial layout includes all information regarding the observation units in the experiment. The observation units can be plots, plants, or subplots. The trial layout can include trial design information such as the block\_number and rep\_number. It can also include physical map information such as the row\_number and col\_number, if that information is available for the trial. The trial layout also includes information regarding treatments that have been applied in the field. Optionally, the layout can give information regarding accession's global performance for a list of traits.
1649 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image347} \end{center}
1651 \hypertarget{adding-plant-entries-to-your-trial}{%
1652 \subsection{Adding Plant Entries To Your Trial}\label{adding-plant-entries-to-your-trial}}
1654 After you added a new trial to the database you can choose to add plant entries to your trial. Adding plant entries enables plant level phenotyping. It is generally better to enter data at the plant level into the database because it is always possible to calculate plot level phenotypes from the individual plant data.
1656 Plant entries can be added to your trial in two ways: 1) Automatically generated by the database. The only input required is the number of plants per plot. 2) Uploaded in an XLS or XLSX file. This allows you to specifically name your plant entries.
1658 These two options are available in the ``Plant Entries'' section on the Trial Detail Page, as shown in the screen shot below.
1660 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plant_entries} \end{center}
1662 \hypertarget{automatically-generate-plant-entries}{%
1663 \subsubsection*{Automatically Generate Plant Entries}\label{automatically-generate-plant-entries}}
1666 Clicking on ``Add plant entries'' opens the following dialog box. The only input required is the number of plants per plot. This will create plant entries that are named as a concatenation of the plot\_name and the plant's index number e.g.~plot\_name\_plant\_1
1668 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plant_entries_autogenerated} \end{center}
1670 \hypertarget{upload-plant-entries}{%
1671 \subsubsection*{Upload Plant Entries}\label{upload-plant-entries}}
1674 Alternatively, you can choose to upload an XLS or XLSX file that contains the names of the plant entries. Clicking on ``Upload plant entries'' opens the following dialog box.
1676 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plant_entries_upload} \end{center}
1678 Clicking on ``Spreadsheet format'' will give you information about the XLS or XLSX file to upload. Clicking this will open the following dialog box.
1680 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plant_entries_upload_info} \end{center}
1682 This shows you that the files requires the header to contain ``plot\_name'' and ``plant\_name''. The plot\_name must exist in the database already and the plant\_name must be unique in the database.
1684 Along with the file, you must specify ``number of plants per plot''. This is intended to be the total number of plants that were plants. If the file you upload shows three plants in one plot and four plants in another plot, that is fine.
1686 \hypertarget{adding-tissue-sample-entries-to-your-trial}{%
1687 \subsection{Adding Tissue Sample Entries To Your Trial}\label{adding-tissue-sample-entries-to-your-trial}}
1689 Some trials require tissue samples to be collected from plants in a field trial. The database will generate these tissue sample identifiers for you and will maintain all relationships with the plant, plot, accession, etc. To begin, go to the Design section of a trial's detail page and open the ``tissue sample entries'' section. Please note that tissue samples are directly related to plants, therefore your trial requires plants before you can add tissue samples.
1691 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_tissue_sample_default} \end{center}
1693 When you click on ``Add tissue sample entries'' you will see a dialog where you specify the number of tissue samples you require per plant. Once you have specified how many tissues samples, you can give specific words to distinguish samples, such as ``root'' or ``stem'', as seen below.
1695 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_tissue_sample_create} \end{center}
1697 Once you have added tissue sample entries they will appear in the design section of the trial as seen below.
1699 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_tissue_samples} \end{center}
1701 Each tissue sample has a detail page where you can add information about the sample, such as if it is in transit or in storage somewhere.
1703 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_tissue_sample_detail} \end{center}
1705 The related stocks section near the bottom of this detail page displays the relationships between all stocks, including tissue samples.
1707 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_trials_tissue_sample_related_stock} \end{center}
1709 \hypertarget{uploading-gps-coordinates-for-plots}{%
1710 \subsection{Uploading GPS Coordinates For Plots}\label{uploading-gps-coordinates-for-plots}}
1712 You can upload GPS coordinates for the plots in your trial. There is a link on the Trial Detail Page as shown below.
1714 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plot_gps} \end{center}
1716 Clicking on this link will bring up the following dialog.
1718 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plot_gps_dialog} \end{center}
1720 Here you can upload an XLS or XLSX file. To see information on the format of the file that should be uploaded, click on ``Spreadsheet format''. This will bring up the following dialog.
1722 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_add_plot_gps_upload_info} \end{center}
1724 This dialog tells you that the file must be XLS or XLSX and must contain: plot\_name WGS84\_bottom\_left\_x WGS84\_bottom\_left\_y WGS84\_bottom\_right\_x WGS84\_bottom\_right\_y WGS84\_top\_right\_x WGS84\_top\_right\_y WGS84\_top\_left\_x WGS84\_top\_left\_y The GPS coordinates should be WGS84 format and specify a four-pointed polygon around the plot.
1726 \hypertarget{uploading-additional-files-to-trial}{%
1727 \subsection{Uploading Additional Files To Trial}\label{uploading-additional-files-to-trial}}
1729 It may be of interest to you to upload additional documents, images, or recordings to your trial. To do this, scroll down to the ``Uploaded Additional File'' section on the trial detail page. From here you can view and download any of these additional files.
1731 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_upload_additional_file} \end{center}
1733 To upload an additional file, click on the ``Upload Additional Files'' link. A dialog will appear where you simply select your desired file. For information, you can click ``Upload information'' to see the following message.
1735 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_upload_additional_file_info} \end{center}
1737 \hypertarget{deleting-trial-data}{%
1738 \subsection{Deleting Trial Data}\label{deleting-trial-data}}
1740 To delete a trial data, click on the ``Delete trial data'' section. There are links to delete traits, layout and trial entry data.
1742 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_delete_trait1} \end{center}
1744 To delete assayed trait data, click on ``Delete trait data'' link. On the appeared dialog, confirm deletion by clicking on the ``Select Traits For Deletion'' button, then select one or more traits to delete from the trial.
1746 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_delete_trait2} \end{center}
1748 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_detail_page_delete_trait3} \end{center}
1750 To delete trial layout data, click on the ``Delete layout data'' link. Confirm deletion on the appeared dialog.
1752 To Delete trial entry, click on ``Delete trial entry'' link. Confirm deletion on the appeared dialog.
1754 \hypertarget{managing-genotyping-plates}{%
1755 \chapter{Managing Genotyping Plates}\label{managing-genotyping-plates}}
1757 Genotyping Plates represent the content of a genotyping plate sent to a genotyping facility (e.g.~samples in specific wells). To streamline this process, it is possible to upload this information or let the database create a plate for you. Once the genotyping plate is saved in the database it is then possible to export the information directly to genotyping facilities that are BrAPI compliant. The genotyping facility can then provide status information to us via BrAPI.
1759 To begin go to Manage-\textgreater Genotyping Plates.
1761 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials} \end{center}
1763 Here the genotyping plates are divided by Breeding Program. These sections can be expanded by clicking on one.
1765 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_expand} \end{center}
1767 \hypertarget{adding-a-new-genotyping-plate}{%
1768 \section{Adding a New Genotyping Plate}\label{adding-a-new-genotyping-plate}}
1770 To begin, click on ``Add Genotyping Plate''. Notice that this form is split into three sections: ``Plate Information'', ``Well Information'', and ``Confirm''. The first section is for defining information about the genotyping plate, such as a Plate identifier, plate format (96 well), etc. The second section is for defining the samples in the wells, such as sample names, sample concentrations, well position, etc. The final section is for Submitting the info.
1772 All fields in the Plate Information section are required.
1774 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_add_trial} \end{center}
1776 In the Well Information section you can choose to either 1) Upload an XLS or XLSX spreadsheet with your sample layout or 2) let the database create the sample layout.
1778 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_add_trial_wells} \end{center}
1780 If you choose to upload an XLS or XLSX spreadsheet, the Spreadsheet Template info requires the following:
1782 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_upload_template} \end{center}
1784 In either case, the sample identifier is generally a concatenation of Plate name and well position, e.g.~MyGenotypingTrial1\_A01. In either case, you need to provide a ``source\_observation\_unit\_name'' for each sample. This can be a tissue sample name, a plant name, a plot name, or an accession name; however, in any case, the identifier must already exist in the database. This allows us to link the sample in the well to specific field trial plots, or, plants, or tissue\_samples. If you only know which accession is in the well, you can use the accession name.
1786 In the final Confirm section you can decide whether to submit this information to the genotyping facility you selected. This requires that the genotyping facility is BrAPI compliant to work.
1788 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_add_trial_confirm} \end{center}
1790 \hypertarget{genotyping-plate-detail-page}{%
1791 \section{Genotyping Plate Detail Page}\label{genotyping-plate-detail-page}}
1793 If you open a specific genotyping plate, it will take you to the detail page. Here you can see the Accessions used in the plate (if you created the trial and the source\_observation\_unit\_names you used were plots, this will still work because we know the accession of the plot or plant or tissue sample).
1795 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_detail_info} \end{center}
1797 Further down you can see a graphical representation of your plate with well positions. This can be 96 well or 384 well depending on your plate format.
1799 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_trials_detail_table} \end{center}
1801 \hypertarget{using-fieldbook-app}{%
1802 \chapter{Using Field Book App}\label{using-fieldbook-app}}
1804 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image21} \end{center}
1806 SGN databases support the Android Field Book App for collecting phenotypic data in the field with tablet computers. The app is available here:
1808 \href{https://play.google.com/store/apps/details?id=com.fieldbook.tracker}{\emph{https://play.google.com/store/apps/details?id=com.fieldbook.tracker}}
1810 \begin{itemize}
1811 \item
1812 The app can also be downloaded directly from the Google Play store. There is no charge for the app.
1813 \item
1814 Field Book App requires two files for collecting data: Field layout file and trait file.
1815 \item
1816 SGN databases can generate the field layout file and trait file, which can be downloaded onto your computer, then transferred to an Android tablet device.
1817 \end{itemize}
1819 \hypertarget{a-typical-workflow}{%
1820 \section{A typical workflow}\label{a-typical-workflow}}
1822 \begin{enumerate}
1823 \def\labelenumi{\arabic{enumi}.}
1824 \item
1825 Creating a \protect\hyperlink{creating-layout-files}{\emph{field layout file}} based on the design of field trial
1826 \item
1827 Creating a \protect\hyperlink{creating-trait-files}{\emph{trait file}} from the list of traits
1828 \item
1829 Downloading the field layout file and trait file from the database to your computer
1830 \item
1831 Downloading the field layout file and trait file to the tablet (where the Field Book App is installed)
1832 \item
1833 Collecting phenotypes
1834 \item
1835 Exporting phenotypes from Field Book App to your computer
1836 \item
1837 \protect\hyperlink{uploading-pheno-files}{\emph{Uploading the exported phenotype file}} from your computer to the database
1838 \end{enumerate}
1840 \hypertarget{creating-layout-files}{%
1841 \section{Creating Field Layout Files for the Field Book App}\label{creating-layout-files}}
1843 There are two alternative methods for creating ``Field Layout Files''.
1845 \begin{enumerate}
1846 \def\labelenumi{\arabic{enumi}.}
1847 \item
1848 Using ``Field Book Tools'' page
1849 \item
1850 Using ``Trial Detail'' page.
1851 \end{enumerate}
1853 \hypertarget{creating-field-layout-files-by-using-field-book-tools-page.}{%
1854 \subsection{Creating ``Field Layout Files'' by using ``Field Book Tools'' page.}\label{creating-field-layout-files-by-using-field-book-tools-page.}}
1856 To access ``Field Book Tools'' page, clicking on ``Field Book App'' in the ``Manage'' menu.
1858 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image170} \end{center}
1860 On the ``Field Book Tools'' page, clicking on ``New''
1862 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image253} \end{center}
1864 On the ``Download Fieldbook'' window, selecting trial name and data level (plots or plants), then clicking on ``Submit'' button. A treatment can be selected, which allows you to record phenotypes based on treatment application. A list of traits can be selected, which provides a summary of an accession's global performance for those traits in the Fieldbook.
1866 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image337} \end{center}
1868 If the field book layout file was successfully created, a pop-up window will indicate that the field book layout file was saved successfully. Clicking on the file name will immediately download the file onto your computer. The file is also available to download on the ``Field Book Tools'' page, if you need to re-download it.
1870 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/image183} \end{center}
1872 To download field layout file to your computer, clicking on ``Download File'', the file can then be transferred to your tablet. If you no longer want to keep the field layout file, clicking on ``Delete Layout File''.
1874 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image257} \end{center}
1876 \hypertarget{creating-field-layout-files-by-using-trial-detail-page.}{%
1877 \subsection{Creating ``Field Layout Files'' by using ``Trial Detail'' page.}\label{creating-field-layout-files-by-using-trial-detail-page.}}
1879 To create ``Field Layout Files'', go to the ``Trial Detail'' page of the trial that you want to create the file. On the ``Trial Detail'' page, scrolling down to the bottom of the page to find ``Android Field Book Layout'' in the ``Files'' section, then clicking on the ``Create Field Book'' link.
1881 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image89} \end{center}
1883 Clicking on the ``Create Field Book'' link will open a new window showing the name of the trial that you selected, as well as data level (plots or plants). A treatment can be selected, which allows you to record phenotypes based on treatment application. A list of traits can be selected, which provides a summary of an accession's global performance for those traits in the Fieldbook. To proceed, clicking on ``Submit'' button.
1885 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image161} \end{center}
1887 If the field book layout file was successfully created, a pop-up window will indicate that the field book layout file was saved successfully. Clicking on the file name will immediately download the file onto your computer. The file is also available to download on the ``Field Book Tools'' page, if you need to re-download it.
1889 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/image183} \end{center}
1891 To download field layout file to your computer, clicking on ``Download File'', the file can then be transferred to your tablet. If you no longer want to keep the field layout file, clicking on ``Delete Layout File''.
1893 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image94} \end{center}
1895 \hypertarget{creating-trait-files}{%
1896 \section{Creating Trait Files for the Field Book App}\label{creating-trait-files}}
1898 Steps to Create a Trait File:
1900 \hypertarget{creating-a-trait-list}{%
1901 \subsection{Creating a Trait List}\label{creating-a-trait-list}}
1903 After you logged in, lists can be created and managed using the Search Wizard or the ``Lists'' link. For more information on how to create lists, click \protect\hyperlink{working-with-lists}{\emph{here}}.
1905 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image325} \end{center}
1907 \hypertarget{creating-a-trait-file}{%
1908 \subsection{Creating a Trait File}\label{creating-a-trait-file}}
1910 After you have your trait list, clicking on the ``\textbf{Field Book App}'' link found under the ``\textbf{Manage}'' menu tab. This will take you to the ``Field Book Tools'' page.
1912 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image133} \end{center}
1914 To create a new trait file, finding the heading ``Trait Files'', then clicking on the ``New'' link.
1916 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image146} \end{center}
1918 Clicking on the ``New'' link will open a dialogue box titled ``Create Trait File''. Please enter your ``Trait file name'' and select ``List of traits to include'' from drop-down list that you previously created. You can only use traits included in the list. Check the box titled ``Include Notes Trait'' if you would also like to record and upload general plot notes in the field. Click ``OK'' to submit.
1920 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image134} \end{center}
1922 If your trait file was successfully created, a new window will indicate that the trait file was saved, then clicking on ``Close''.
1924 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image174} \end{center}
1926 After the trait file was saved, you will see your file listed in the ``Field Book Tools'' page. Clicking on ``Download'' link to download the trait file to your computer.
1928 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image163} \end{center}
1930 After downloading the trait file to your computer, the file can be transferred to an Android Tablet. You need the Android Field Book App to open the file. The Android Field Book App can be downloaded at: \emph{\url{http://www.wheatgenetics.org/bioinformatics/22-android-field-book}}
1932 \hypertarget{transferring-files-from-your-computer-to-android-tablet}{%
1933 \section{Transferring Files from Your Computer to Android Tablet}\label{transferring-files-from-your-computer-to-android-tablet}}
1935 \hypertarget{files-on-your-computer}{%
1936 \subsection{Files on your computer}\label{files-on-your-computer}}
1938 After downloading, Field Layout files and Trait files can be found in the ``Downloads'' folder of your computer. Field Layout files on your computer will have a prefix ``fieldbook\_layout\_'' added to the beginning of the file name. For example: \textbf{``2014-01-28\_19:14:34\_Trial Demo\_location 6767.xls''} on the the database website will be saved as \textbf{``field\_book\_layout\_2014-01-28\_19:14:34\_Trial Demo\_location 6767.xls''} on your computer.
1940 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image142} \end{center}
1942 The files can be transferred to Android tablet by copying the files into the tablet's Internal Storage File.
1944 \hypertarget{files-on-your-android-tablet}{%
1945 \subsection{Files on your Android tablet}\label{files-on-your-android-tablet}}
1947 To transfer Field Layout file and Trait file to your Android tablet, connecting an Android tablet to your computer, then clicking on tablet icon on your computer. Clicking on the tablet icon will open a window showing an ``Internal Storage'' file.
1949 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image16} \end{center}
1951 After you installed the Android Field Book App, all files for the app are stored in the ``fieldBook'' folder within the ``Internal storage'' folder.
1953 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image314} \end{center}
1955 Within the ``fieldBook'' folder, there are five sub-folders:
1957 \begin{itemize}
1958 \item
1959 field\_export
1960 \item
1961 field\_import
1962 \item
1963 plot\_data
1964 \item
1965 resources
1966 \item
1967 trait
1968 \end{itemize}
1970 \textbf{Field Layout files must be copied into the ``field\_import'' folder.}
1972 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image285} \end{center}
1974 \textbf{Trait files must be copied into the ``trait'' folder.}
1976 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image252} \end{center}
1978 You can either drag and drop, or copy the Field Layout file and the Trait file from your computer to the folders in your Android tablet.
1980 \hypertarget{setting-up-field-book-app-for-data-collection}{%
1981 \section{Setting up ``Field Book App'' for data collection}\label{setting-up-field-book-app-for-data-collection}}
1983 After you transferred the Field Layout file and Trait file from your computer to Android tablet, you still need to set up ``Field Book App'' on your tablet for data collection.
1985 To set up the Field Book App:
1987 \begin{enumerate}
1988 \def\labelenumi{\arabic{enumi}.}
1989 \tightlist
1990 \item
1991 \textbf{To open the Field Book App in the Android Tablet, clicking on the Field Book App icon, which is a green rectangle.}
1992 \end{enumerate}
1994 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image175} \end{center}
1996 \begin{enumerate}
1997 \def\labelenumi{\arabic{enumi}.}
1998 \setcounter{enumi}{1}
1999 \tightlist
2000 \item
2001 \textbf{To import Field Layout files, clicking on the ``Fields'' section of the main menu of the Field Book App.}
2002 \end{enumerate}
2004 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image12} \end{center}
2006 Clicking on the ``Fields'' tab will open a new dialogue that will let you select the file that you want to import.
2008 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image115} \end{center}
2010 Choosing a Field File will generate a new dialogue that will ask you to choose between an Excel or CSV format. Since the data from the database is in Excel format, choose the Excel option.
2012 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image258} \end{center}
2014 After submitting the file format, a final dialogue box will appear. Please provide information about the file that you want to import. Please ensure that ``plot\_name'' is set as the unique identifier. To finalize the process, clicking ``OK'' button.
2016 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image342} \end{center}
2018 \begin{enumerate}
2019 \def\labelenumi{\arabic{enumi}.}
2020 \setcounter{enumi}{2}
2021 \tightlist
2022 \item
2023 \textbf{To import Trait Files, clicking on the ``Traits'' tab on the main menu of the Field Book App.}
2024 \end{enumerate}
2026 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image246} \end{center}
2028 Then, clicking on the three dots symbol found on the upper right corner of the Field Book screen. This will open a drop down menu with the choices ``Import'' and ``Export''. Clicking on ``Import''
2030 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image177} \end{center}
2032 Clicking on ``import'' will open a new dialogue that displays a list of trait files that you can select to import to the Field Book App.
2034 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image281} \end{center}
2036 The trait file is now imported into the Field Book App. The traits page will show all trait files and available traits.
2038 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image184} \end{center}
2040 \hypertarget{exporting-files-from-field-book-app}{%
2041 \section{Exporting Files from Field Book App}\label{exporting-files-from-field-book-app}}
2043 Data that were collected on the Field Book App can be exported back to your tablet folder, which can then be transferred to your computer.
2045 To export files containing data from the Field Book App to your tablet, clicking on the ``Export'' link on the main menu page of the Field Book App.
2047 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image303} \end{center}
2049 Clicking on the ``Export'' link will open a new dialogue window. To ensure that data are exported in a correct format for the database, checking the ``Database Format'' box, then clicking on ``OK'' button.
2051 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image157} \end{center}
2053 The exported file can then be found in the ``field\_export'' sub-folder within the ``fieldBook'' folder on your tablet. Once you connect your tablet to your computer, you can directly transfer the file to your computer.
2055 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image254} \end{center}
2057 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image158} \end{center}
2059 \hypertarget{uploading-pheno-files}{%
2060 \section{Uploading Phenotype Files to an SGN database}\label{uploading-pheno-files}}
2062 To upload phenotype files to the database, clicking on ``Field Book App'' in the ``Manage'' menu.
2064 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image302} \end{center}
2066 On the ``Field Book Tools'' page, clicking on ``Upload'' link in the ``Uploaded Phenotype Files'' section.
2068 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image165} \end{center}
2070 Clicking on the ``Upload'' link will open a new dialogue asking you to choose a file that you want to upload to the database website. Please ensure that ``plot\_name'' is the first column of the file to be uploaded. To make sure that the file has the correct format for uploading, click on the ``Verify'' button. After the file format has been verified, click on the ``Store'' button.
2072 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image131} \end{center}
2074 The list of uploaded phenotype files can be found on the Field Book Tools page
2076 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image265} \end{center}
2078 The uploaded files will also be seen in the corresponding ``Trial Detail'' page.
2080 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image75} \end{center}
2082 \hypertarget{managing-phenotypic-data}{%
2083 \chapter{Managing Phenotypic Data}\label{managing-phenotypic-data}}
2085 To facilitate uploading process for phenotypic data, ``Manage Phenotypic Data'' page provides two options for uploading: Field Book Phenotype file in database format and phenotype file in Excel (.xls or .xlsx) file format. To access ``Manage Phenotypic Data'' page, clicking on ``Phenotyping'' in the ``Manage'' menu.
2087 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image178} \end{center}
2089 \hypertarget{uploading-fieldbook-phenotypes}{%
2090 \section{Uploading Fieldbook Phenotypes}\label{uploading-fieldbook-phenotypes}}
2092 \hypertarget{export-field-book-database-file}{%
2093 \subsection{Export Field Book Database File}\label{export-field-book-database-file}}
2095 The database upload of Field Book phenotype data relies on the ``Database'' format from the Field Book. Please make sure to export the ``Database'' format from the Field Book if you intend to upload the data using the Field Book Upload we describe below. If you prefer to use the ``Table'' format that the Field Book exports, you can modify this format to work with the Speadsheet Upload we describe below.
2097 \hypertarget{upload-field-book-database-file}{%
2098 \subsection{Upload Field Book Database File}\label{upload-field-book-database-file}}
2100 To upload a Field Book Phenotype file in a database format, click the ``Upload Fieldbook'' link
2102 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image185} \end{center}
2104 The ``Upload Fieldbook'' link on this page and ``Upload'' link on the ``Field Book Tools'' page open the same dialogue. Please follow instructions for uploading phenotypic files on the \ref{using-fieldbook-app} page.
2106 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image112} \end{center}
2108 \hypertarget{uploading-spreadsheet-phenotypes}{%
2109 \section{Uploading Spreadsheet Phenotypes}\label{uploading-spreadsheet-phenotypes}}
2111 To upload a phenotype file in an Excel (.xls or .xlsx) file format, click the ``Upload Spreadsheet'' link.
2113 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image288} \end{center}
2115 Please specify ``Data Level'' (Plots or Plants) and select the Excel file that you want to upload.
2117 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image68} \end{center}
2119 \hypertarget{generating-spreadsheet-file}{%
2120 \subsection{Generating Spreadsheet File}\label{generating-spreadsheet-file}}
2122 You can find more file format information by clicking on ``Spreadsheet Format'' link. Clicking on ``Spreadsheet Format'' will open the following dialog.
2124 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/phenotype_spreadsheet_upload_help_dialog} \end{center}
2126 Clicking on ``Create Phenotyping Spreadsheet'' will bring up a dialog where you can indicate the trial(s) you are interested in and the trait list you are interested in. Clicking ``Submit'' will download the xlsx file onto your computer, where you can then fill in the phenotypes.
2128 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/create_phenotype_spreadsheet_dialog} \end{center}
2130 \hypertarget{uploading-spreadsheet-file}{%
2131 \subsection{Uploading Spreadsheet File}\label{uploading-spreadsheet-file}}
2133 To ensure that the file has a correct format for uploading, click on the ``Verify'' button. This will check the contents of the file and also perform quality checks on the values in the file. These checks include checking the trait definition for categorical values, minimum and maximum values, and data type checking. It will also check if there are already values uploaded for the given observation units and traits. If there are, there is an option to overwrite the existing values with the new values in your file. If the file is valid, only then can you click ``Store'' to store the information in the database.
2135 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/phenotype_spreadsheet_upload_dialog} \end{center}
2137 \hypertarget{managing-barcodes}{%
2138 \chapter{Managing Barcodes}\label{managing-barcodes}}
2140 SGN databases provide tools for generating barcodes for stock identification. To access ``Barcode Tools'' page, clicking on ``Barcodes'' in the ``Manage'' menu.
2142 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image82} \end{center}
2144 ``Barcode Tools'' page provides four options for generating barcodes:
2146 \begin{itemize}
2147 \item
2148 Single barcode
2149 \item
2150 Multiple barcodes
2151 \item
2152 Plot phenotyping barcodes
2153 \item
2154 Trial barcodes
2155 \end{itemize}
2157 To generate single barcode, clicking on ``Generate Barcode'' link on the ``Barcode Tools'' page.
2159 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image274} \end{center}
2161 In the ``Generate Barcode'' section, specify the name of the barcode, size of the barcode, then clicking on ``Generate Barcode''
2163 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image245} \end{center}
2165 The database will generate a barcode for your stock. The barcode can be printed for your stock identification. It also appears on its corresponding stock page.
2167 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image264} \end{center}
2169 If you have a list of stocks that you want to generate barcodes, you can use ``Download Stock Barcodes'' section. You have three options for entering stock names:
2171 \begin{enumerate}
2172 \def\labelenumi{\arabic{enumi}.}
2173 \item
2174 Typing in stock names, or copy and paste from other file into the box (1)
2175 \item
2176 Choosing a list of stocks from your ``Lists'' (2), and transferring the list into the box (1) by clicking on ``paste'' button.
2177 \item
2178 Uploading a ``Tab-delimited Text File'' with stock names.
2179 \item
2180 Select an optional printing format from the available formats.
2181 \end{enumerate}
2183 You can select printer settings that you prefer in the ``Printer Settings'' section. After you enter stock names and specify printer settings, clicking on ``Download Barcodes'' button at the bottom of the page.
2185 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image248} \end{center}
2187 If you have a list of plots that you want to generate phenotyping barcodes, you can use ``Download Plot Phenotyping Barcodes'' section. You have three options for entering plot names:
2189 \begin{enumerate}
2190 \def\labelenumi{\arabic{enumi}.}
2191 \item
2192 Typing in plot names, or copy and paste from other file into the box (1)
2193 \item
2194 Choosing a list of plots from your ``Lists'' (2), and transferring the list into the box (1) by clicking on ``paste'' button.
2195 \item
2196 Uploading a ``Tab-delimited Text File'' with plot names.
2197 \end{enumerate}
2199 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/plot_pheno_barcode} \end{center}
2201 If you have a list of trials that you want to generate barcodes, you can use ``Download Trial Barcodes'' section. You have three options for entering trial names:
2203 \begin{enumerate}
2204 \def\labelenumi{\arabic{enumi}.}
2205 \item
2206 Typing in trial names, or copy and paste from other file into the box (1)
2207 \item
2208 Choosing a list of trial from your ``Lists'' (2), and transferring the list into the box (1) by clicking on ``paste'' button.
2209 \item
2210 Uploading a ``Tab-delimited Text File'' with trial names.
2211 \end{enumerate}
2213 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_barcode} \end{center}
2215 \hypertarget{using-the-label-designer}{%
2216 \chapter{Using the Label Designer}\label{using-the-label-designer}}
2218 Breedbase provides an interactive design tool for creating custom labels. To access the Label Desginer, click on ``Label Designer'' in the ``Manage'' menu. The following sections explain your many options as you advance through each step of the design workflow.
2220 \hypertarget{first-select-a-datasource}{%
2221 \subsection{First Select a Datasource}\label{first-select-a-datasource}}
2223 The first step is to select a data source. Since the label designer can generate labels for different data types, you can optionally filter the source selection by the data type you're interested in. Then, select a field, genotyping, or crossing trial to populate your labels with the trial design information. Or select a list to populate your label with the list contents. For data sources with multiple levels of information you will also be asked to pick a level (plot, plant, etc.) before proceeding. To generate plot-level labels for more than one trial at once, select a list of trials as the source and plot as the level.
2225 \begin{center}\includegraphics[width=0.95\linewidth]{assets/gifs/gif1} \end{center}
2227 \hypertarget{set-page-and-label-size}{%
2228 \subsection{Set Page and Label Size}\label{set-page-and-label-size}}
2230 Now choose whether to create a new design or load a saved design. If you choose new, you will be prompted to select a page size and label size. If you do not see your page or label size as an option, then select Custom and enter your desired dimensions in pixels, or 1/72nds of an inch. If you choose saved, you will be prompted to select a saved design then will be taken directly to the design step with the saved design elements preloaded.
2232 \begin{center}\includegraphics[width=0.95\linewidth]{assets/gifs/gif2} \end{center}
2234 \hypertarget{design-your-label}{%
2235 \subsection{Design Your Label}\label{design-your-label}}
2237 Below is a draw area where you can begin adding elements to your label. First select a type, then field, size, and font, then click `Add' You can add text to an exisiting field or create a completely custom field by clicking `Create Custom Field' Once added, you can drag and drop elements, or delete them by clicking on the red box in their upper left corners. Barcodes can also be resized by dragging on the green box in their lower right corners. If you are creating labels for a trial it is highly recommended to include a barcode encoding your plot, plant, or tissue sample names. These are your unique identifiers that will need to included with any phenotypic or genotypic measurements loaded into the database. When you are satisfied with your design, click next!
2239 \begin{center}\includegraphics[width=0.95\linewidth]{assets/gifs/gif3} \end{center}
2241 \hypertarget{adjust-formatting-save-and-download}{%
2242 \subsection{Adjust Formatting, Save, and Download}\label{adjust-formatting-save-and-download}}
2244 Last step! Here you can tweak your formatting and page layout, save your design, or download your labels. The additional settings dialog will allow you to fine tune the print margins and margins between labels. The units are pixels or 1/72nds of an inch. It's not recommended to change these until you've already done a test print. You can also set the \# of copies per label, filter by rep, or download just the first page for test purposes. To save you're design just type a unique name and hit save. This will save your design to your list manager where you can set it to public to share it with others. Finally if you are ready just hit download to generate and download your labels!
2246 \begin{center}\includegraphics[width=0.95\linewidth]{assets/gifs/gif4} \end{center}
2248 \hypertarget{managing-downloads}{%
2249 \chapter{Managing Downloads}\label{managing-downloads}}
2251 You can download phenotype, trial meta-data, pedigree, GBS genotype and GBS genotype QC files from the database to your computer by using ``Lists''. To download, clicking on ``Download'' in the ``Manage'' menu.
2253 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image255} \end{center}
2255 For each category, you can select a list of accessions from your ``Lists'' to download their phenotypes, pedigree, GBS genotype, GBS genotype QC. In the case of downloading trial meta-data, you would provide a list of trials, while for downloading phenotype and GBS genotype QC, you can also use a list of trials or traits.
2257 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/trial_meta_data_download} \end{center}
2259 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image287} \end{center}
2261 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image182} \end{center}
2263 \hypertarget{managing-odk-data-collection}{%
2264 \chapter{Managing ODK Data Collection}\label{managing-odk-data-collection}}
2266 To access this page go to Manage and then ODK Data Collection. ODK is used for remotely collecting data on Android and IOS devices. We currently are working to support two ODK service providers, namely ONA and SMAP. We are using ONA to collect crossing information, including all lab activities following seed production. We are using SMAP for phenotypic data collection.
2268 \hypertarget{ona-crossing-information}{%
2269 \section{ONA Crossing Information}\label{ona-crossing-information}}
2271 \hypertarget{managing-ona-crossing-information}{%
2272 \subsection{Managing ONA Crossing Information}\label{managing-ona-crossing-information}}
2274 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/odk_ona_management} \end{center}
2276 To begin collecting data using the ONA ODK form you must first have a crossing plan in the form of a Cross Wishlist. To do this from this page, click the ``Export Cross Wishlist to ONA'' button. Please refer to the ``Create Cross Wihlist'' help section for more information. It is possible to view the current available cross wishlists by clicking the ``Export Cross Wishlist to ONA'' button and then clicking ``Available Cross Wishlists''.
2278 Once your cross wishlist is available, you can use your mobile ODK application to record crosses being done realtime. You can also record all laboratory activities following seed extraction up to greenhouse plantlet hardening.
2280 As you collect data using your mobile ODK application, your responses will be synchronized with our database. The ``Schedule Import for Selected Form'' section gives you options to perform the import daily or more frequently. It is also possible to initiate a data import from ONA at anytime by clicking ``Import Crossing Data from Selected Form on ONA''.
2282 \hypertarget{reviewing-plant-status}{%
2283 \subsection{Reviewing Plant Status}\label{reviewing-plant-status}}
2285 The mobile ODK application has options to collect information about the status of plants in the field, such as if they are flowering. Images for each plant can also be recorded. The database will report this information here in a summary table that looks like the following. Notice that images are also transferred to the database.
2287 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/odk_ona_cross_status} \end{center}
2289 \hypertarget{graphical-summary-for-performed-crosses}{%
2290 \subsection{Graphical Summary For Performed Crosses}\label{graphical-summary-for-performed-crosses}}
2292 There is a section to summarize activities done for each cross. In this table each row represents a single cross performed. All the activities that have been performed will be shown here, such as ``first pollination'' and ``embryo rescue''. The scatter plot shown tracks seed numbers generated on the Y axis and date of activity on the X axis.
2294 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/odk_ona_cross_progress_graph} \end{center}
2296 \hypertarget{summary-information-for-performed-crosses}{%
2297 \subsection{Summary Information For Performed Crosses}\label{summary-information-for-performed-crosses}}
2299 There is a secondary section to summarize what has been done across the entire Cross Wishlist. This tree structure shows all activities performed for a cross and shows how these crosses relate to the Cross Wishlist.
2301 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/odk_ona_cross_progress_tree} \end{center}
2303 \hypertarget{managing-tissue-samples}{%
2304 \chapter{Managing Tissue Samples}\label{managing-tissue-samples}}
2306 To access this page go to Manage and then Tissue Samples.
2308 \hypertarget{tissue-samples-from-field-trials}{%
2309 \section{Tissue samples from field trials}\label{tissue-samples-from-field-trials}}
2311 A field trial contains plots planted with a specific accession. Each plot can contain many plants, which in turn can contain many tissue samples. On the manage tissue sample page we can see the field trials that contain tissue samples already. We can choose to download the tissue sample layout as seen in the below picture.
2313 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_download} \end{center}
2315 If the field trial you want to collect tissue samples from is not in the above table, you can click the button highlighted below.
2317 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_button} \end{center}
2319 Once you have clicked this button, you will enter a workflow that begins with the following introduction.
2321 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_intro} \end{center}
2323 Once you click next, you will need to select your trial.
2325 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_select} \end{center}
2327 Next, if your trial currently only has plot entries saved, you will be asked to enter how many plants are in each plot.
2329 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_num_plants} \end{center}
2331 Finally you will be asked how many tissue samples you want for each plant. You can specify a string to include in the tissue sample name, such as leaf or root.
2333 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_num_tissues} \end{center}
2335 Afterwards you should see the following success message, indicating that the tissue samples are saved.
2337 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_field_trial_submit} \end{center}
2339 \hypertarget{genotyping-plate-tissue-samples-96-or-384-well-plates}{%
2340 \section{Genotyping Plate Tissue Samples (96 or 384 well plates)}\label{genotyping-plate-tissue-samples-96-or-384-well-plates}}
2342 A genotyping plate represents a 96 or 384 well plate. You can use the Coordinate Android application to create your plate layout, or you can upload your own Excel plate layout, or you can use the database to generate a plate layout. Ideally, you will use tissue sample names originating from a field trial as the ``source'' for each well tissue sample, but you can also use plant names, plot names, or accession names.
2344 From the manage tissue samples page, you can see the genotyping plates saved in the database. You can also download the layouts as shown below.
2346 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_genotyping_trial_download} \end{center}
2348 If you need to create a new genotyping plate, you can click the button shown below. This will guide you through a workflow for uploading or creating the new plate layout.
2350 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_tissue_samples_create_tissues_genotyping_trial_button} \end{center}
2352 Genotyping vendors require you to send a plate layout during submission. You can download the plate layout as shown above, or you can go to a genotyping plate detail page to download the Intertek formatted file.
2354 In the future you will be able to directly export your genotyping plate plate layout to vendors.
2356 \hypertarget{managing-observation-variables}{%
2357 \chapter{Managing Observation Variables}\label{managing-observation-variables}}
2359 \hypertarget{managing-observation-variables-with-traits-methods-and-scales}{%
2360 \section{Managing Observation Variables with Traits, Methods, and Scales}\label{managing-observation-variables-with-traits-methods-and-scales}}
2362 Observation variables are the identifiers used when collecting phenotypic data. An observation variable is composed of a trait, a method, and a scale. The trait describes the attribute being measured e.g.~`Plant Height'. The method defines the protocol in which the trait was observed e.g.~`Using a one meter long measuring stick'. The scale defines the units or dimensions for which the measurement was taken e.g.~`Meters'.
2364 Generally, observation variables are defined in ontologies that are predefined. We often use ontologies from cropontology.org. In this case, you will not be able to define your own observation variables directly; instead, you will need to contact us and we will add the observation variable for you.
2366 For databases where the user has greater control, we have an interface to allow addition of observation variables, along with traits, methods, and scales. To begin, go to the Search-\textgreater Traits page.
2368 If the database you are on allows you to directly add observation variables, you will see the following button at the bottom of the page.
2370 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_start_button} \end{center}
2372 When you click the button, the following workflow will appear. You should be logged in or else it will not allow addition of the observation variable. The workflow begins with an introduction.
2374 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_intro} \end{center}
2376 On the next workflow step, you select the ontology that you want to insert the new observation variable into. You must also give a name and a definition for the new observation variable.
2378 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_observation_variable} \end{center}
2380 On the next workflow step, you select the trait ontology to use. Once you select a trait ontology, a select containing all the terms in the selected ontology will appear. You can either select a trait or if it does not exist in the select, you can create a new one by giving a name and a definition for the new trait.
2382 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_trait} \end{center}
2384 On the next workflow step, you select the method ontology to use. Once you select a method ontology, a select containing all the terms in the selected ontology will appear. You can either select a method or if it does not exist in the select, you can create a new one by giving a name and a definition for the new method.
2386 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_method} \end{center}
2388 On the next workflow step, you select the scale ontology to use. Once you select a scale ontology, a select containing all the terms in the selected ontology will appear. You can either select a scale or if it does not exist in the select, you can create a new one by giving a name and a definition for the new scale. You can also define a format, minimum, maximum, categories, and default value for the new scale.
2390 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_scale} \end{center}
2392 On the last page of the workflow, you confirm the submission.
2394 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_observation_variables_workflow_submit} \end{center}
2396 Afterwards, you can use the newly created observation variable ontology term in your phenotyping.
2398 \hypertarget{managing-image-data}{%
2399 \chapter{Managing Image Data}\label{managing-image-data}}
2401 \hypertarget{image-phenotyping-dashboard}{%
2402 \section{Image-Phenotyping Dashboard}\label{image-phenotyping-dashboard}}
2404 \begin{enumerate}
2405 \def\labelenumi{\arabic{enumi}.}
2406 \tightlist
2407 \item
2408 Upload raw image-captures in a compressed file (.zip) for orthophotomosaic assembly or upload previously stitched orthophotomosaic raster (.PNG, .JPG) imagery.
2409 \item
2410 Dashboard shows all field trials and uploaded imaging events in collapsible sections.
2411 \item
2412 Follow standard processes to manually create templates for assignment of plot-polygon images to the field experiment design.
2413 \item
2414 All imagery is shown with the spectral category within collapsible sections. Figure shows NIR imagery.
2415 \item
2416 Apply Fourier transform filtering, thresholding, and vegetation index masking. Plot-polygon images for all image processes are shown.
2417 \item
2418 Extract and export phenotypic values from plot-polygon images for analyses and model training.
2419 \end{enumerate}
2421 \hypertarget{image-input}{%
2422 \section{Image Input}\label{image-input}}
2424 Clicking ``Upload Imagery'' will open the following dialog.
2426 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_intro} \end{center}
2428 Raw-captures can be uploaded in a compressed (.zip) file so that they can be assembled into an orthophotomosaic. If orthophotomosaic assembly is not required, raster images (.PNG, .JPG) can be uploaded. Example data is given for raw Micasense RedEdge 5-band multispectral captures and for stitched orthophotomosaics.
2430 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_field_trial} \end{center}
2432 To begin uploading images, a field trial must be selected. The field trial must already be saved in the database. For information about adding a field trial, please read the Field Trial documentation.
2434 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_drone_run} \end{center}
2436 The image data is added to an imaging (drone run) event. Here you can select a previously saved imaging event or you can create a new one by defining a name, description, and date.
2438 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_image_info_1} \end{center}
2440 The uploaded data can be raw image-captures or complete raster images. Here you can select whether orthophotomosaic stitching is required.
2442 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_image_info_2} \end{center}
2444 In the case that orthophotomosaic stitching is required, select `yes'. On the next step you will see the following: Upload a zipfile with the raw-captures. When uploading Micasense RedEdge raw-captures, provide images of the Micasense calibration panels in a zipfile as well.
2446 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_images_zipfile} \end{center}
2448 In the case that orthophotomosaic assembly is not required, simple upload the raster images. Select the number of image bands that will be uploaded e.g.~for a five band multispectral camera, select 5.
2450 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_image_info_3} \end{center}
2452 In the caes that orthophotomosaic stitching is not required, select `no'. On the next step you will see the following:
2454 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_upload_images_rasters} \end{center}
2456 Upload an image at each band with a unique name, description, and spectral type.
2458 \hypertarget{standard-process}{%
2459 \section{Standard Process}\label{standard-process}}
2461 Once imagery is uploaded, it will appear on the dashboard under the field trial. Clicking the ``Run Standard Process'' button will begin extracting plot-polygon phenotypes from the imagery.
2463 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_button} \end{center}
2465 Clicking the button will open the following dialog.
2467 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_intro} \end{center}
2469 Select a drone run band to use in this process. In the case of the Micasense 5 band multispectral camera there will be 5 bands shown here; select the NIR channel in this case because it has the highest contrast. In the case of standard color images, there will only be the RGB Color Image option here.
2471 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_drone_run_band} \end{center}
2473 Rotate the image so that there the plots are oriented in a grid fashion. There can be a skew in the field layout, as seen in the following example.
2475 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_rotate} \end{center}
2477 Perform a rough cropping of the image by clicking on the four corners of the field. Cropping is important to remove any extraneous parts of the image.
2479 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_cropping} \end{center}
2481 This step shows a histogram of the cropped image. The standard process will magnitude threshold the top and low ends of the distribution.
2483 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_threshold_hist} \end{center}
2485 In this step, the template for the plot polygons in the experimental field design are associated to the image. First, defined the number of rows and columns in the field experiment. Then click the four corners of the image, in respect to the top right, top left, botton left, and bottom right positions. Next click on ``Draw Plot Polygon Template''. Review the template and clear/repeat the process until the template matches well. It is possible to ``copy/paste'' templates in the case where there are large breaks in the field design. Next, scroll down to the ``assign Plot Polygons to Field Trial Entities'' section. Select the location of Plot Number 1 as either ``top left'' or ``top right'' and whether the field design is serpentine or zigzag. Click on ``Generate Assignments'' and review that the names of the plots appear correctly in the overlay on the image. Finally, click ``Finish and Save Polygons to Plots'' when you have have confirmed the assignments.
2487 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_plot_polygon} \end{center}
2489 Next, the dialog shows you that the standard process will be repeated for all uploaded image bands.
2491 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_apply} \end{center}
2493 Next, choose which vegetation indices to apply.
2495 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_vegetation_index} \end{center}
2497 Next, choose the phenotypic values to extract. You must define the time point for which the phenotype is; if the field trial has a planting date, the time point will automatically be populated as image date minus the planting date.
2499 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_image_phenotyping_standard_process_phenotypes} \end{center}
2501 After completing the standard process, the job will continue in the background until it completes. You can check the status of the job from the dashboard.
2503 \hypertarget{ground-control-points}{%
2504 \section{Ground Control Points}\label{ground-control-points}}
2506 Ground control points can be saved after an imaging event has undergone the standard process on orhomosaics. Ground control points can then be used across imaging events on the same field experiment in order to automate the entire standard process.
2508 \hypertarget{managing-vcf-data}{%
2509 \chapter{Managing VCF Data}\label{managing-vcf-data}}
2511 \hypertarget{uploading-vcf-data}{%
2512 \section{Uploading VCF Data}\label{uploading-vcf-data}}
2514 Genotyping data in VCF can be loaded from the web-interface. Breedbase can store any genotypic variants from a VCF, allowing for polyploids, structural variants, etc. without problems.
2516 To begin go to Manage-\textgreater Genotyping Plates and click the button seen below: Note that you do not need to have genotyping plates uploaded to upload VCF data; you may upload genotyping data to accessions or you can upload genotyping data for tissue samples in genotyping plates.
2518 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_upload_button} \end{center}
2520 The workflow begins with an intro:
2522 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_upload_dialog_intro} \end{center}
2524 On the following step in the workflow, a genotyping project is defined or selected. A genotyping project is a high-level entity for grouping several genotyping events. It is defined with a name, description, name, breeding program, and genotyping facility (IGD, Intertek, etc.).
2526 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_upload_dialog_project} \end{center}
2528 The following step is to define or select a genotyping protocol. A genotyping protocol represents the set of markers being called against a specific reference genome. A genotyping protocol is defined with a name, description, reference genome name, species name, and a location of data generation. Note in the picture that you can select whether the samples in your file are accessions or tissue samples in the database; tissue samples are for when a genotyping plate is stored in the database. There is an option to parse the sample names for appended sequencing numbers from IGD, where the sample names are like ``accession:igdnumber''.
2530 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_upload_dialog_protocol} \end{center}
2532 The final step is to select the VCF from your computer and upload it. The web interface can be used to upload files arbitrarily large; it is a NGINX configuration to set this size.
2534 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_upload_dialog_vcf} \end{center}
2536 \hypertarget{searching-and-downloading-vcf-data}{%
2537 \section{Searching and Downloading VCF Data}\label{searching-and-downloading-vcf-data}}
2539 The Search Wizard is the primary means of querying data in the database. Go to Search-\textgreater Wizard to begin.
2541 Once genotyping protocols are stored, select Genotyping Protocols from the first dropdown menu. Then if you select one or more and select Accessions from the second dropdown menu, you will see the accessions for which genotypes were stored. As seen in the following picture, there is a section for filtering genotypes by chromosome, start position, and end position. Genotypes can be downloaded in VCF or DosageMatrix formats.
2543 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_wizard_download_prot} \end{center}
2545 Using the ``Default genotyping protocol'' which is configured in a system, you can query over field phenotypic evaluations before downloading genotypes and phenotypes.
2547 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_genotyping_data_wizard_trial} \end{center}
2549 \hypertarget{searching-protocols}{%
2550 \section{Searching Protocols}\label{searching-protocols}}
2552 Genotyping protocols can be search by going to Search-\textgreater Genotyping Protocols. To download genotypes accessions must be selected, though any combination of search criteria can be used to filter and select those accessions. If a genotyping protocol is not selected, then the default genotyping protocol set in the configuration will be used. Genotyping protocols can also be selected in the wizard.
2554 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_wizard_genotyping_protocols_download_main} \end{center}
2556 The genotyping download menu on the Search Wizard presents options for filtering by chromosome, start position, and end position. Genotypes can be downloaded in VCF of Dosage Matrix formats. The genomic relationship matrix (GRM) can be downloaded for the selected accessions in a tab-delimited matrix format or in a three-column format that is useful in Asreml. Genotypes can be computed from the parents in the pedigree if those parents are genotyped by clicking on the ``compute from parents'' checkbox. Additionally, the GRM can be computed using genotypes of parents in the pedigree if the ``compute from parents'' checkbox is selected.
2558 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/search_wizard_genotyping_protocols_download_genotypes} \end{center}
2560 As is described elsewhere, the Search Wizard presents a way to filter phenotypic values by minimum and maximum values, and allow for download in CSV and Excel formats.
2562 \begin{center}\includegraphics[width=0.75\linewidth]{assets/images/search_wizard_genotyping_protocols_download_phenotypes} \end{center}
2564 \hypertarget{detail-pages-and-deletion}{%
2565 \section{Detail Pages and Deletion}\label{detail-pages-and-deletion}}
2567 The genotyping protocol detail page will show all information about the protocol such as the reference genome used, the header information lines in the uploaded VCF file, the markers involved, and the samples genotyped.
2569 The markers section will show all markers used and their annotations, such as position, chromosome, alternate allele, reference allele, marker format, etc.
2571 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/genotyping_protocol_detail_page_markers} \end{center}
2573 The samples section will show all samples genotyped. Notice the Download links in the table which can be used to easily get the VCF file results for each genotyped samples with all markers in the genotyping protocol. For getting mulitple samples at once, use the Search Wizard as discussed above.
2575 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/genotyping_protocol_detail_page_samples} \end{center}
2577 The genotyping protocol and all associated genotyping data can be deleted from the genotyping protocol page.
2579 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/genotyping_protocol_detail_page_delete} \end{center}
2581 \hypertarget{managing-spectral-data}{%
2582 \chapter{Managing Spectral Data}\label{managing-spectral-data}}
2584 Breedbase has implemented a flexible spectral data storage protocol that handles spectral data irrespective of the source spectrometer. Spectral data storage and analysis in Breedbase makes use of the R package \emph{waves} for outlier identification, plotting, sample aggregation, and prediction model training.
2586 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/waves_breedbase_schema} \end{center}
2588 \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}
2590 \hypertarget{upload-spectral-data}{%
2591 \section{Upload Spectral Data}\label{upload-spectral-data}}
2593 Spectral data can be added as a CSV file that includes metadata in the leftmost columns followed by one column per spectral measurement to the right. Rows represent a single scan or sample, each with a unique ID that must match to a Breedbase observationUnitName. Future data transfer using \href{https://brapi.org}{BrAPI} will allow for interoperability with data collection software.
2595 To upload a spectral dataset, navigate to the `Manage NIRS Data' page by selecting `NIRS' in the `Manage' menu and click the blue `Upload NIRS' button. This will open an upload workflow. A link to the required file format and an example .csv file can be found by clicking in the light blue info box in this workflow. Another example of the file format is shown below.
2597 \begin{itemize}
2598 \tightlist
2599 \item
2600 \textbf{id}: Optional identifier for each NIRS read. The id must be an integer.
2601 \item
2602 \textbf{sampling\_id}: Optional identifier for each sample. Strings are allowed.
2603 \item
2604 \textbf{sampling\_date}: Optional field. The format allowed is: YYYY-MM-DD.
2605 \item
2606 \textbf{observationunit\_name}: Required field that matches existing data in the database. It can be the plot name, subplots, plant name, or tissue sample, depending how your trial is designed.
2607 \item
2608 \textbf{device\_id}: Optional field to identify your device. Strings are allowed.
2609 \item
2610 \textbf{device\_type}: Required field. It is possible upload data for a single device type. They can be: SCiO, QST, Foss6500, BunchiN500, or LinkSquare.
2611 \item
2612 \textbf{comments}: Optional field for general comments. All other columns are required wavelengths. You can add how many columns you want upload -- there is no limit.
2613 \end{itemize}
2615 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_main_display} \end{center}
2617 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/upload_NIRS_example_format} \end{center}
2619 \hypertarget{evaluate-and-remove-outliers}{%
2620 \section{Evaluate and Remove Outliers}\label{evaluate-and-remove-outliers}}
2622 Spectral calibration models can be heavily affected by the presence of outliers, whether they come from spectrometer spectral artifacts or user errors. Mahalanobis distance (Mahalanobis, 1936) is a measure of the distance between a single observation and a larger distribution and is commonly used in the identification of outliers in a multivariate space (Des Maesschalck et al, 2000). The \emph{FilterSpectra()} function in the R package \href{https://CRAN.R-project.org/package=waves}{\emph{waves}} calculates the Mahalanobis distance of each observation in a given spectral matrix using the \emph{stats::mahalanobis()} function. Observations are identified as outliers if the squared distance is greater than the 95th percentile of a \(\chi\)\textsuperscript{2}-distribution with \emph{p} degrees of freedom, where \emph{p} is the number of columns (wavelengths) in the spectral matrix (Johnson and Wichern, 2007). In Breedbase, this procedure is applied on a per-dataset basis on upload and outliers are given binary tags ``Outlier.''
2624 \hypertarget{plot-spectra}{%
2625 \section{Plot Spectra}\label{plot-spectra}}
2627 After outlier identification, a plot is generated using the \emph{PlotSpectra()} function in \href{https://CRAN.R-project.org/package=waves}{\emph{waves}}. This function uses the filtered spectra and \emph{ggplot2::ggplot()} to create a line plot with outliers highlighted by color. A list of rows identified as outliers are shown beneath the plot. Plots are saved as .png files and linked to the original input datasets. Plot image files can be downloaded via the ``Download Plot'' button in the upload workflow.
2629 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/upload_NIRS_plot_example} \end{center}
2631 \hypertarget{aggregate-spectra}{%
2632 \section{Aggregate Spectra}\label{aggregate-spectra}}
2634 To obtain a stable and reliable spectral profile, most spectrometer manufacturers recommend that multiple spectral scans are captured for each sample. While some spectrometers aggregate these scans internally, many do not, requiring the user to do so before analysis can take place. Breedbase handles these cases upon data upload following filtering steps by calling the \emph{AggregateSpectra()} function from \href{https://CRAN.R-project.org/package=waves}{\emph{waves}}, saving the aggregated scans for future access through the search wizard feature. Scans are aggregated by sample mean (e.g.~plot-level basis) according to the provided observationUnitName field. After aggregation, the user exits the upload workflow and the raw data file is saved in the upload archive.
2636 \hypertarget{references}{%
2637 \section{References}\label{references}}
2639 \begin{itemize}
2640 \tightlist
2641 \item
2642 De Maesschalck, R., Jouan-Rimbaud, D., and Massart, D. L. (2000). The Mahalanobis distance. Chemom. Intell. Lab. Syst. 50(1): 1-18.
2643 \item
2644 Johnson, R. A. \& Wichern, D. W. (2007). Applied Multivariate Statistical Analysis (6th Edition). p 773.
2645 \item
2646 Mahalanobis, P. C. (1936). On the generalized distance in statistics. National Institute of Science of India.
2647 \end{itemize}
2649 \protect\hyperlink{spectral-analysis}{\textbf{Analysis tool documentation}}
2651 \hypertarget{managing-sequence-metadata}{%
2652 \chapter{Managing Sequence Metadata}\label{managing-sequence-metadata}}
2654 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/sequence_metadata_manage} \end{center}
2656 \hypertarget{what-is-sequence-metadata}{%
2657 \section{What is Sequence Metadata?}\label{what-is-sequence-metadata}}
2659 Sequence Metadata is a feature that allows for the efficient storage and retrieval of sequence annotations for a specific region along a reference genome. The annotation data can contain a primary ``score'' value and any number of secondary key/value attribute data. For example, Sequence Metatadata can store MNase open chromatin scores for every 10 basepairs along the reference genome as well as genome-wide association study (GWAS) statistics, including the trait information associated with the result. This data can then be filtered by position and/or scores/attribute values and even cross-referenced with markers stored in the database.
2661 \hypertarget{loading-sequence-metadata}{%
2662 \section{Loading Sequence Metadata}\label{loading-sequence-metadata}}
2664 Sequence Metadata can be loaded into the database using a gff3-formatted file. The following columns are used to load the data:
2666 \begin{itemize}
2667 \tightlist
2668 \item
2669 \textbf{\#1 / seqid:} The name of the database feature (ie chromosome) the metadata is associated with (The feature name must already exist as a feature in the database)
2670 \item
2671 \textbf{\#4 / start:} The metadata's start position
2672 \item
2673 \textbf{\#5 / end:} The metadata's end position
2674 \item
2675 \textbf{\#6 / score:} (optional) The primary score attribute of the metadata
2676 \item
2677 \textbf{\#9 / attributes:} (optional) Secondary key//value attributes to be saved with the score. These should be formatted using the gff3 standard (key1=value1;key2=value2). The attribute key cannot be either score, start, or end.
2678 \end{itemize}
2680 To upload the gff3 file:
2682 \begin{enumerate}
2683 \def\labelenumi{\arabic{enumi}.}
2684 \tightlist
2685 \item
2686 Go to the \textbf{Manage \textgreater{} Sequence Metadata} page
2687 \item
2688 Click the \textbf{Upload Sequence Metadata} button
2689 \item
2690 On Step 2 of the Wizard, select the Type of data to be uploaded
2692 \begin{itemize}
2693 \tightlist
2694 \item
2695 This groups similar datasets together in the same Data Type category
2696 \end{itemize}
2697 \item
2698 On Step 3 of the Wizard, select an existing Protocol or create a new one
2700 \begin{itemize}
2701 \tightlist
2702 \item
2703 The Protocol is used to describe how the data was generated and define the score value and any secondary attributes. Adding the attributes (and their descriptions) to the Protocol will allow the Sequence Metadata queries to filter the data based on the value of one or more of these attributes. Attributes not defined in the Protocol will still be stored and displayed on retrieval, but will not be able to be used in a search filter.
2704 \end{itemize}
2705 \item
2706 Finally, select and upload your gff3 file to the database. The database will verify the format of the file before its contents are stored.
2707 \end{enumerate}
2709 \hypertarget{searching-sequence-metadata}{%
2710 \section{Searching Sequence Metadata}\label{searching-sequence-metadata}}
2712 To retrieve stored Sequence Metadata, go to the \textbf{Search \textgreater{} Sequence Metadata} page.
2714 \hypertarget{basic-search}{%
2715 \subsection{Basic Search}\label{basic-search}}
2717 The basic Sequence Metadata search options include selecting the reference genome and species, the chromosome, and (optionally) the start and/or end position(s) along the reference genome. In addition, one or more specific protocols can be selected to limit the results.
2719 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/sequence_metadata_search_basic} \end{center}
2721 The Sequence Metadata search results are returned as a table, including the chromosome and start/stop positions of the annotation, along with the primary score value and any additional key/value attributes. The markers column will include a list of marker names of any stored markers that are found within the start/stop positions of the Sequence Metadata. The data can be downloaded as a table in an Excel or CSV file or a machine-readable (code-friendly) JSON file. If the Sequence Metadata JBrowse configuration is set, the filtered results can be displayed as a dynamic JBrowse track.
2723 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/sequence_metadata_search_results} \end{center}
2725 \hypertarget{advanced-search}{%
2726 \subsection{Advanced Search}\label{advanced-search}}
2728 Any number of advanced search filters can be applied to the query. The advanced filters can limit the search results by the value of the primary score and/or any of the secondary attribute values.
2730 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/sequence_metadata_search_advanced} \end{center}
2732 \hypertarget{marker-integration}{%
2733 \section{Marker Integration}\label{marker-integration}}
2735 A table of Sequence Metadata annotations are embedded on the Marker/Variant detail page. The table will include any annotations that span the poisiton of the marker (for data of the same reference genome and species).
2737 \hypertarget{sequence-metadata-api}{%
2738 \section{Sequence Metadata API}\label{sequence-metadata-api}}
2740 A publicly accessible RESTful API (Application Programming Interface) is available to query the database for Sequence Metadata directly from your programming environment (R, python, etc) to be used in analysis. The data is returned in a JSON format. Documentation for the API can be found on the \textbf{Manage \textgreater{} Sequence Metadata} page
2742 \hypertarget{managing-outliers-in-dataset}{%
2743 \chapter{Managing Outliers in Dataset}\label{managing-outliers-in-dataset}}
2745 \hypertarget{what-is-outliers-functionality-in-dataset}{%
2746 \section{What is Outliers Functionality in Dataset ?}\label{what-is-outliers-functionality-in-dataset}}
2748 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/outliers_dataset_icon} \end{center}
2750 As in step \protect\hyperlink{search-wizard}{The Search Wizard} we can create a dataset.
2752 The dataset incorporates a feature to identify outlier points, which we may choose to exclude from a specific dataset. It's important to note that these exclusions only apply at the dataset level, and no data is permanently removed from the database. Additionally, outlier categorization can be modified at any time, and these changes are visible to all other functionalities within the system.
2754 Each dataset stores a wholly unique set of outlier points, completely independent of any other dataset in the database. Outliers are specifically designated for traits within datasets, exclusively encompassing phenotype data. If a particular dataset lacks traits as a part of wizard selection, this functionality is not available.
2756 Each trait has its own set of defined outliers.
2758 \hypertarget{accessing-trait-visualization}{%
2759 \section{Accessing Trait Visualization}\label{accessing-trait-visualization}}
2761 Once you've selected a specific trait, the web application provides access to a visualization of the data points associated with that trait.
2763 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/outliers_dataset_basic_panel} \end{center}
2765 \hypertarget{interpreting-visual-elements}{%
2766 \section{Interpreting Visual Elements}\label{interpreting-visual-elements}}
2768 Once you've selected a specific trait, the web application provides access to a visualization of the data points associated with that trait.
2770 \begin{itemize}
2771 \tightlist
2772 \item
2773 \textbf{Green Points}: As per the legend, represent values for the selected trait that fall below the cut-off point set by the slider. (non-outliers)
2774 \item
2775 \textbf{Black Outlined Points}: These data points are outlined with black borders, indicating that they are currently designated as outliers in the database.
2776 \item
2777 \textbf{Red Points}: The red data points denote the cut-off points established by the slider for the allowable deviation value.
2778 \end{itemize}
2780 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/outliers_dataset_full_visualisation} \end{center}
2782 \hypertarget{choosing-cut-off-values}{%
2783 \section{Choosing Cut-Off Values}\label{choosing-cut-off-values}}
2785 You have two fundamental options for setting cut-off points:
2787 \begin{itemize}
2788 \tightlist
2789 \item
2790 \textbf{Median with MAD}: This option involves using the median (middle value) along with the Mean Absolute Deviation (MAD) as a reference point for determining cut-off values.
2791 \item
2792 \textbf{Mean with Standard Deviation}: Alternatively, you can choose to use the mean (average) in conjunction with the Standard Deviation to set cut-off points.
2793 \end{itemize}
2795 \hypertarget{setting-deviation-multiplier}{%
2796 \section{Setting Deviation Multiplier}\label{setting-deviation-multiplier}}
2798 The slider allows you to specify the deviation multiplier from a central point, which influences the cut-off values.
2800 \hypertarget{utilizing-graph-controls}{%
2801 \section{Utilizing Graph Controls}\label{utilizing-graph-controls}}
2803 Beneath the graph, you'll find four buttons, each serving a distinct function:
2805 \begin{itemize}
2806 \tightlist
2807 \item
2808 \textbf{Add selection to outliers}: This button enables you to save the current cut-off points to the database for future reference.
2809 \item
2810 \textbf{Reset outliers for current trait}: You can use this option to reset outliers for the selected trait.
2811 \item
2812 \textbf{Reset all outliers}: This button allows you to reset outliers for the entire dataset.
2813 \item
2814 \textbf{Download Phenotype Table without outliers}: You can download the phenotype data table in a comma-separated value format file, using this feature, with outliers excluded for selected dataset.
2815 \end{itemize}
2817 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/outliers_dataset_actions} \end{center}
2819 These tools and functions are designed to provide you with control and insights when working with data visualization and outliers.
2821 \hypertarget{data-analysis-tools}{%
2822 \chapter{Data Analysis Tools}\label{data-analysis-tools}}
2824 SGN databases provides several tools for phenotype data analysis, marker-assisted selection, sequence and expression analyses, as well as ontology browser. These tools can be found in the ``Analyze'' menu.
2826 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image114} \end{center}
2828 \hypertarget{selection-index}{%
2829 \section{Selection Index}\label{selection-index}}
2831 To determine rankings of accessions based on more than one desirable trait, SGN databases provide a ``Selection Index'' tool that allows you to specify a weighting on each trait. To access the tool, clicking on ``Selection Index'' in the ``Analyze'' menu.
2833 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image251} \end{center}
2835 On the Selection Index page, selecting a trial that you want to analyze.
2837 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image95} \end{center}
2839 After you selected a trial, you can find traits that were assayed in that trial in the ``Trait'' box.
2841 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image78} \end{center}
2843 Selecting a trait that you want to include in the analysis will open a new dialogue showing the selected trait and a box that you can assign a ``Weight'' of that trait. After you are done, you can continue by selecting another trait by clicking on ``Add another trait'' link.
2845 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image304} \end{center}
2847 After you selected another trait, this page will automatically update information for you by showing all of the traits that you selected for the analysis.
2849 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image76} \end{center}
2851 You also have options to choose a reference accession, choose to include accessions with missing phenotypes, scaling values to a reference accession. After you complete your setting, clicking on ``Calculate Rankings''
2853 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image343} \end{center}
2855 The Selection Index tool will generate rankings of accessions based on the information that you specified. You can copy the results to your system clipboard, convert the table data to CSV format, or print the data.
2857 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image326} \end{center}
2859 Clicking on ``Raw Average'' will display average values of the phenotypes of those ranked accessions.
2861 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image150} \end{center}
2863 Selection Index tool also allows you to save top ranked accessions directly to ``Lists''. You can retrieve top ranked accessions by selecting a number or a percent.
2865 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image156} \end{center}
2867 \hypertarget{genomic-selection}{%
2868 \section{Genomic Selection}\label{genomic-selection}}
2870 The prediction of breeding values for a trait is a one step or two steps process, depending on what stage in your breeding cycle you are. The first step is to build a prediction model for a trait using a training population of clones with phenotype and genotype data. If you have yet to select parents for crossing for your first cycle of selection you can use the breeding values of the training population. If you are at later stages of your selection program, you need to do the second step which is applying the prediction model on your selection population. All clones in your training and selection populations must exist in the database.
2872 To use the genomic selection tool, on \href{http://cassavabase.org/}{\emph{cassavabase.org}}, select `Genomic Selection' from the `analyze' pull-down menu.
2874 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image247} \end{center}
2876 There are three ways to build a model for a trait.
2878 \hypertarget{method-1}{%
2879 \subsection{Building a Model - Method 1:}\label{method-1}}
2881 One way to build a model is, using a trait name, to search for trials in which the trait was phenotyped and use a trial or a combination of trials to build a model for the trait. For example, if you search for 'mosaic disease severity, you will get a list of trials you can use as training populations.
2883 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image160} \end{center}
2885 You will get a list of trials (as shown below) in which the trait of your interested was phenotyped. From the list, you can use a single trial as a training population or combine several trails to form a training population for the prediction model of the trait. Let's say, you want to create a training population using individuals from trials `cassava ibadan 2001/02' and `cassava ibadan 02/03' and build a model for `cassava mosaic disease severity' using all clones from the training population.
2887 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image249} \end{center}
2889 Select the trials to combine (the same coloured), click `done selecting', click the `combine trials and build model' button, and you will get a model and its output for the trait. On the model detail page, you can view the description of input data used in the model, output from the model and search interface for selection populations the model you can apply to predict their breeding values. The description of the input data for the model includes the number of phenotyped clones, and the number of markers, scatter and frequency distribution plots for the phenotype data, relationship between the phenotype data and GEBVs, population structure. The model output includes model parameters, heritability of the trait , prediction accuracy, GEBVs of the individuals from the training population and marker effects.
2891 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image330} \end{center}
2893 Expand each section to see detailed information.
2895 If you expand the `Trait phenotype data' section, you will find plots to explore the phenotype data used in the model. You can assess the phenotype data using a scatter and histogram plots and the descriptive statistics.
2897 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image244} \end{center}
2899 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image263} \end{center}
2901 A regression line between observed phenotypes and GEBVs shows the relationship between the two.
2903 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image83} \end{center}
2905 You can also explore if there is any sub-clustering in the training population using PCA.
2907 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image93} \end{center}
2909 To check the model accuracy, a 10-fold cross-validation test, expand the `model accuracy' section.
2911 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image328} \end{center}
2913 Marker effects are also available for download. To do so, expanad the `Marker Effects' section and click the `Download all marker effects' link and you will get a tab delimited output to save on your computer.
2915 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image74} \end{center}
2917 The breeding values of the individuals used in the training population are displayed graphically. Mousing over each data point displays the clone and its breeding value. To examine better, you can zoom in into the plot by selecting an area on the plot. You can download them also by following the `Download all GEBVs' link.
2919 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image147} \end{center}
2921 \hypertarget{estimating-breeding-values-in-a-selection-population}{%
2922 \subsubsection*{Estimating breeding values in a selection population}\label{estimating-breeding-values-in-a-selection-population}}
2925 If you already have a selection population (in the database), from the same model page, you can apply the model to the selection population and estimate breeding values for all the clones in the population. You can search for a selection population of clones in the database using the search interface or you can make a custom list of clones using the \protect\hyperlink{working-with-lists}{\emph{list interface}}. If you click the `search for all relevant selection populations', you will see all relevant selection populations for that model. However, this option takes long time decause of the large set of populations in the database and the filtering. Therefore, the fastest way is to search for each of your selection populations by name. If you are logged in to the website you will also see a list of your custom set of genotyped clones.
2927 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image338} \end{center}
2929 To apply the model to a selection population, simply click your population name or `Predict Now' and you will get the predicted breeding values. When you see a name of (or acronym{]}) of the trait, follow the link and you will see an interactive plot of the breeding values and a link to download the breeding values of your selection population.
2931 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image334} \end{center}
2933 \hypertarget{method-2}{%
2934 \subsection{Building a Model - Method 2}\label{method-2}}
2936 Another way to build a model is by selecting a trial, instead of selecting and searching for a specific trait. This approach is useful when you know a particular trial that is relevant to the environment you are targeting to breed material for. This method allows you to build models and predict genomic estimated breeding values (GEBVs) for several traits within a single trial at once. You can also calculate selection index for your clones when GEBVs are estimated for multiple traits.
2938 To do this select the ``Genomic Selection'' link found under the ``analyze'' menu. This will take you to the same home page as used with Method 1. However, instead of entering information to search for in ``Search for a trait'', click on ``Use a trait as a trial population''. This will expand a new menu that will show all available trials.
2940 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image344} \end{center}
2942 \begin{center}\includegraphics[width=0.25\linewidth]{assets/images/image329} \end{center}
2944 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image341} \end{center}
2946 To begin creating the model, select the existing trial that you would like to use. In this example I will be using the trial and trait data from ``Cassava Ibadan 2002/03'' trial. Clicking on a trial will take you to a page where you can find information such as number of markers and number of phenotypes clones.
2948 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image322} \end{center}
2950 In addition to the number of phenotype clones and number of markers, the main page for the trial selected also has information and graphs on phenotypic correlation for all of the traits. By moving your cursor over the graph you can read the different values for correlation between two traits. A key with all of the trait names of the acronyms used can be found in the tab below the graph.
2952 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image151} \end{center}
2954 Below the ``Training population summary'' there is a tab for ``Traits''. Clicking on this tab will show all available traits for the specific trial. You can create a model by choosing one or multiple traits in the trial and clicking ``Build Model''. In this example, the traits for ``cassava bacterial blight severity'' and ``cassava mosaic disease severity'' have been selected.
2956 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image69} \end{center}
2958 Clicking on `Build Model' will take you to a new page with the models outputs for the traits. Under the ``Genomic Selection Model Output'' tab you can view the model output and the model accuracy. Clicking on any of the traits will take you to a page with information about the model output on that individual trait within the trial. There you can view all of the trait information that was seen in more detail in \protect\hyperlink{method-1}{\emph{Method 1}}.
2960 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image336} \end{center}
2962 You can apply the models to simultaneously predict GEBVs for respective traits in a selection population by clicking on ``Predict Now'' or the name of the selection population. You can also apply the models to any set of genotyped clones that you can create using the `lists' feature. For more information on lists, click \protect\hyperlink{working-with-lists}{\emph{here}}. Follow the link to the trait name to view and download the predicted GEBVs for the trait in a selection population.
2964 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image171} \end{center}
2966 To compare clones based on their performance on multiple traits, you can calculate selection indices using the form below. Choose from the pulldown menu the population with predicted GEBVs for the traits and assign relative weights for each trait. The relative weight of each trait must be between 0 - 1. 0 being of least weight and importance, not wanting to consider that particular trait in selecting a genotype and 1 being a trait that you give highest importance.
2968 In this example we will be using the ``Cassava Ibadan 2002/03'' population and assigning values to each of the traits. Remember that there is a list of acronyms and trait names at the bottom of the page for reference. After entering whatever values you would like for each trait click on the ``Calculate'' button to generate results. This will create a list of the top 10 genotypes that most closely match the criteria that you entered. The list will be displayed right below the ``selection index'' tab. This information can also be downloaded onto your computer by clicking on the ``Download selection indices'' link underneath the listed genotypes and selection indices.
2970 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image81} \end{center}
2972 \hypertarget{building-a-model---method-3}{%
2973 \subsection{Building a Model - Method 3}\label{building-a-model---method-3}}
2975 In addition to creating a model by searching for pre-existing traits or by preexisting trial name, models can also be created by using your own list of clones. This creates a model by using or creating a training population.
2977 The page to use the third Method for creating a population model is the same as for the other two models. Select ``Genomic Selection'' from under the ``analyze'' menu of the main toolbar. This will take you to the Genomic Selection homepage and show you all three available methods to create a model. To see and use Method 3 scroll down and click on the tab labeled ``Create a Training Population''. This will open a set of tools that will allow you to use pre-existing lists or to create a new list.
2979 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image138} \end{center}
2981 Once the ``Create a Training Population'' tab is opened you have the option to use a pre-existing list or create new one. To learn how to create a list, click \protect\hyperlink{working-with-lists}{\emph{here}}. The ``Make a new list of plots'' link will take you directly to the Search Wizard that is usually used to create lists.
2983 Please note: the only lists that can be used in Method 3 to create a model are lists of plots and trials. If the pre-existing list is not of plots or trials (for example, traits, or locations) it will not show up and cannot be used as a training population. When you create you use a list of trials, the trials data will be combined to create a training data set.
2985 To use your custom list of plots or trials as a training population, select the list and click ``Go''. This will take you to a detail page for the training population.
2987 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image181} \end{center}
2989 From here on you can build models and predict breeding values as described in \protect\hyperlink{method-2}{\emph{Method 2}}\textbf{.}
2991 \hypertarget{genome-browsing}{%
2992 \section{Genome Browsing}\label{genome-browsing}}
2994 There are two ways to evaluate genotype information within the browser, from an accession detail page or a trial detail page.
2996 \hypertarget{browsing-genotype-data-by-accession}{%
2997 \subsection{Browsing Genotype data by Accession}\label{browsing-genotype-data-by-accession}}
2999 If you are interested in browsing genotype information for a single accession, for example `BAHKYEHEMAA', navigate to the accession detail page.
3001 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image152} \end{center}
3003 Near the bottom of the detail page is a collapsible section called ``Accession Jbrowse''.
3005 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image20} \end{center}
3007 This section will contain a link to the accession jbrowse page if the necessary genotype data is available. Clicking the link should take you to a page that looks like this, a which point you can browsre the genotype data in the form of a vcf track aligned to the latest build of the genome.
3009 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image318} \end{center}
3011 \hypertarget{browsing-genotype-data-by-trial}{%
3012 \subsection{Browsing Genotype data by Trial}\label{browsing-genotype-data-by-trial}}
3014 If you are interested in browsing genotype information for the accessions within a given trial, navigate to the trial detail page.
3016 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image277} \end{center}
3018 Halfway down the page is a collapsible section called ``Trial Jbrowse''. This section will contain a link to the trial jbrowse page if the necessary genotype data for at least two accessions planted in the trial is available.
3020 \begin{center}\includegraphics[width=0.5\linewidth]{assets/images/image268} \end{center}
3022 Clicking the link should take you to a page that looks like this, a which point you can browse the genotype data in the form of vcf tracks aligned to the latest build of the genome.
3024 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/image327} \end{center}
3026 \hypertarget{principal-component-analysis-pca}{%
3027 \section{Principal Component Analysis (PCA)}\label{principal-component-analysis-pca}}
3029 Principal component analysis helps estimate and visualize if there is sub-grouping of individuals within a dataset based on a number of variables. Currently, you can use marker data to run PCA on datasets.
3031 You can run PCA from multiple places on the website. To do PCA on
3033 \begin{enumerate}
3034 \def\labelenumi{(\arabic{enumi})}
3035 \item
3036 individuals from a trial, go to the trial detail page and find the PCA tool under the `Analysis tools' section.
3037 \item
3038 individuals from a training population you used in a GS modeling, do your modeling and find the PCA tool in the model output page.
3039 \item
3040 individuals in a training population and selection population you applied the training model, do your modeling, apply the model on the selection population and find the PCA tool on the selection population prediction output page.
3041 \item
3042 individuals in a list of accessions you created, for example using the search wizard, go to the `Analyze' menu and select the `Population Structure', select your list of individuals and run PCA.
3043 \item
3044 individuals from multiple trials, create a list of the trials using the search wizard, go to the `Analyze' menu and select the `Population Structure', select your list of trials and run PCA.
3045 \end{enumerate}
3047 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/pca_iita_naccri_trials} \end{center}
3049 With all the options, you will get a interactive plot of the two PCs (shown below) that explain the largest variance. Point the cursor at any data point and you will see the individual name with its corresponding PCs scores. By clicking the `Download all PCs', you can also download the 10 PCs scores in the text format.
3051 \hypertarget{anova}{%
3052 \section{ANOVA}\label{anova}}
3054 Currently, ANOVA is implemented for a single trial (single year and single location). You can do ANOVA for RCBD, CRD, Alpha and Augmented trial designs. ANOVA is done using linear mixed effects model, where the genotypes is fixed effect and the replications and blocks are random effects. Fixed effect significance level is computed using `lmer' from `lmeTest' R package.
3056 You can do ANOVA from two places: trial detail and training population detail. In both cases, if the phenotype data was from the supported trial designs,
3058 -- Go to the ANOVA section down in the trial or training population page
3060 -- Select the trait of you want to perform ANOVA
3062 -- Click the `Run ANOVA' and wait for the result
3064 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/anova-dm} \end{center}
3066 \hypertarget{clustering-k-means-hierarchical}{%
3067 \section{Clustering (K-Means, Hierarchical)}\label{clustering-k-means-hierarchical}}
3069 The K-Means method allows you to partition a dataset into groups (K number). The hierarchical clustering, agglomerative, allows you to explore underlying similarity and visualize in a tree structure (dendrogram) the different levels of similarities (clusters) among samples. You can do clustering based on marker data, phenotype data and GEBVs. When you use phenotype data, first clone averages for each trait are calculated. Both methods use Euclidean distance as a measure of similarity. For the hierachical clustering, the complete-linkage (farthest neighbour) method is used to link up clusters.
3071 There are three pathways to using this tool.
3073 \begin{enumerate}
3074 \def\labelenumi{(\arabic{enumi})}
3075 \tightlist
3076 \item
3077 When you have data in the form of a list or dataset from the search wizard:
3078 \end{enumerate}
3080 \begin{enumerate}
3081 \def\labelenumi{(\Alph{enumi})}
3082 \item
3083 -- go to the `Analyze' menu and select the clustering option
3084 \item
3085 -- make sure you are logged in
3086 \item
3087 -- Select the relevant genotyping protocol, if you are clustering using genotype data
3088 \item
3089 -- select your list or dataset, click `Go'
3090 \item
3091 -- select clustering type
3092 \item
3093 -- select the data type to use
3094 \item
3095 -- If you are running K-Means clustering, provide the number of partitions (K). If left blank it will partition the data set into optimal numbers for the dataset.
3096 \item
3097 -- click the `Run Cluster' and wait for the analysis to finish or queue the request and wait for an email with the analysis result.
3098 \item
3099 -- You can download the outputs following the download links.
3100 \end{enumerate}
3102 \begin{enumerate}
3103 \def\labelenumi{(\arabic{enumi})}
3104 \setcounter{enumi}{1}
3105 \tightlist
3106 \item
3107 From the trial detail page:
3108 \end{enumerate}
3110 \begin{enumerate}
3111 \def\labelenumi{(\Alph{enumi})}
3112 \item
3113 -- Go to the `Analysis Tools' section
3114 \item
3115 -- Follow steps D to G in (1)
3116 \end{enumerate}
3118 \begin{enumerate}
3119 \def\labelenumi{(\arabic{enumi})}
3120 \setcounter{enumi}{2}
3121 \tightlist
3122 \item
3123 In the solGS pipeline:
3124 \end{enumerate}
3126 \begin{enumerate}
3127 \def\labelenumi{(\Alph{enumi})}
3128 \tightlist
3129 \item
3130 -- Once you you are in a model output put page, you will see a section where you can do clustering in the same way as above (option 2).
3131 \end{enumerate}
3133 K-Means clustering:
3135 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/k-means-cluster} \end{center}
3137 Hierarchical clustering:
3139 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/hclustering} \end{center}
3141 \hypertarget{genetic-gain}{%
3142 \section{Genetic Gain}\label{genetic-gain}}
3144 You can check for genetic gain by comparing the the GEBVs of a training and a selection population. You can do this in the solGS pipepline once you build a model and apply the model to predict the GEBVs of a selection population. Once at that stage, you will see a section `Check Genetic Gain'. Select a selection population to compare with the training population and click the `Check Genetic Gain' button. The genetic gain will be visualized in boxplots. You can download the boxplot(s) as well as the GEBVs data used for the plot(s).
3146 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/genetic-gain} \end{center}
3148 \hypertarget{kinship-and-inbreeding-coefficients}{%
3149 \section{Kinship and Inbreeding Coefficients}\label{kinship-and-inbreeding-coefficients}}
3151 This tool allows you to estimate genetic relatedness between a pair of individuals (kinship), homozygousity across loci in an individual (inbreeding coefficient), and genetic similarity of an individual relative to the rest of the population (averge kinship).
3153 There are three pathways to using this tool.
3155 (1) When you have a list or dataset clones, created from the search wizard:
3157 \begin{enumerate}
3158 \def\labelenumi{(\Alph{enumi})}
3159 \item
3160 -- go to the `Analyze' menu and select the kinship and inbreeding
3161 \item
3162 -- make sure you are logged in
3163 \item
3164 -- Select the genotypic protocol for the marker data
3165 \item
3166 -- select your list or dataset of clones, click `Go'
3167 \item
3168 -- click the `Run Kinship' and wait for the analysis to finish, depending on the data size this may take minutes. You can choose to submit the analysis and wait for an email notice to view the results or wait for it to complete.
3169 \item
3170 -- You can download the output following the download links.
3171 \end{enumerate}
3173 (2) From the trial detail page:
3175 \begin{enumerate}
3176 \def\labelenumi{(\Alph{enumi})}
3177 \item
3178 -- Go to the `Analysis Tools' section
3179 \item
3180 -- Follow steps C to G in (1)
3181 \end{enumerate}
3183 (3) In the solGS pipeline:
3185 \begin{enumerate}
3186 \def\labelenumi{(\Alph{enumi})}
3187 \tightlist
3188 \item
3189 -- Once you you are in a model output put page, scroll down to the `Kinship and Inbreeding' section and run kinship.
3190 \end{enumerate}
3192 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/kinship-inbreeding} \end{center}
3194 \hypertarget{creating-crossing-groups}{%
3195 \section{Creating Crossing Groups}\label{creating-crossing-groups}}
3197 If you calculate selection index based on GEBVs of multiple traits, and you want to select a certain proportion of the indexed individuals (e.g.~top 10\%, or bottom 10\%) and then you want to partition the selected individuals into a number of groups based on their genotypes, you can use the k-means clustering method.
3199 The procedure is:
3201 \begin{enumerate}
3202 \def\labelenumi{(\arabic{enumi})}
3203 \item
3204 predict GEBVs for 2 or more traits
3205 \item
3206 In the models output page, calculate selection indices. Note the name of the selection index data.
3207 \item
3208 Go to the clustering section,
3209 \end{enumerate}
3211 -- select the selection index data,
3213 -- select `K-means',
3215 -- select `Genotype',
3217 -- in the K-numbers textbox, fill in the number of groups you want to create,
3219 -- in the selection proportion textbox, fill in the proportion of the indexed individuals you want to select, e.g.~for the top 15 percent, 15. if you wish to select bottom performing, prefix the number with minus sign (e.g.~-15)
3221 -- then run cluster and wait for the result.
3223 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/selection_proportion_clustering} \end{center}
3225 \hypertarget{search-wizard-genomic-relationship-matrix-grm-download}{%
3226 \section{Search Wizard Genomic Relationship Matrix (GRM) Download}\label{search-wizard-genomic-relationship-matrix-grm-download}}
3228 The genomic relationship matrix (GRM) is useful for understanding underlying structure in your population. Breedbase can compute the GRM using rrBLUP. First, select accessions in the search wizard and optionally select a genotyping protocol. If no genotyping protocol is selected, the default genotyping protocol in your system is used (as defined in sgn\_local.conf). Specify the minor allele frequency, missing marker data, and missing individuals data filters to apply. The GRM can be returned in a matrix format (.tsv) which shows all pairwise relationships between the selected accessions and is useful for visualization; alternatively, the GRM can be returned in a three-column format (.tsv) which is useful for programs like ASReml outside of Breedbase. The GRM can also be returned as a simple correlation heatmap image (.pdf). The GRM can be computed from parents of the selected accessions granted the parents were genotyped, by clicking the checkbox ``compute from parents''; this is useful for programs where parental lines are genotyped and then hybrids are created and evaluated in the field.
3230 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_wizard_genotype_analyses_grm} \end{center}
3232 \hypertarget{search-wizard-genome-wide-association-study-gwas}{%
3233 \section{Search Wizard Genome Wide Association Study (GWAS)}\label{search-wizard-genome-wide-association-study-gwas}}
3235 Performing a genome wide association study (GWAS) can determine genotypic markers which are significantly correlated to phenotypic traits. Breedbase can compute GWAS using rrBLUP. First, select accessions and trait(s) in the search wizard, and optionally select a genotyping protocol. If no genotyping protocol is selected, the default genotyping protocol in your system is used (as defined in sgn\_local.conf). Several traits can be selected in the search wizard; if the traits are not to be treated as repeated measurements then select `no' in the select box and this will tell Breedbase to return GWAS results independently for the selected traits. If the selected traits are indeed all repeated measurements then select `yes' in the select box and Breedbase will return as single GWAS analysis across all the phenotypic records. Specify the minor allele frequency, missing marker data, and missing individuals data filters to apply. GWAS results can be returned in a tabular format (.tsv) where the -log10(p-values) for the selected traits are returned; alternatively, the GWAS results can be returned as Manhattan and QQ plots for the selected traits. The GWAS can be computed from parents of the selected accessions granted the parents were genotyped, by clicking the checkbox ``compute from parents''; this is useful for programs where parental lines are genotyped and then hybrids are created and evaluated in the field.
3237 The GWAS will filter the data by the input MAF and missing data filters provided. After filtering the data is imputed using an `EM' method in rrBLUP. The Kinship matrix (GRM) is computed from the imputed genotypic data and used in the GWAS model. The GWAS uses fixed effects for different field trials and replicates in the phenotypic data.
3239 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_wizard_genotype_analyses_gwas} \end{center}
3241 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_wizard_genotype_analyses_manhattan_plot} \end{center}
3243 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/search_wizard_genotype_analyses_qq_plot} \end{center}
3245 \hypertarget{spectral-analysis}{%
3246 \section{Spectral Analysis}\label{spectral-analysis}}
3248 Visible and near-infrared spectroscopy (vis-NIRS) can be related to reference phenotypes through statistical models to produce accurate phenotypic predictions for unobserved samples, increasing phenotyping throughput. This technique is commonly used for predicting traits such as total starch, protein, carotenoid, and water content in many plant breeding programs. Breedbase implements the R package \href{https://CRAN.R-project.org/package=waves}{\emph{waves}} to offer training, evaluation, storage, and use of vis-NIRS prediction models for a wide range of spectrometers and phenotypes.
3250 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/waves_breedbase_schema} \end{center}
3252 \hypertarget{dataset-selection}{%
3253 \subsection{Dataset selection}\label{dataset-selection}}
3255 In order to initiate an analysis, the user must select one or more datasets using \ref{search-wizard}. A dataset in Breedbase can contain observationUnit-level (plot-, plant-, or sample-level) trial metadata and phenotypic data from one or more trials. After navigating to the ``NIRS'' webpage under the ``Manage'' tab in Breedbase, the user can initiate an analysis and select one of these datasets as input for model training. An optional test dataset can be selected in the second step of the workflow.
3257 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_prediction_workflow_intro} \end{center}
3259 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_prediction_workflow_dataset} \end{center}
3261 \hypertarget{cross-validation}{%
3262 \subsection{Cross-validation}\label{cross-validation}}
3264 Five cross-validation schemes that represent scenarios common in plant breeding are available for this analysis. These include CV1, CV2, CV0, and CV00 as outlined below and described in depth by Jarquín et al.~(2017) as well as random and stratified random sampling with a 70\% training and 30\% validation split. For those schemes from Jarquín et al.~(2017), specific input datasets must be chosen based on genotype and environment relatedness. Cross-validation choices: * \textbf{Random sampling} (70\% training / 30\% validation) * \textbf{Stratified random sampling}, stratified based on phenotype (70\% training / 30\% validation) * \textbf{CV1}, untested lines in tested environments * \textbf{CV2}, tested lines in tested environments * \textbf{CV0}, tested lines in untested environments * \textbf{CV00}, untested lines in untested environments
3266 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_cv} \end{center}
3268 \hypertarget{preprocessing}{%
3269 \subsection{Preprocessing}\label{preprocessing}}
3271 Preprocessing, also known as pretreatment, is often used to increase the signal to noise ratio in vis-NIR datasets. The \emph{waves} function \emph{DoPreprocessing()} applies functions from the \emph{stats} and \emph{prospectr} packages for common spectral preprocessing methods with the following options: * Raw data (default) * First derivative * Second derivative * Gap segment derivative * Standard normal variate (SNV; Barnes et al., 1989) * Savitzky-Golay polynomial smoothing (Savitzky and Golay, 1964)
3273 For more information on preprocessing methods and implementation, see the \href{https://CRAN.R-project.org/package=waves}{\emph{waves}} manual, available through CRAN: \href{https://cran.r-project.org/web/packages/waves/waves.pdf}{waves.pdf}
3275 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_snv} \end{center}
3277 \hypertarget{algorithms}{%
3278 \subsection{Algorithms}\label{algorithms}}
3280 Several algorithms are available for calibration model development in Breedbase via the \href{https://CRAN.R-project.org/package=waves}{\emph{waves}} package. The \emph{TrainSpectralModel()} function in waves performs hyperparameter tuning as applicable using these algorithms in combination with cross validation and train functions from the package \emph{caret}. Currently, only regression algorithms are available, but classification algorithms such as PLS-DA and SVM clasification are under development. * \textbf{Partial least squares regression} (PLSR; Wold et al., 1982; Wold et al., 1984) is a popular method for spectral calibrations, as it can handle datasets with high levels of collinearity, reducing the dimensionality of these data into orthogonal latent variables (components) that are then related to the response variable through a linear model (reviewed in Wold et al., 2001). To avoid overfitting, the number of these components included in the final model must be tuned for each use case. The PLSR algorithm from the \emph{pls} package is implemented by waves. * \textbf{Random Forest regression} (RF; Ho, 1995) is a machine learning algorithm based on a series of decision trees. The number of trees and decisions at each junction are hyperparameters that must be tuned for each model. Another feature of this algorithm is the ability to extract variable importance measures from a fitted model (Breiman, 2001). In Breedbase, this option is made available through implementation of the RF algorithm from the package randomForest in the waves function TrainSpectralModel(). This function outputs both model performance statistics and a downloadable table of importance values for each wavelength. It is worth noting that this algorithm is computationally intensive, so the user should not be alarmed if results do not come right away. Breedbase will continue to work in the background and will display results when the analysis is finished. * \textbf{Support vector machine regression} (SVM; Vapnik, 2000) is another useful algorithm for working with high-dimension datasets consisting of non-linear data, with applications in both classification and regression. The package waves implements SVM with both linear and radial basis function kernels using the kernlab package.
3282 \hypertarget{output-common-model-summary-statistics}{%
3283 \subsection{Output: common model summary statistics}\label{output-common-model-summary-statistics}}
3285 After training, model performance statistics are both displayed on a results webpage and made available for download in .csv format. These statistics are calculated by the \emph{TrainSpectralModel()} function in \href{https://CRAN.R-project.org/package=waves}{\emph{waves}} using the \emph{caret} and \emph{spectacles} packages. Reported statistics include: * Tuned parameters depending on the model algoritm * \textbf{Best.n.comp}, the best number of components to be included in a PLSR model * \textbf{Best.ntree}, the best number of trees in an RF model * \textbf{Best.mtry}, the best number of variables to include at every decision point in an RF model * \textbf{RMSECV}, the root mean squared error of cross-validation * \textbf{R2cv}, the coefficient of multiple determination of cross-validation for PLSR models * \textbf{RMSEP}, the root mean squared error of prediction * \textbf{R2p}, the squared Pearson's correlation between predicted and observed test set values * \textbf{RPD}, the ratio of standard deviation of observed test set values to RMSEP * \textbf{RPIQ}, the ratio of performance to interquartile distance * \textbf{CCC}, the concordance correlation coefficient * \textbf{Bias}, the average difference between the predicted and observed values * \textbf{SEP}, the standard error of prediction * \textbf{R2sp}, the squared Spearman's rank correlation between predicted and observed test set values
3287 \hypertarget{export-model-for-later-use}{%
3288 \subsection{Export model for later use}\label{export-model-for-later-use}}
3290 Once a model has been trained, it can be stored for later use. This action calls the \emph{SaveModel()} function from \href{https://CRAN.R-project.org/package=waves}{\emph{waves}}. Metadata regarding the training dataset and other parameters specified by the user upon training initialization are stored alongside the model object itself in the database.
3292 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_export_model} \end{center}
3294 \hypertarget{predict-phenotypes-from-an-exported-model-routine-use}{%
3295 \subsection{Predict phenotypes from an exported model (routine use)}\label{predict-phenotypes-from-an-exported-model-routine-use}}
3297 For phenotype predictions, users select a dataset and can then choose from models in the database that were trained using the same spectrometer type as the spectral data in the chosen dataset. Predicted phenotypes are stored as such in the database and are tagged with an ontology term specifying that they are predicted and not directly measured. Metadata regarding the model used for prediction is stored alongside the predicted value in the database. Predicted phenotypes can then be used as normal in other Breedbase analysis tools such as the Selection Index and GWAS.
3299 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_select_model} \end{center}
3301 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/manage_NIRS_prediction_results} \end{center}
3303 \hypertarget{faq}{%
3304 \subsection{FAQ}\label{faq}}
3306 The Breedbase Spectral Analysis Tool does not allow for prediction models involving data from multiple spectrometer types at once.
3308 References * Barnes, R.J., M.S. Dhanoa, and S.J. Lister. 1989. Standard normal variate transformation and de-trending of near-infrared diffuse reflectance spectra. Appl. Spectrosc. 43(5): 772-777. doi: 10.1366/0003702894202201. * Breiman, L. 2001. Random forests. Mach. Learn. 45: 5-32. doi: 10.1201/9780429469275-8. * Ho, T.K. 1995. Random decision forests. Proc. Int. Conf. Doc. Anal. Recognition, ICDAR 1: 278-282. doi: 10.1109/ICDAR.1995.598994. * Jarquín, D., C. Lemes da Silva, R.C. Gaynor, J. Poland, A. Fritz, et al.~2017. Increasing Genomic-Enabled Prediction Accuracy by Modeling Genotype x Environment Interactions in Kansas Wheat. Plant Genome 10(2): plantgenome2016.12.0130. doi: 10.3835/plantgenome2016.12.0130. * Johnson, R.A., and D.W. Wichern. 2007. Applied Multivariate Statistical Analysis (6th Edition). De Maesschalck, R., D. Jouan-Rimbaud, and D.L. Massart. 2000. The Mahalanobis distance. Chemom. Intell. Lab. Syst. 50(1): 1-18. doi: 10.1016/S0169-7439(99)00047-7. * Mahalanobis, P.C. 1936. On the generalized distance in statistics. Natl. Inst. Sci. India. * Savitzky, A., and M.J.E. Golay. 1964. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 36(8): 1627-1639. doi: 10.1021/ac60214a047. * Shrestha, R., L. Matteis, M. Skofic, A. Portugal, G. McLaren, et al.~2012. Bridging the phenotypic and genetic data useful for integrated breeding through a data annotation using the Crop Ontology developed by the crop communities of practice. Front. Physiol. 3 AUG(August): 1-10. doi: 10.3389/fphys.2012.00326. * Vapnik, V.N. 2000. The Nature of Statistical Learning Theory. Springer New York, New York, NY. * Wold, S., A. Ruhe, H. Wold, and W.J. Dunn, III. 1984. The Collinearity Problem in Linear Regression. The Partial Least Squares (PLS) Approach to Generalized Inverses. SIAM J. Sci. Stat. Comput. 5(3): 735-743. doi: 10.1137/0905052. * Wold, S., M. Sjöström, and L. Eriksson. 2001. PLS-regression: a basic tool of chemometrics. Chemom. Intell. Lab. Syst. 58(2): 109-130. doi: 10.1016/S0169-7439(01)00155-1.
3310 \hypertarget{general-mixed-model-tool}{%
3311 \section{General Mixed Model Tool}\label{general-mixed-model-tool}}
3313 The general mixed model tool is available at /tools/mixedmodels and a link is provided from the Analyze menu.
3315 To use the mixed model tool, first create dataset using the Wizard containing the data that you would like to analyze.
3317 Select the Mixed Model tool from the Analyze menu.
3319 You are presented with a workflow. On the first step of the workflow, select the dataset that you wish to analyze, click on ``Choose dataset'' to continue.
3321 The second part of the workflow presents you with the traits in the dataset; you can select one or more traits from the lists using the select buttons. If you selected one trait, a bargraph of the trait distribution will be shown. Click the ``Next step'' button to move to the next screen.
3323 \begin{center}\includegraphics[width=0.95\linewidth]{assets/images/mixedmodel_tool_model_build_step} \end{center}
3325 On the model build screen, all the factors are displayed that are contained within the dataset. The factors are presented as a list of blue buttons that can be dragged using the mouse to areas on the screen which build a mixed model equation. The areas correspond to fixed factors, random factors, and optionally to more complex factors, such as fixed factors with interaction and fixe factors with vriable slope/intersects. Drag the available factors to the corresponding area. To calculate BLUPs for germplasm, drag the germplasmName button to the ``Random factors'' area. To calculate BLUEs, drag it to the ``Fixed factors'' area. The factors need to have different levels contained within them, for example, if there is only one trial in the dataset, it cannot be used as one of the factors. Click on ``Run analysis and got to next step'' to run the mixed model and display the results.
3327 The result view contains two tabs, one with the raw data, either BLUPS or BLUEs, and the other the adjusted means from the raw data.
3329 The results can be stored in the database as an analysis, by clicking the button provided on the top of the data.
3331 \hypertarget{genomic-prediction-of-cross-performance-gcpc}{%
3332 \section{Genomic Prediction of Cross Performance (GCPC)}\label{genomic-prediction-of-cross-performance-gcpc}}
3334 The GCPC tool is available at /tools/gcpc and a link is provided from the Analyze menu. The GCPC tool implements genomic prediction with additive and directional dominance in the linear mixed model to predict for cross performance.
3336 Before using the tool, first create a dataset using the Wizard containing the data that you would like to analyze. (The dataset should have genotyping\_protocols). Second, create Selection Indices for your traits using Selection Index in Analyze Menu.
3338 To use the tool, Select the GCPC tool from the Analyze menu.
3340 Then, select the dataset with genotyping\_protocols that you wish to analyze, click on ``Proceed to Factor Selection'' to load available factors that can be included in the model.
3342 Select the factors you wish to include in the model either as Fixed or Random. Click ``None'' for factors that you don't want to include in the model. Note that the ``germplasmName'' is factored as Random by default.
3344 The next step is to select the selection index for your traits on the dropdown menu.
3346 Once you are through, click ``Run GCPC'' to run the model. The output will be presented in form of a table with ``ID'', ``Parent1'', ``Parent2'' and their cross prediction merit organized in descending order. The results will also have sex information based on whether the dataset has plant sexes available in the database.
3348 \end{document}