Skip to content

nac workflow and BAM output in kb-python v0.30.0: #305

@asmlgkj

Description

@asmlgkj

Hi, thanks for the great tool!

I have a few questions about the nac workflow and BAM output in kb-python v0.30.0:

Questions

  1. For RNA velocity analysis, should I use the nac workflow to build the reference index?

    I understand that RNA velocity requires separate quantification of spliced (mature) and unspliced (nascent) transcripts. Is the nac workflow the recommended approach for this?

  2. Does the nac workflow also support standard gene expression quantification?

    In other words, does nac encompass all the functionality of the standard workflow? Or do I need to build two separate indices if I want both standard counts and velocity-compatible counts?

  3. Can the BAM file generated by the latest kb-python be used for RNA velocity analysis?

    I noticed that recent versions support BAM output. Is this BAM file compatible with RNA velocity tools like scVelo or velocyto? Does it contain the necessary information to distinguish spliced/unspliced reads?

  4. Could you provide an example command for building a nac index and running count for RNA velocity analysis?

    For example, something like:

   # Build nac index
   kb ref --workflow nac \
       -i index.idx \
       -g t2g.txt \
       -f1 cdna.fa \
       -f2 nascent.fa \
       -c1 cdna_t2c.txt \
       -c2 nascent_t2c.txt \
       genome.fa genes.gtf

   # Count with nac workflow
   kb count --workflow nac \
       -i index.idx \
       -g t2g.txt \
       -c1 cdna_t2c.txt \
       -c2 nascent_t2c.txt \
       -x 10xv3 \
       -o output \
       R1.fastq.gz R2.fastq.gz

Is this correct? What additional parameters are needed for BAM output?

Environment

  • kb-python version: 0.30.0
  • OS: Linux (ubuntu)

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions