__
oooooo oooo oo 88 88 .o8o. oo ooo
`888. .8' `' 88 ss 88 88 `" `' `88
`888. .8' ooo ooood8b o888o 88__88 ooooo8b o888o o88o ooo 88 .oooo. ooooo8b
`888. .8' `88 88""8P d8' `8b || 88""8P d8' `8b 88 `88 88 d8' `8b 88""8P
`888.8' 88 88 88 88 _||_ 88 88 88 88 88 88 888ooo88 88
`888' 88 88 88 88 // || \\ 88 88 88 88 88 88 88 .o 88
`8' o88o o88b o888o // \\ d88b o888o o88o o88o o88o `Y8bd8P' 088b
ViroProfiler is a bioinformatics best-practice analysis pipeline for viral metagenomics data analyses.
The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible.
-
Install
Nextflow
(>=21.10.3
) -
Install
Singularity
(you can follow this tutorial) orDocker
. OtherPodman
,Shifter
orCharliecloud
for full pipeline reproducibility. However, onlyDocker
andSingularity
were tested. (you can useConda/Mamba
both to install Nextflow itself and also to manage software within pipelines. Please only use it within pipelines as a last resort; see docs). -
Download the pipeline and database.
nextflow run deng-lab/viroprofiler -profile <YOURPROFILE> # ex. # nextflow run deng-lab/viroprofiler -profile singularity
By default, database will be downloaded to the
$HOME/viroprofiler
directory. You can change database path using the--db
parameter. For example, if you want to download the database to/db/path
directory, you can run the pipeline as follows:nextflow run deng-lab/viroprofiler -profile <YOURPROFILE> --db /db/path
- If you are using
Singularity
, please set theNXF_SINGULARITY_CACHEDIR
orsingularity.cacheDir
Nextflow options enables you to store and re-use the images from a central location for future pipeline runs. - If you are using
Docker
, please replace the profile withdocker
:-profile docker
.
- If you are using
-
Test the pipeline on a minimal dataset,
nextflow run deng-lab/viroprofiler -profile test,<YOURPROFILE> # ex. # nextflow run deng-lab/viroprofiler -profile test,singularity
Note that some form of configuration will be needed so that Nextflow knows how to fetch the required software. This is usually done in the form of a config profile (
YOURPROFILE
in the example command above). You can chain multiple config profiles in a comma-separated string.- The pipeline comes with config profiles called
docker
,singularity
,podman
,shifter
,charliecloud
andconda
which instruct the pipeline to use the named tool for software management. For example,-profile test,docker
. - Please check nf-core/configs to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use
-profile <institute>
in your command. This will enable eitherdocker
orsingularity
and set the appropriate execution settings for your local compute environment.
- The pipeline comes with config profiles called
-
Start running your own analysis!
You may create a config file to customize the parameters of the pipeline and use
-c
to load the config. Please check custom.config for an example.You can also specify the parameters in a file and use
-params-file
to load the parameters. Please check params.yml for an example.nextflow run deng-lab/viroprofiler --input samplesheet.csv -c custom.config -params-file params.yml -profile <docker/singularity/podman/shifter/charliecloud/conda/institute> # ex. # nextflow run deng-lab/viroprofiler --input samplesheet.csv -c custom.config -params-file params.yml -profile slurm,singularity
nextflow pull deng-lab/viroprofiler
Please refer to the documentation page.
ViroProfiler was originally written by Jinlong Ru.
We thank the following people for their extensive assistance in the development of this pipeline:
- ...
If you would like to contribute to this pipeline, please see the contributing guidelines.
For further information or help, please open an issue.
If you use ViroProfiler for your analysis, please cite the publication as follows:
ViroProfiler: a containerized bioinformatics pipeline for viral metagenomic data analysis
Jinlong Ru, Mohammadali Khan Mirzaei, Jinling Xue, Xue Peng, Li Deng
[journal]
An extensive list of references for the tools and data used by the pipeline can be found in the CITATIONS.md
file.
This pipeline uses code and infrastructure developed and maintained by the nf-core initative, and reused here under the MIT license. You can cite the nf-core
publication as follows:
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.