From b9fb6ee3d706030421c55f12c7e41ef312287ba0 Mon Sep 17 00:00:00 2001 From: Jared Johnson <134550566+DOH-JDJ0303@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:28:16 -0800 Subject: [PATCH] Update README.md --- README.md | 71 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 53 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index c899978..ce1ef2c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ## Introduction -**VAPER (Viral Assembly from Probe-based EnRichment)** creates consensus-based assemblies from probe enrichment (a.k.a hybrid capture/enrichment) sequence data. One strength is that it can handle samples containing multiple viral species and/or variants. In the case that multiple viruses are present, VAPER will generate a consensus assembly for each, so long as an appropriate reference genome is supplied and the estimated genome fraction exceeds the user defined threshold (default: 70%). To ensure all relevant species are captured, VAPER also supplies a summary of all viral sequences in the sample using Kraken2. +**VAPER (Viral Assembly from Probe-based EnRichment)** creates consensus-based assemblies from probe enrichment (a.k.a hybrid capture/enrichment) sequence data. One strength is that it can handle samples containing multiple viral species and/or variants. In the case that multiple viruses are present, VAPER will generate a consensus assembly for each, so long as an appropriate reference genome is supplied and the estimated genome fraction exceeds the user defined threshold (default: 80%). To ensure all relevant species are captured, VAPER also supplies a summary of all viral sequences in the sample using Kraken2. ## Usage @@ -22,32 +22,72 @@ to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/i with `-profile test` before running the workflow on actual data. ::: - - -Now, you can run the pipeline using: - - - +### Step 3: Run VAPER +Run VAPER using the command below, making adjustments where necessary. ```bash nextflow run DOH-JDJ0303/VAPER \ -profile \ --input samplesheet.csv \ + --refs $PWD/refs.tar.gz \ + --refs_meta $PWD/refs-meta.csv \ + --k2db $PWD/k2_viral_20231009.tar.gz \ --outdir ``` +### Step 4: Fine tuning your assembly +Adjust one or more of the options below to fine-tune your assembly. +``` +options: +--gen_frac Minimum genome fraction for an assembly to be created (Default: 0.8) +--assembler Assembler to use for Shovill (skesa, spades, velvet, or megahit) (Default: spades) +--min_contig_cov Minimum contig coverage for Shovill (Default: 2) +--min_contig_len Minimum contig length for Shovill (Default: 100) +--gsize Approx. genome size for Shovill (Default: 1.0M) +``` :::warning Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those @@ -55,13 +95,8 @@ provided by the `-c` Nextflow option can be used to provide any configuration _* see [docs](https://nf-co.re/usage/configuration#custom-configuration-files). ::: -For more details and further functionality, please refer to the [usage documentation](https://nf-co.re/waphlviral/usage) and the [parameter documentation](https://nf-co.re/waphlviral/parameters). - ## Pipeline output -To see the results of an example test run with a full size dataset refer to the [results](https://nf-co.re/waphlviral/results) tab on the nf-core website pipeline page. -For more details about the output files and reports, please refer to the -[output documentation](https://nf-co.re/waphlviral/output). ## Credits