# snippy 4.6.0 ## Snippy Rapid haploid variant calling and core genome alignment ## Author [Torsten Seemann](https://twitter.com/torstenseemann) ## Synopsis Snippy finds SNPs between a haploid reference genome and your NGS sequence reads. It will find both substitutions (snps) and insertions/deletions (indels). It will use as many CPUs as you can give it on a single computer (tested to 64 cores). It is designed with speed in mind, and produces a consistent set of output files in a single folder. It can then take a set of Snippy results using the same reference and generate a core SNP alignment (and ultimately a phylogenomic tree). ## NOTE Since snippy 4.6.0 we had to update to a conda environment to facilitate use of the new perl requirement. Therefore, you'll have to update your pipelines with the lines below, rather than using the snippy from `/local/cluster/bin`. To activate: ```console bash source /local/cluster/snippy/activate.sh ``` Location and version: ```console $ which snippy /local/cluster/snippy-4.6.0/bin/snippy $ snippy --version snippy 4.6.0 ``` Version checks: ```console $ snippy --check [15:38:08] This is snippy 4.6.0 [15:38:08] Written by Torsten Seemann [15:38:08] Obtained from https://github.com/tseemann/snippy [15:38:08] Detected operating system: linux [15:38:08] Enabling bundled linux tools. [15:38:08] Found bwa - /local/cluster/snippy-4.6.0/bin/bwa [15:38:08] Found bcftools - /local/cluster/snippy-4.6.0/bin/bcftools [15:38:08] Found samtools - /local/cluster/snippy-4.6.0/bin/samtools [15:38:08] Found java - /local/cluster/snippy-4.6.0/bin/java [15:38:08] Found snpEff - /local/cluster/snippy-4.6.0/bin/snpEff [15:38:08] Found samclip - /local/cluster/snippy-4.6.0/bin/samclip [15:38:08] Found seqtk - /local/cluster/snippy-4.6.0/bin/seqtk [15:38:08] Found parallel - /local/cluster/snippy-4.6.0/bin/parallel [15:38:08] Found freebayes - /local/cluster/snippy-4.6.0/bin/freebayes [15:38:08] Found freebayes-parallel - /local/cluster/snippy-4.6.0/bin/freebayes-parallel [15:38:08] Found fasta_generate_regions.py - /local/cluster/snippy-4.6.0/bin/fasta_generate_regions.py [15:38:08] Found vcfstreamsort - /local/cluster/snippy-4.6.0/bin/vcfstreamsort [15:38:08] Found vcfuniq - /local/cluster/snippy-4.6.0/bin/vcfuniq [15:38:08] Found vcffirstheader - /local/cluster/snippy-4.6.0/bin/vcffirstheader [15:38:08] Found gzip - /bin/gzip [15:38:08] Found vt - /local/cluster/snippy-4.6.0/bin/vt [15:38:08] Found snippy-vcf_to_tab - /local/cluster/snippy-4.6.0/bin/snippy-vcf_to_tab [15:38:08] Found snippy-vcf_report - /local/cluster/snippy-4.6.0/bin/snippy-vcf_report [15:38:08] Checking version: samtools --version is >= 1.7 - ok, have 1.14 [15:38:08] Checking version: bcftools --version is >= 1.7 - ok, have 1.14 [15:38:09] Checking version: freebayes --version is >= 1.1 - ok, have 1.3.2 [15:38:09] Checking version: snpEff -version is >= 4.3 - ok, have 5.0 [15:38:09] Checking version: bwa is >= 0.7.12 - ok, have 0.7.17 [15:38:09] Dependences look good! ``` help message: ```console $ snippy --help SYNOPSIS snippy 4.6.0 - fast bacterial variant calling from NGS reads USAGE snippy [options] --outdir