Kmermaid
k-mer similarity analysis pipeline
Install / Use
/learn @nf-core/KmermaidREADME
Introduction
nf-core/kmermaid is a bioinformatics pipeline that performs comparative analysis of *omes using k-mer based methods. It supports various reference and sequencing input formats, and provides statistics files along with a MultiQC report as output. It provides pre-processing methods for reads and alignments.
<!-- TODO nf-core: Include a figure that guides the user through the major workflow steps. Many nf-core workflows use the "tube map" design for that. See https://nf-co.re/docs/contributing/design_guidelines#examples for examples. -->In the outline below, every step except for the main analysis is optional and might be input-dependent.
Optional – BAM preprocessing
-
Extract BAM from 10X archive (
tar) -
Extract FASTQ reads (
samtools) -
Split reads per cell (
grep) -
Count UMIs per cell (
pbtk) -
Download SRA experiment () [optional]
Optional – read preprocessing
k-mer analysis per method
-
Create sketch
-
Calculate distances
-
Present the results (
MultiQC)
[!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.
Usage
With a samples.csv file
nextflow run nf-core/kmermaid --outdir s3://bucket/sub-bucket --samples samples.csv
With R1, R2 read pairs
nextflow run nf-core/kmermaid --outdir s3://olgabot-maca/nf-kmer-similarity/ \
--read_pairs 's3://bucket/sub-bucket/*{R1,R2}*.fastq.gz,s3://bucket/sub-bucket2/*{1,2}.fastq.gz'
With SRA ids
nextflow run nf-core/kmermaid --outdir s3://bucket/sub-bucket --sra SRP016501
With fasta files
nextflow run nf-core/kmermaid --outdir s3://bucket/sub-bucket \
--fastas '*.fasta'
With bam file
nextflow run nf-core/kmermaid --outdir s3://bucket/sub-bucket \
--bam 'possorted_genome_bam.bam'
With split kmer
nextflow run nf-core/kmermaid --outdir s3://bucket/sub-bucket --samples samples.csv --split_kmer --subsample 1000
Credits
nf-core/kmermaid was originally written by Olga Botvinnik. The DSL2 port is done by Igor Trujnara.
We thank the following people for their extensive assistance in the development of this pipeline:
<!-- TODO nf-core: If applicable, make list of people who have also contributed -->Contributions and Support
If you would like to contribute to this pipeline, please see the contributing guidelines.
For further information or help, don't hesitate to get in touch on the Slack #kmermaid channel (you can join with this invite).
Citations
<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. --> <!-- If you use nf-core/kmermaid for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) --><!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
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.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate 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
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
