8000 GitHub - CLIMB-TRE/chimera · GitHub
[go: up one dir, main page]

Skip to content
CLIMB-TREPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

CLIMB-TRE/chimera

GitHub Actions CI Status GitHub Actions Linting StatusCite with Zenodo nf-test

Nextflow nf-core template version run with conda run with docker run with singularity Launch on Seqera Platform

Introduction

CLIMB-TRE/chimera is a bioinformatics pipeline for profiling Illumina and Nanopore (ONT) sequencing reads against a curated reference database and flagging how confidently each detected reference is actually supported by the read data. It runs sylph for fast taxonomic profiling of raw reads, aligns reads to the reference database with minimap2 (ONT) or bwa-mem2 (Illumina), and combines per-reference coverage and alignment-quality statistics into a scored confidence report — helping to distinguish genuine hits from cross-mapping, contamination, or other low-confidence alignments.

The pipeline:

  1. Profiles each sample's taxonomic composition against a sylph database (SYLPH_PROFILE)
  2. Aligns reads to a reference database with minimap2 (ONT) or bwa-mem2 (Illumina) (MINIMAP2_ALIGN/BWAMEM2_MEM)
  3. For Illumina data, expands multi-mapping loci into full secondary alignment records with sequence filled in (FILL_SECONDARY_SEQ)
  4. Optionally filters out reads with a low proportion of aligned bases (FILTER_BAM)
  5. Computes per-base, per-reference depth of coverage (SAMTOOLS_DEPTH)
  6. Resolves the sylph profile's reference genomes to NCBI taxIDs (SYLPH_TAXONOMY)
  7. Produces a per-reference alignment report with configurable confidence scoring (ALIGNMENT_REPORT)

Usage

Note

If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.

First, prepare a samplesheet with your input data that looks as follows:

samplesheet.csv:

sample,platform,fastq_1,fastq_2
CONTROL_REP1,illumina,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz

Each row represents a fastq file (platform of ont or illumina.se) or a pair of fastq files (platform of illumina). See docs/usage.md for the full samplesheet specification and for the reference database parameters (--mm2_index, --bwa_index_prefix, --sylph_db, --sylph_taxdb, --database_metadata) the pipeline requires.

Now, you can run the pipeline using:

nextflow run CLIMB-TRE/chimera \
   -profile <docker/singularity/.../institute> \
   --input samplesheet.csv \
   --outdir <OUTDIR> \
   --mm2_index /path/to/reference.mmi \
   --bwa_index_prefix /path/to/reference.fa \
   --sylph_db /path/to/reference.syldb \
   --sylph_taxdb /path/to/sylph_taxdb.tsv \
   --database_metadata /path/to/database_metadata.tsv

Warning

Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.

Credits

CLIMB-TRE/chimera was originally written by biowilko.

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

Citations

An extensive list of references for the tools 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 community, reused here under the MIT license.

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.

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0