Running NextPyper
At its most basic usage, you need to provide NextPyper the following arguments:
- The sample table (via
--input). - The probes (via
--probes). - An output directory (via
--output). - And whether it’s dealing with
--single-probesor--multi-probes.- For
--multi-probes, you must specify an appropriate RegEx pattern (via--pattern), the same you used to prepare your probes. - For
--single-probesyou don’t need to specify a pattern.
- For
nextpyper run --threads 16 --single-probes --input input_samples.tsv --probes custom_probes.fasta --output out_singlenextpyper run --threads 16 --input input_samples.tsv --probes kew_probes.fasta --pattern "(\d+)$" --output out_multiSince NextPyper uses snakemake to orchestrate the workflow, you can pass additional snakemake arguments as extra arguments. For instance, a very useful snakemake argument to use is --dry-run, which allows to test if NextPyper workflow will run succesfully without actually starting the heavy computation.
nextpyper run --threads 16 --single-probes --input input_samples.tsv --probes custom_probes.fasta --output out_single --dry-run