Sign inSign up

fmalmeida/ngs-preprocess

By fmalmeida

•Updated over 2 years ago

Docker image used by fmalmeida/ngs-preprocess pipeline for preprocessing NGS data.

Image
0

2.7K

fmalmeida/ngs-preprocess repository overview

DOI Releases Documentation Dockerhub Docker build Docker Pulls Nextflow version License

⁠ngs-preprocess pipeline

⁠A pipeline for preprocessing short and long sequencing reads

See the documentation »⁠

Report Bug⁠ · Request Feature⁠

⁠About

ngs-preprocess is an easy to use nextflow docker-based pipeline that uses state-of-the-art software for quality check and pre-processing ngs reads of Illumina, Pacbio and Oxford Nanopore Technologies and has only two dependencies: Docker⁠ and Nextflow⁠. It wraps up the following software:

⁠Further reading

This pipeline has two complementary pipelines (also written in nextflow) for genome assembly⁠ and prokaryotic genome annotation⁠ that can give the user a complete workflow for bacterial genomics analyses.

⁠Requirements

  • Unix-like operating system (Linux, macOS, etc)
  • Nextflow (version 20.01 or higher)
  • Java 8
  • Docker
    • Image: fmalmeida/ngs-preprocess

⁠Quickstart

  1. If you don't have it already install Docker⁠ in your computer.
    • After installed, you need to download the required Docker image

      docker pull fmalmeida/ngs-preprocess
      

Each release is accompanied by a Dockerfile in the docker folder. When using older releases, users can create the correct image using the Dockerfile that goes alongside with the release (Remember to give the image the correct name, as it is in dockerhub and the nextflow script). The latest release will always have its docker image in dockerhub.

  1. Install Nextflow (version 20.01 or higher):

    curl -s https://get.nextflow.io | bash
    
  2. Give it a try:

    nextflow run fmalmeida/ngs-preprocess --help
    

Users can get let the pipeline always updated with: nextflow pull fmalmeida/ngs-preprocess

⁠Documentation

⁠Usage

Users are advised to read the complete documentation »⁠

  • Complete command line explanation of parameters:
    • nextflow run fmalmeida/ngs-preprocess --help
  • See usage examples in the command line:
    • nextflow run fmalmeida/ngs-preprocess --examples
⁠Command line usage examples

Command line executions are exemplified in the manual⁠.

⁠Using the configuration file

All the parameters showed above can be, and are advised to be, set through the configuration file. When a configuration file is set the pipeline is run by simply executing nextflow run fmalmeida/ngs-preprocess -c ./configuration-file

Your configuration file is what will tell to the pipeline the type of data you have, and which processes to execute. Therefore, it needs to be correctly set up.

Create a configuration file in your working directory:

  • Complete config:

    nextflow run fmalmeida/ngs-preprocess --get_full_config
    
  • For Illumina data:

    nextflow run fmalmeida/ngs-preprocess --get_illumina_config
    
  • For Pacbio data:

    nextflow run fmalmeida/ngs-preprocess --get_pacbio_config
    
  • For ONT data:

    nextflow run fmalmeida/ngs-preprocess --get_ont_config
    
⁠Interactive graphical configuration and execution
⁠Via NF tower launchpad (good for cloud env execution)

Nextflow has an awesome feature called NF tower⁠. It allows that users quickly customise and set-up the execution and configuration of cloud enviroments to execute any nextflow pipeline from nf-core, github (this one included), bitbucket, etc. By having a compliant JSON schema for pipeline configuration it means that the configuration of parameters in NF tower will be easier because the system will render an input form.

Checkout more about this feature at: https://seqera.io/blog/orgs-and-launchpad/⁠

⁠Via nf-core launch (good for local execution)

Users can trigger a graphical and interactive pipeline configuration and execution by using nf-core launch⁠ utility. nf-core launch will start an interactive form in your web browser or command line so you can configure the pipeline step by step and start the execution of the pipeline in the end.

# Install nf-core
pip install nf-core

# Launch the pipeline
nf-core launch fmalmeida/ngs-preprocess

It will result in the following:

⁠Citation

To cite this tool please refer to our Zenodo tag or directly via the github url.

Users are encouraged to cite the programs used in this pipeline whenever they are used. They are: FastQC⁠, TrimGalore⁠, FLASH⁠, Lighter⁠, Porechop⁠, pycoQC⁠, bax2bam⁠, bam2fastq⁠, lima⁠, pacbio ccs⁠ and NanoPack⁠.

Tag summary

Content type

Image

Digest

Size

2 GB

Last updated

about 5 years ago

docker pull fmalmeida/ngs-preprocess