PolarsRows673Columns3 | |||
1kp str |
Species str |
seqid i64 |
|
|---|---|---|---|
| 0 | QUTB | Aextoxicon punctatum | 1600729034 |
| 1 | HAEU | Berberidopsis beckleri | 1600729034 |
| 2 | IWMW | Buxus sempervirens | 2120477204 |
| 3 | EHNF | Dillenia indica | 1693290177 |
| 4 | OKEF | Hibbertia grossulariifolia | 1693290177 |
| 5 | XMQO | Gunnera manicata | 1133408614 |
| 6 | VQFW | Platanus occidentalis | 114329725 |
| 7 | GRRW | Grevillea robusta | 2127894788 |
| 8 | SIIK | Hakea drupacea | 712911575 |
| 9 | RQUG | Hakea prostrata | 712911575 |
Run options
Plastid cleaning
Before starting the assembly, NextPyper preprocess and cleans the reads from plastids by mapping them to a selected set of references. You can control what references are used with --ref-cps.
For convinience, NextPyper uses the 1KP sampleIDs, to quickly select one or multiple plastids to use. You can explore the list of 1KP and NCBI plastid seqids in the table below:
1KP IDs
You can use any comma-separated list of 1KP IDs you prefer using --ref-cps. By default, the set of Ambtr,Arath,Orysa,UMUL,RQNK is used, which covers the major Angiosperms clades.
If none of the plastid reference on the above list suits your dataset, you can provide your own plastid references using --custom-cps.
Since the cleaning step is reference agnostic, you could also use --custom-cps to give any sequences you want to filter your samples with (e.g. rRNA). However, the impact this may have in your samples comes at your own risk.
Part of NextPyper secret to achieve high sensitivity is to consider almost all reads at assembly, and then keep only the components that are on target. We believe excluding data prior to this stage, with less resolution, is more likely to lead to undesired data loss.
You can also turn off this mapping filtering step entirely by using --no-ref-cps.
Interseeds
You can control how seeds are shared across samples using --interseeds <mode>:
sister(Default): Automatically infers sister samples and shares high-quality seeds among genetically close accessions. Recommended for balancing sensitivity and speed.all: Pools seeds collected across all dataset samples. Offers maximum sensitivity for rescuing low-coverage loci in difficult samples.none: Disables inter-sample seed gathering. Each sample is assembled strictly using its own seeds.
For a detailed explanation of seed harvesting, see Seeds & Interseeds.
Reassembly
To mitigate tribble generation, after SAUTE assembly, NextPyper evaluates the probes that created tribbles and proceeds to isolate and reassemble them with more stringent assembly parameters. This allows to better resolve and/or simplify many of the tribbles originally found.
You can turn off this feature by using the --no-reasm option. This will make the workflow to run faster, at the expense of getting more sequences coming from tribbles, which could be chimeric.
Ploidy
By default, NextPyper operates in a ploidy-agnostic manner to retrieve sample sequences. However, ploidy information can be provided to adjust the number of homologs that are expected to be present in a sample. This will affect the threshold to determine which components are considered tribbles, and how many sequences to keep when capping those components.
Sample ploidy information can be provided in the 4th column of your sample table.
--use-ploidy: Takes into account the expected ploidy level of each sample to guide the maximum number of expected homoeologous variants retained during variant capping.--no-ploidy(Default): Ignores sample ploidy column information.NextPyperwill use the parametermax_variantsto determine what components are tribbles and the threshold to cap them.
Setting ploidy to 0 implies that the sample has no ploidy information and will be treated as in the ploidy-agnostic setting. You can mix samples with 0 with samples with known ploidy if you want to treat them differently.
Default NextPyper settings strive for maximum sensitivity, so that the user gets all the sample homologs even at the expense of some noise (e.g. uninformative allelic variants). In other words, default NextPyper settings strive to minimize false negatives. We believe it is easier for the user to remove this noise downstream, than trying to recover homologs that remained unassembled.
Since ploidy information affects what components are considered tribbles and the threshold to cap them (see tribbles), using it will affect the sequences that are output.