kb-nac.smk¶
Snakemake workflow for UMI counting from single-nucleus RNA-seq data with kb-python, a Python wrapper for kallisto and bustools.
Note
Please make sure that you have Singularity and Snakemake installed on your system and cloned the SnakeNgs repository.
Workflow¶
The rulegraph was created by snakevision.
- Build a kallisto index using the reference genome and transcriptome by
kb ref
with the parameter--workflow nac
. - Quantify UMI counts using
kb count
with the parameter--workflow nac --h5ad --gene-names --sum total --filter bustools --overwrite
.
Usage¶
1 2 3 4 5 |
|
config.yaml
should contain the following information:
1 2 3 4 5 |
|
experiment_table.tsv
should contain the following information:
1 2 3 4 |
|
R1
and R2
are comma-separated paths to the FASTQ files for read 1 and read 2, respectively.
technology
refer to the assay that generated the data. Supported assays are found inkb --list
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
-
reference_dna.fa
is the reference genome in FASTA format (e.g.,Homo_sapiens.GRCh38.dna_sm.primary_assembly.fa
). -
reference_transcriptome.gtf
is the reference transcriptome in GTF format (e.g.,Homo_sapiens.GRCh38.106.gtf
).
Please refer to the tutorial for more information.