Workflow parameters
NextPyper’s internal parameters are governed by a central YAML configuration file (config.yaml). While default settings should work well for most target capture datasets, advanced users can customize them to their needs.
Modifying the configuration
To modify default parameters:
Generate a copy of the default configuration file in your project directory using
nextpyper config:nextpyper config --output my_outdirEdit
my_outdir/config.yamlwith your desired parameter adjustments.Specify
--output my_outdirwhen runningNextPyperto use your custom config file:nextpyper run --output my_outdir ...
Default config.yaml reference
Below is the active default configuration template used by NextPyper:
# Namespaced config file example
nextpyper:
args: # Command line args will be (over)written here at runtime
input:
output:
probe_pattern: (\d{4})$
multi_probes:
# Add customisable config here
pipeline:
preprocessing:
trim_qual: 30
min_len: 75
probes_translation:
translated_prop: 0.95
stop_per_1Kbp: 2
min_exon_length: 20
spades:
k: auto
scaffolds_extension:
filter_low_dp_comps: true
floor_len_extension: 3000
ceiling_len_extension: 6000
probe_len_scaling: 3
max_intron_size: auto
max_extensions: 5
seeds:
min_sister_sample_freq: 0.5
cov_by_mapping: true
saute:
heuristic:
primary_target_depth: 15
secondary_target_depth: 30
k1_min: 0.35
k1_max: 0.6
k2_min: 0.1
k2_max: 0.2
k1_floor: 49
k2_floor: 21
assembly:
target_cov: 0.2
secondary_kmer_threshold: 3
reassembly:
k1_rescaling: 0.7
target_cov: 0.5
secondary_kmer_threshold: 3
max_variants: 10
expected_homologs_per_ploidy: 1
diamond_matching:
fields: 'qseqid evalue qstart qend qlen sstart send slen sseqid gapopen nident mismatch'
sensitivity: '--ultra-sensitive'
evalue: 1.000E-6
max_hsps: 20
min_orf_len: 15
gapopen: 13
frameshift: 15
homolog_filtering:
seeds:
max_gc: 0.6
min_gc: 0.2
cov_threshold: 4
cov_dynamic_filt: False
scf_min_cov: 0.0
scf_min_idt: 0.6
homologs:
max_gc: 0.6
min_gc: 0.2
cov_threshold: 2
cov_dynamic_filt: true
scf_min_cov: 0.1
scf_min_idt: 0.6
divergence_estimation:
min_cov: 0.5
flatenning_prop: 0.1
region_separation:
enforce_global_idt_threshold: False
min_global_identity: 0.85
min_fragment_cov: 0.1
min_exonic_length: 10
max_intron_length: 1000
mafft_params: '--auto --reorder'