SNPEFF(1)

πŸ’– snpEff(1) β€” the genetic variant annotation & effect prediction toolbox πŸ’–

okay bestie, sit down, hydrate, and let me tell you about snpEff. It's a genetic variant annotation and effect prediction toolbox, and honestly? It's giving main character energy for your whole variant-calling pipeline. ✨


🌸 SYNOPSIS 🌸

snpEff [command] [options] [files]

That's it. That's the whole shape of it: you pick a command, you throw in some options, you point it at some files, and she goes. πŸ¦‹


πŸ‘‘ AVAILABLE COMMANDS πŸ‘‘

Every single one of these is a legit thing you can ask snpEff to do. No skips, no shortcuts, we're doing all of them:

  • [err|ann] β€” Annotate variants / calculate effects (you can use either 'ann' or 'eff', they mean the same). Default: ann (no command or 'ann').
  • build β€” Build a SnpEff database.
  • buildNextProt β€” Build a SnpEff for NextProt (using NextProt's XML files).
  • cds β€” Compare CDS sequences calculated from a SnpEff database to the one in a FASTA file. Used for checking databases correctness.
  • closest β€” Annotate the closest genomic region.
  • count β€” Count how many intervals (from a BAM, BED or VCF file) overlap with each genomic interval.
  • databases β€” Show currently available databases (from local config file).
  • download β€” Download a SnpEff database.
  • dump β€” Dump to STDOUT a SnpEff database (mostly used for debugging).
  • genes2bed β€” Create a bed file from a genes list.
  • len β€” Calculate total genomic length for each marker type.
  • pdb β€” Build interaction database (based on PDB data).
  • protein β€” Compare protein sequences calculated from a SnpEff database to the one in a FASTA file. Used for checking databases correctness.
  • seq β€” Show sequence (from command line) translation.
  • show β€” Show a text representation of genes or transcripts coordinates, DNA sequence and protein sequence.
  • translocReport β€” Create a translocations report (from VCF file).

Sixteen commands. Sixteen! We love a multi-talented icon. πŸ’…


✨ OPTIONS ✨

πŸŽ€ Generic options

The everyday fits-and-starts, the little quality-of-life levers:

  • -c , -config β€” Specify config file. Default: ~/.snpEff/snpEff.config
  • -configOption name=value β€” Override a config file option
  • -d , -debug β€” Debug mode (very verbose).
  • -dataDir <path> β€” Override data_dir parameter from config file.
  • -download β€” Download a SnpEff database, if not available locally. Default: true
  • -nodownload β€” Do not download a SnpEff database, if not available locally.
  • -h , -help β€” Show this help and exit
  • -noLog β€” Do not report usage statistics to server
  • -t β€” Use multiple threads (implies '-noStats'). Default 'off'
  • -q , -quiet β€” Quiet mode (do not show any messages or errors)
  • -v , -verbose β€” Verbose mode
  • -version β€” Show version number and exit
ngl, -q and -v are enemies. Pick a lane bestie. 😭

🧚 Database options

This is where the transcript-filtering, annotation-source and splice-site girlies live. Buckle up.

  • -canon β€” Only use canonical transcripts.
  • -canonList <file> β€” Only use canonical transcripts, replace some transcripts using the 'gene_id transcript_id' entries in <file>.
  • -interaction β€” Annotate using interactions (requires interaction database). Default: true
  • -interval <file> β€” Use a custom interval in TXT/BED/BigBed/VCF/GFF file (you may use this option many times)
  • -maxTSL <TSL_number> β€” Only use transcripts having Transcript Support Level lower than <TSL_number>.
  • -motif β€” Annotate using motifs (requires Motif database). Default: true
  • -nextProt β€” Annotate using NextProt (requires NextProt database).
  • -noGenome β€” Do not load any genomic database (e.g. annotate using custom files).
  • -noExpandIUB β€” Disable IUB code expansion in input variants
  • -noInteraction β€” Disable interaction annotations
  • -noMotif β€” Disable motif annotations.
  • -noNextProt β€” Disable NextProt annotations.
  • -onlyReg β€” Only use regulation tracks.
  • -onlyProtein β€” Only use protein coding transcripts. Default: false
  • -onlyTr <file.txt> β€” Only use the transcripts in this file. Format: One transcript ID per line.
  • -reg <name> β€” Regulation track to use (this option can be used add several times).
  • -ss , -spliceSiteSize <int> β€” Set size for splice sites (donor and acceptor) in bases. Default: 2
  • -spliceRegionExonSize <int> β€” Set size for splice site region within exons. Default: 3 bases
  • -spliceRegionIntronMin <int> β€” Set minimum number of bases for splice site region within intron. Default: 3 bases
  • -spliceRegionIntronMax <int> β€” Set maximum number of bases for splice site region within intron. Default: 8 bases
  • -strict β€” Only use 'validated' transcripts (i.e. sequence has been checked). Default: false
  • -ud , -upDownStreamLen <int> β€” Set upstream downstream interval length (in bases)
🫢 notice how -interval and -reg are both "use this as many times as you want" options? Stack them. Go feral.

πŸ”₯ SEE ALSO πŸ”₯

The lore, the backstory, the extended universe:


πŸ’œ AUTHOR πŸ’œ

This manual page was written by Pierre Gruet <pgt@debian.org> from the Debian project, but may be used by others. Please report possibly missing or misleading information.


And that's the whole page, bestie β€” snpEff, manual section 1, last touched February 2021. Iconic then, iconic now. Go annotate something. πŸ‘‘βœ¨

πŸ“¦ where this page comes from