-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the GeneParliamentID wiki! This page offers a broad overview of the GeneParliamentID (GPID) pipeline. For details on the following topics, please visit the dedicated wiki pages:
- Setup
- Pipeline inputs
- Building a reference dataset
- Method calibration
- Interpretation of results
- Tutorial
GPID is a pipeline for multi-gene DNA barcoding.
Starting from a set of multipe genes for a sample of unknown identity, the pipeline implements several filtering and calibration steps to provide a species-level identification. The identification explictly takes conflicting identifications between different genes into account and is combined with a confidence estimate of the identification.
For optimal results, method calibration using the provided companion script and test samples of known identity is recommended.
- A set of multipe genes for a sample of unknown identity
- Reference data set containing the same genes for the lineage of interest
- Optional: calibration files to optimise pipeline performance
- Select genes with performance of species identification above user-defined threshold
- Align each gene against reference, select top match based on highest Bit-score
- Remove low-confidence matches that don't meet the user-defined alignment filtering thresholds
- Summarise all remaining identifications to the Gene Parliament
- Flag the sample as data-deficient if the number of genes (parliament size) is below the user-defined threshold
- Select identification with most support as the top identification
- Evaluate confidence in the top identification based on the percentage of genes supporting this identification
The pipeline produces three outputs Example outputs of a test sample of a tropical mahogany timber sample.
| Rank | Identification | Species Group | Support (%) | Support (count) |
|---|---|---|---|---|
| 1 | Entandrophragma angolense | Entandrophragma | 75.82 | 138 |
| 2 | Entandrophragma excelsum | Entandrophragma | 16.48 | 30 |
| 3 | Entandrophragma delevoyi | Entandrophragma | 3.85 | 7 |
| 4 | Entandrophragma congoense | Entandrophragma | 2.75 | 5 |
| 5 | Khaya ivorensis | Khaya | 0.55 | 1 |
| 5 | Swietenia humilis | Swietenia | 0.55 | 1 |
Includes data check and confidence estimate. The data check is a test whether the user-definied minimum parliament size is met. The confidence estimate is based on the support for the top identification and method calibration using a set of test samples.
- Probability correct: correct identification to species
- Probability close: correct identification to user-defined species group
- Probability wrong: incorrect identification
| Rank | Identification | Species Group | Support (%) | Support (count) | Parliament size (count) | Data check | Probabilty correct (%) | Probability close (%) | Probability wrong (%) |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Entandrophragma angolense | Entandrophragma | 75.82 | 138 | 182 | PASS | 100 | 0 | 0 |
To identify the optimal pipeline parameters for a given lineage, we strongly recommend conducting method calibration using the provided script. Method calibration also requires a set of test samples of known identity. The calibration script helps you to select the optimal parameters that balance accuracy of identification against retrievability of samples.
Method calibration includes the following steps:
- Select the optimal alignment filtering thresholds
- Calculate gene performance (percentage of correct identifications) following application of optimal alignment filters
- Select optimal gene performance thresholds
- Select threshold for minimum parliament size
- Estimate confidence of identification depending on the percentage of genes supporting the top identification