Circdna
Pipeline for the identification of extrachromosomal circular DNA (ecDNA) from Circle-seq, WGS, and ATAC-seq data that were generated from cancer and other eukaryotic cells.
Install / Use
/learn @nf-core/CircdnaREADME
Introduction
nf-core/circdna is a bioinformatics best-practice analysis pipeline for the identification of extrachromosomal circular DNAs (ecDNAs) in eukaryotic cells. The pipeline is able to process WGS, ATAC-seq data or Circle-Seq data generated from short-read sequencing technologies. Depending on the input data and selected analysis branch, nf-core/circdna is able to identify various types of ecDNAs. This includes the detection of smaller ecDNAs, often referred to as eccDNAs or microDNAs, as well as larger ecDNAs that exhibit amplification. These analyses are facilitated through the use of prominent software tools that are widely recognized in the field of ecDNA or circular DNA research.
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. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!
On release, automated continuous integration tests run the pipeline on a full-sized dataset on the AWS cloud infrastructure. This ensures that the pipeline runs on AWS, has sensible resource allocation defaults set to run on real-world datasets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources.The results obtained from the full-sized test can be viewed on the nf-core website.
Pipeline summary
- Merge re-sequenced FastQ files (
cat) - Read QC (
FastQC) - Adapter and quality trimming (
Trim Galore!) - Map reads using BWA-MEM (
BWA) - Sort and index alignments (
SAMtools) - Choice of multiple ecDNA identification routes
Circle-Map ReadExtractor->Circle-Map RealignCircle-Map ReadExtractor->Circle-Map RepeatsCIRCexplorer2Samblaster->Circle_finderDoes not use filtered BAM file, specificied with --keep_duplicates false- Identification of circular amplicons
AmpliconArchitect - De Novo Assembly of ecDNAs
Unicycler->Minimap2
- Present QC for raw reads (
MultiQC)
Functionality Overview
A graphical view of the pipeline and its diverse branches can be seen below.
<p align="center"> <img src="docs/images/circdna_pipeline_metromap.png" alt="nf-core/circdna metromap" width="70%"> </p>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 testbefore running the workflow on actual data.
First, prepare a samplesheet with your input data that looks as follows:
samplesheet.csv:
FASTQ input data:
sample,fastq_1,fastq_2
CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz
BAM input data:
sample,bam
CONTROL_REP1,AEG588A1_S1_L002_R1_001.bam
Each row represents a pair of fastq files (paired end) or a single bam file generated from paired-end reads.
Now, you can run the pipeline using:
nextflow run nf-core/circdna --input samplesheet.csv --outdir <OUTDIR> --genome GRCh38 -profile <docker/singularity/podman/shifter/charliecloud/conda/institute> --circle_identifier <CIRCLE_IDENTIFIER> --input_format <"FASTQ"/"BAM">
Test AmpliconSuite-Pipeline with a test data-set
To test the correct installation of the pipeline and the use of AmpliconArchitect inside the AmpliconSuite-Pipeline, a small WGS data set is uploaded to AWS and can be downloaded and used with the parameter -profile test_AA_local. You just need to specify your local paths to the aa_data_repo and the mosek_license_dir. See AmpliconSuite-Pipeline for information about the data repository and the Mosek license. To note, the Mosek license file needs to be named mosek.lic inside the mosek_license_dir.
You can test the pipeline using:
nextflow run nf-core/circdna -profile test_AA_local,<docker/singularity/podman/shifter/charliecloud/conda/institute> --outdir <OUTDIR> --aa_data_repo <path/to/aa_data_repo/> --mosek_license_dir <path/to/mosek_license_directory/>
Available ecDNA identifiers
Please specify the parameter circle_identifier depending on the pipeline branch used for circular DNA identifaction. Please note that some branches/software are only tested with specific NGS data sets.
Identification of putative ecDNA junctions with ATAC-seq or Circle-seq data
circle_finderuses Circle_finder >circexplorer2uses CIRCexplorer2 >circle_map_realignuses Circle-Map Realign >circle_map_repeatsuses Circle-Map Repeats for the identification of repetetive ecDNA
Identification of amplified ecDNAs with WGS data
ampliconarchitectuses AmpliconArchitect inside the AmpliconSuite-Pipeline
De novo assembly of ecDNAs with Circle-seq data
unicycleruses Unicycler for de novo assembly of ecDNAs and Minimap2 for accurate mapping of the identified circular sequences.
[!WARNING] Please provide pipeline parameters via the CLI or Nextflow
-params-fileoption. Custom config files including those provided by the-cNextflow option can be used to provide any configuration except for parameters; see docs.
For more details and further functionality, please refer to the usage documentation and the parameter documentation.
Pipeline output
To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page. For more details about the output files and reports, please refer to the output documentation.
Credits
nf-core/circdna was originally writt
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
