• Overview
  • FASTQ+
  • PISA
  • Yano
  • My GitHub Page
  • Discussions
    • Workflows & Short cases
      • From FASTQ to counts
      • Annotate various features
      • Select cells from reduction maps
      • Alternative splicing analysis
      • Allele-specific gene expression analysis
      • Annotating genetic variants
      • Analysis multiple Visium samples
      • Cell trajectory analysis

    On this page

    • annoVAR
      • Description
      • Usage
      • Arguments
      • Value

    annoVAR

    Source code

    Description

    Annotate genetic variants with preload GTF and/or VCF databases. Will generate gene region and other tags.

    Usage

    annoVAR(
      object = NULL,
      assay = NULL,
      gtf = NULL,
      vcf = NULL,
      tags = NULL,
      check.alt.only = FALSE,
      chr = "chr"
    )
    

    Arguments

    object Seurat object.
    assay Work assay.
    gtf GTF object, load by gtf2db.
    vcf VCF database. Should be indexed with ‘bcftools index’ at first.
    tags Vector of tags to annotate. Require VCF database specified, and tags should be well formated in the VCF header. See VCF specification (https://samtools.github.io/hts-specs/VCFv4.2.pdf) for details.
    check.alt.only Only annotate records for alternative allele (non-ref allele). Default is FASLE.
    chr Colname name for chromsome, default is “chr”.

    Value

    Annotated Seurat object.

    Back to top