Bioworkflow: Collection of bio process and workflows implemented using Nexflow and Groovy.
Authors
- Ravin Poudel
Installation
Bioworkflow can be installed from::
The Github repository: https://github.com/ravinpoudel/Bioworkflow
Bioworkflow tree structure
π tree
ββ LICENSE
βββ README.md
βββ data
βΒ Β βββ metagenome
βΒ Β βββ rnaseq
βββ docker
βΒ Β βββ Dockerfile
βββ main.nf
βββ modules
βΒ Β βββ process
βΒ Β βΒ Β βββ bbtools
βΒ Β βΒ Β βΒ Β βββ decontam.nf
βΒ Β βΒ Β βΒ Β βββ interleave.nf
βΒ Β βΒ Β βΒ Β βββ trim.nf
βΒ Β βΒ Β βββ fastqc
βΒ Β βΒ Β βΒ Β βββ fastqc.nf
βΒ Β βΒ Β βββ multiqc
βΒ Β βΒ Β βΒ Β βββ multiqc.nf
βΒ Β βΒ Β βββ salmon
βΒ Β βΒ Β βΒ Β βββ index.nf
βΒ Β βΒ Β βΒ Β βββ quant.nf
βΒ Β βΒ Β βββ spades
βΒ Β βΒ Β βββ spades_ec.nf
βΒ Β βββ workflow
βΒ Β βββ metagenome-flow.nf
βΒ Β βββ rnaseq-flow.nf
βββ nextflow.config
βββ nf_functions
βΒ Β βββ examples.nf
βΒ Β βββ help.nf
βΒ Β βββ logMessages.nf
βΒ Β βββ paramsCheck.nf
βΒ Β βββ processHelp.nf
βββ process_config
βββ metagenome-flow.config
βββ rnaseq-flow.config
Dependencies
Dependencies are managed with docker container. Dockerfile
Usage
(base) π nextflow run main.nf --help
N E X T F L O W ~ version 21.04.1
Launching `main.nf` [crazy_miescher] - revision: e413f1e302
Bioworkflow: Collection of bio process and workflows implemented using Nexflow and Groovy.
Usage:
nextflow run main.nf [--help] [OPTIONS]
OPTIONS:
# General Parameters -- Mandatory
--workflow Name of the workfow [RNASEQFLOW, METAGENOMEFLOW]
--outdir <string> Output directory name
--threads <int> Number of threads to use
--read <string> String Pattern to find short reads. Example: SRR6307304_{1,2}.fastq
# Parameters for running RNASEQ workflow
--transcript <string> Mapping tanscriptome file. Example: transcriptome.fa
# TASKS RUN:
--> index
--> quantification
--> fastqc
--> multiqc
# Parameters for running METAGENOME workflow
--workflow Name of the workfow [METAGENOMEFLOW]
# TASKS RUN:
--> fastqc
--> multiqc
--> interleave
--> decontamination
--> trimming
--> cleanqc
--> cleanmultiqc
--> spadesEC
# TASKS RUN:
--> fastqc
--> multiqc
--> KneadData
--> cleanqc
--> cleanmultiqc
--> MetaPhlAn2
--> HUMAnN2
Examples
(base) π nextflow run main.nf --examples
N E X T F L O W ~ version 21.04.1
Launching `main.nf` [suspicious_gilbert] - revision: e413f1e302
Example Usages:
# Running RNASEQ workflow
nextflow run main.nf --workflow RNASEQFLOW --outdir results --threads 4 --reads "/Users/admin/Documents/Bioworkflow/data/rnaseq/gut_{1,2}.fq" --transcript "/Users/admin/Documents/Bioworkflow/data/ggal/transcriptome.fa" -with-docker ravin/bioworkflow
# Running METAGENOME workflow
nextflow run main.nf --workflow METAGENOMEFLOW --outdir results --threads 4 --reads "/Users/admin/Documents/Bioworkflow/data/metagenome/F*_R{1,2}.fastq.gz" -with-docker ravin/bioworkflow
Running RNASEQ workflow
# Running RNASEQ workflow
nextflow run main.nf \
--workflow RNASEQFLOW \
--outdir results \
--threads 4 \
--reads "/Users/admin/Documents/Bioworkflow/data/rnaseq/gut_{1,2}.fq" \
--transcript "/Users/admin/Documents/Bioworkflow/data/rnaseq/transcriptome.fa" \
-with-docker ravin/bioworkflow
Running METAGENOME workflow
# Running METAGENOME workflow
nextflow run main.nf \
--workflow METAGENOMEFLOW \
--outdir results \
--threads 4 \
--reads "/Users/admin/Documents/Bioworkflow/data/metagenome/F*_R{1,2}.fastq.gz" \
-with-docker ravin/bioworkflow
Getting tools specific help
Bioworkflow allows to pull the offical βhelp manual for the tools.
# Getting tools specific help
π nextflow run main.nf --fastqc_help
π nextflow run main.nf --multiqc_help
π nextflow run main.nf --bbtools_help