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 refwith the parameter--workflow nac. - Quantify UMI counts using 
kb countwith the parameter--workflow nac --h5ad --gene-names --sum total --filter bustools --overwrite. - Summarize and generate a report for a filtered BUS file using 
bustools inspect. - Make summary statistics using MultiQC.
 
Usage¶
1 2 3 4 5  |  | 
config.yaml should contain the following information:
1 2 3 4 5  |  | 
experiment_table.tsvshould 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.
technologyrefer 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.fais the reference genome in FASTA format (e.g.,Homo_sapiens.GRCh38.dna_sm.primary_assembly.fa). - 
reference_transcriptome.gtfis the reference transcriptome in GTF format (e.g.,Homo_sapiens.GRCh38.106.gtf). 
Please refer to the tutorial for more information.