From samples best matches to a common reference for all

If several best matches are found across the samples, you probably want to find a common reference sequence to all (or a subset of) the samples. This can be done directly from your Metadata Result Table, by selecting the samples of interest and creating a K-mer Tree based on these samples (see figure 8.5).

Image quick_kmer
Figure 8.5: Once samples are selected in the top window, it is easy to find the associated Metadata Element files, Quick Filter towards generation of K-mer tree and finally initiate creation of K-mer tree to be used for identification of common reference sequence. From the same view, it is also possible to run a customized version of the Map to Specified Reference workflow with the selected elements.

  1. Select in your Metadata result Table the samples to which a common best matching reference should be identified.
  2. Click on the Find Associated Data (Image find_in_project_16_h_p) button to find their associated Metadata Elements.
  3. Click on the Quick Filtering (Image google_16_h_p) button and select the option Filter for K-mer Tree to find Metadata Elements with the Role = Trimmed Reads.
  4. Select the relevant Metadata Element files.
  5. Click on the With selected (Image select_16_h_p) button.
  6. Select the Create K-mer Tree action.

Once you have selected the Create K-mer Tree action, you can follow the wizard as described in the section called Create K-mer Tree. This section will also explain how to understand the tree and continue with subsequent analyses. In short, the common reference is chosen as the genome sharing the closest common ancestor with the clade of isolates under study in the k-mer tree.