-
Notifications
You must be signed in to change notification settings - Fork 1
3. Tutorial (Advanced Settings)
SIRIUS flags continued.
-
--soft_rscu_threshfloating point value >=0.0[Defaults to0.0if unspecified]- Specify if you would like to provide a soft cut-off for codons with an RSCU value under this threshold. Codons with an RSCU below this value might be excluded from the output genes. See the mathematical explanation below on how this flag behaves. Using this flag requires you to also specify the following:
-
-c, --codon_usage_fpathstring value [Defaults to this file if unspecified]- Path to the .csv file containing amino acid codes, their codons, and the respective RSCU values. See this file for an example.
-
-m, --max_low_rscu_ratiofloating point value between 0-1 [Defaults to0.3if unspecified]- See the section below.
-
-a, --rscu_alphafloating point value >=0[Defaults to10.0if unspecified]- See the section below.
-
- Specify if you would like to provide a soft cut-off for codons with an RSCU value under this threshold. Codons with an RSCU below this value might be excluded from the output genes. See the mathematical explanation below on how this flag behaves. Using this flag requires you to also specify the following:
-
-w, --num_workersinteger value >0[Defaults tomin(available cores, 32)if unspecified]- Specify the number of threads available to the Google OR-Tools solver. A value between 16-32 is ideal. Higher values may actually slow the solve.
-
-v, --show_ortools_logboolean value (true/false) [Defaults tofalseif unspecified]- When
true, outputs the Google OR-Tools logs. Shorthand is-vfor "verbose" because-swas taken :)
- When
-
-R, --relative_gap_limitfloating point value between [0-1) [Defaults to0.0if unspecified]- A larger value tells the solver to accept a sub-optimal solution. Only increase this (and slightly, perhaps starting with 0.1, which is 10%) if you are experiencing high solve times.
For each amino acid, codons with an RSCU value below the soft threshold are not excluded outright. Instead, their inclusion is governed by a probability function:
where --rscu_alpha.
Even if a low-RSCU codon is sampled multiple times due to random chance, its total number of uses is capped per amino acid. Specifically, it can appear in at most --max_low_rscu_ratio (e.g., 0.3 for 30%).
Low-RSCU codons are the ones the host likely disfavors (due to rare tRNAs, poor translation efficiency, etc.). But they may still be translated in small quantities.
This approach:
- Allows low-RSCU codons occasionally (for diversity / structure / synthesis flexibility)
- Softly discourages their use via probability
- Enforces a hard ceiling to avoid accidental overuse due to randomness
- Keeps higher-RSCU codons fully eligible without restriction
End of documentation. Now, go forth and FLY!