How to run the Type among Multiple Species (legacy) workflow

To run the workflow for one or more samples containing multiple species, go to

        Legacy Tools (Image legacy_tools) | Type among Multiple Species (legacy) (Image type_multiple_species_16_h_p)

  1. Specify the sample(s) or folder(s) of samples you would like to type (figure 24.33) and click Next. Remember that if you select several items, they will be run as batch units.

    Image legacy_typemultiplespeciessamples
    Figure 24.33: Select the reads from the sample(s) you would like to type.

  2. Specify the Result Metadata Table you want to use (figure 24.34) and click Next.

    Image legacy_multiple2
    Figure 24.34: Select the metadata table you would like to use.

  3. Define batch units using organisation of input data to create one run per input or use a metadata table to define batch units. Click Next.

  4. The next wizard window gives you an overview of the samples present in the selected folder(s). Choose which of these samples you want to analyze in case you are not interested in analyzing all the samples from a particular folder (figure 24.35).

    Image legacy_typemultiplespeciesbatch
    Figure 24.35: Choose which of the samples present in the selected folder(s) you want to analyze.

  5. You can specify a trim adapter list and set up parameters if you would like to trim your sequences from adapters. Specifying a trim adapter list is optional but recommended to ensure the highest quality data for your typing analysis (figure 24.36). Learn about trim adapter lists at http://resources.qiagenbioinformatics.com/manuals/clcgenomicsworkbench/current/index.php?manual=Trim_adapter_list.html.

    Image legacy_multiple3
    Figure 24.36: You can choose to trim adapter sequences from your sequencing reads.

    The parameters that can be set are:

    • Ambiguous trim: if checked, this option trims the sequence ends based on the presence of ambiguous nucleotides (typically N).
    • Ambiguous limit: defines the maximal number of ambiguous nucleotides allowed in the sequence after trimming.
    • Quality trim: if checked, and if the sequence files contain quality scores from a base-caller algorithm, this information can be used for trimming sequence ends.
    • Quality limit: defines the minimal value of the Phred score for which bases will not be trimmed.
    • Also search on reversed sequence: the adapter sequences will also be searched on reverse sequences.
    Click Next.

  6. Choose the species-specific references to be used by the Find Best Matches using K-mer Spectra tool (figure 24.37). The list can be a fully customized list, the downloaded bacterial genomes from NCBI list (see section 18.1.1) or a subset of it. Click Next.

    Image legacy_multiple4
    Figure 24.37: Specify the references for the Find Best Matches using K-mer Spectra tool.

  7. Specify MLST schemes to be used for the Identify MLST Scheme from Genomes tool so they correspond to corresponding to the chosen reference list(s) (figure 24.38).

    Image legacy_multiple7
    Figure 24.38: Specify the schemes that best describe your sample(s).

  8. Specify the resistance database (figure 24.39) and set the parameters for the Find Resistance with Nucleotide DB tool.

    Image legacy_multiple6
    Figure 24.39: Specify the resistance database to be used for the Find Resistance with Nucleotide DB tool.

    The parameters that can be set are:

    • Minimum Identity %: is the threshold for the minimum percentage of nucleotides that are identical between the best matching resistance gene in the database and the corresponding sequence in the genome.
    • Minimum Length %: reflect the percentage of the total resistance gene length that a sequence must overlap a resistance gene to count as a hit for that gene. Here represented as a percentage of the total resistance gene length.
    • Filter overlaps: will perform extra filtering of results per contig, where one hit is contained by the other with a preference for the hit with the higher number of aligned nucleotides (length * identity).

    Click Next.

  9. Specify the parameters for the Basic Variant Detection tool (figure 24.40) before clicking Next.

    Image legacy_multiple8
    Figure 24.40: Specify the parameters to be used for the Basic Variant Detection tool.

    The parameters that can be set are:

    • Ignore broken pairs: You can choose to ignore broken pairs by clicking this option.
    • Ignore non-specific matches: You can choose to ignore non-specific matches between reads, regions or to not ignore them at all.
    • Minimum read length: Only variants in reads longer than this size are called.
    • Minimum coverage: Only variants in regions covered by at least this many reads are called.
    • Minimum count: Only variants that are present in at least this many reads are called.
    • Minimum frequency %: Only variants that are present at least at the specified frequency (calculated as count/coverage) are called.
    • Base quality filter: The base quality filter can be used to ignore the reads whose nucleotide at the potential variant position is of dubious quality.
    • Neighborhood radius: Determine how far away from the current variant the quality assessment should extend.
    • Minimum central quality: Reads whose central base has a quality below the specified value will be ignored. This parameter does not apply to deletions since there is no "central base" in these cases.
    • Minimum neighborhood quality: Reads for which the minimum quality of the bases is below the specified value will be ignored.
    • Read direction filters: The read direction filter removes variants that are almost exclusively present in either forward or reverse reads.
    • Direction frequency %: Variants that are not supported by at least this frequency of reads from each direction are removed.
    • Relative read direction filter: The relative read direction filter attempts to do the same thing as the Read direction filter, but does this in a statistical, rather than absolute, sense: it tests whether the distribution among forward and reverse reads of the variant carrying reads is different from that of the total set of reads covering the site. The statistical, rather than absolute, approach makes the filter less stringent.
    • Significance %: Variants whose read direction distribution is significantly different from the expected with a test at this level, are removed. The lower you set the significance cut-off, the fewer variants will be filtered out.
    • Read position filter: It removes variants that are located differently in the reads carrying it than would be expected given the general location of the reads covering the variant site.
    • Significance %: Variants whose read position distribution is significantly different from the expected with a test at this level, are removed. The lower you set the significance cut-off, the fewer variants will be filtered out.
    • Remove pyro-error variants: This filter can be used to remove insertions and deletions in the reads that are likely to be due to pyro-like errors in homopolymer regions. There are two parameters that must be specified for this filter:
    • In homopolymer regions with minimum length: Only insertion or deletion variants in homopolymer regions of at least this length will be removed.
    • With frequency below: Only insertion or deletion variants whose frequency (ignoring all non-reference and non-homopolymer variant reads) is lower than this threshold will be removed.

  10. Specify the value for which you would like the Identify MLST tool to report low coverage (figure 24.41). Click Next.

    Image legacy_multiple9
    Figure 24.41: Specify when you would like low coverage to be reported for the Identify MLST tool.

  11. In the Result handling window, pressing the button Preview All Parameters allows you to preview - but not change - all parameters. Choose to save the results (we recommend to create a new folder to this effect) and click on the button labeled Finish.

The following outputs are generated. You can find them all in the new folder you created to save them (figure 24.42), but those marked with a (*) have also been added automatically to the New Metadata Result Table (see the section Example of results obtained using the Type a Known Species (legacy) workflow to understand where your results have been saved).

Image legacy_typemultiplespeciesoutput
Figure 24.42: Output files from the Type among Multiple Species (legacy) workflow.

In addition, an extra column in the Result Metadata Table called "Best match, average coverage" helps the user to decide if a best match is significant, well covered and of good quality. This is especially helpful when a sample has low quality but is not contaminated.