Skip to main content

nextpyper run

Run NextPyper’s workflow

nextpyper run [OPTIONS] [SNAKE_ARGS]...
Full --help output
nextpyper run --help 
                                                                                
 Usage: nextpyper run [OPTIONS] [SNAKE_ARGS]...                                 
                                                                                
 Run NextPyper's workflow                                                       
                                                                                
╭─ Basic usage ────────────────────────────────────────────────────────────────╮
│ *  --input                         PATH  Input sample table [required]       │
│ *  --probes                        PATH  Probes used in the experiment       │
│                                          (fasta) [required]                  │
│    --output                        PATH  Output directory [default:          │
│                                          nextpyper.out]                      │
│    --multi-probes/--single-probes        Whether the probe set has multiple  │
│                                          or a single sequence per probe      │
│                                          [default: multi-probes]             │
│    --pattern                       TEXT  For multi-probes, pattern used to   │
│                                          group the probe sequences (RegEx).  │
│                                          It needs one capture group.         │
│                                          [default: (.*)]                     │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Chloroplast filtering ──────────────────────────────────────────────────────╮
│ --use-ref-cps/--no-ref-cps        Download plastid references for cpDNA      │
│                                   filtering. [default: use-ref-cps]          │
│ --ref-cps                   TEXT  Comma separated list of reference plastids │
│                                   to download for cp filtering. Check        │
│                                   cps_seqids.csv for a full list of values.  │
│                                   [default: Ambtr,Arath,Orysa,UMUL,RQNK]     │
│ --custom-cps                PATH  Custom cps to use for cpDNA filtering      │
│                                   (fasta).  These cps are used in addition   │
│                                   to the ref cps.                            │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Advanced usage ─────────────────────────────────────────────────────────────╮
│ --interseeds                 [all|sister|none]  Which inter-sample seeds to  │
│                                                 use for SAUTE assembly.      │
│                                                 Interseeds  help to boost    │
│                                                 probe recovery at the        │
│                                                 expense of higher            │
│                                                 computation time during      │
│                                                 assembly. The default        │
│                                                 'sister' infers              │
│                                                 sister-samples that are      │
│                                                 likely the most informative  │
│                                                 to  get inter-sample seeds   │
│                                                 from. [default: sister]      │
│ --reasm-tribble-probes/--no                     Whether to reassemble the    │
│ -reasm                                          most complex                 │
│                                                 ("tribble-inducing") probes  │
│                                                 found in each sample. This   │
│                                                 second assembly is tailored  │
│                                                 to better resolve such       │
│                                                 complexity. [default:        │
│                                                 reasm-tribble-probes]        │
│ --use-ploidy/--no-ploidy                        Whether to use the ploidy    │
│                                                 information from the         │
│                                                 samples. An extra ploidy     │
│                                                 column is expected in the    │
│                                                 input sample table. Ploidy   │
│                                                 is  used to inform the       │
│                                                 expected number of homologs. │
│                                                 [default: no-ploidy]         │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Snakemake options ──────────────────────────────────────────────────────────╮
│ --use-conda/--no-use-conda           Use conda for Snakemake rules [default: │
│                                      use-conda]                              │
│ --conda-prefix              PATH     Custom conda env directory              │
│ --snake-default             TEXT     Customise Snakemake runtime args        │
│                                      [default: --printshellcmds, --nolock,   │
│                                      --show-failed-logs]                     │
│ --threads                   INTEGER  Number of threads to use [default: 1]   │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --configfile      TEXT  Custom config file                                   │
│ --help        -h        Show this message and exit.                          │
╰──────────────────────────────────────────────────────────────────────────────╯

Arguments

SNAKE_ARGS: TEXT
Optional.

Options

--input: PATH
Required. Input sample table
--output: PATH = nextpyper.out
Output directory
--probes: PATH
Required. Probes used in the experiment (fasta)
--pattern: TEXT = (.*)
For multi-probes, pattern used to group the probe sequences (RegEx). It needs one capture group.
--multi-probes, --single-probes
Whether the probe set has multiple or a single sequence per probe
--no-ploidy, --use-ploidy
Whether to use the ploidy information from the samples. An extra ploidy column is expected in the input sample table. Ploidy is used to inform the expected number of homologs.
--interseeds: CHOICE = sister
Which inter-sample seeds to use for SAUTE assembly. Interseeds help to boost probe recovery at the expense of higher computation time during assembly. The default sister infers sister-samples that are likely the most informative to get inter-sample seeds from.
--no-reasm, --reasm-complex-probes
Whether to reassemble the most complex (“explosive”) probes found in each sample. This second assembly is tailored to better resolve such complexity.
--no-ref-cps, --use-ref-cps
Download reference chloroplasts for cpDNA filtering.
--ref-cps: TEXT = Ambtr,Arath,Orysa,UMUL,RQNK
Comma separated list of reference chloroplasts to download for cp filtering. Check cps_seqids.csv for a full list of values.
--custom-cps: PATH
Custom cps to use for cpDNA filtering (fasta). These cps are used in addition to the ref cps.
--configfile: TEXT = config.yaml
Custom config file [default: (outputDir)/config.yaml]
--threads: INTEGER = 1
Number of threads to use
--use-conda, --no-use-conda
Use conda for Snakemake rules
--conda-prefix: PATH = /home/sivico/Documents/Projects/Ibot/M2B_IBOT/NextPyper/nextpyper/workflow/conda
Custom conda env directory
--snake-default: TEXT = [‘–printshellcmds’, ‘–nolock’, ‘–show-failed-logs’]
Customise Snakemake runtime args