marbl / parsnp

Parsnp was designed to align the core genome of hundreds to thousands of bacterial genomes within a few minutes to few hours. Input can be both draft assemblies and finished genomes, and output includes variant (SNP) calls, core genome phylogeny and multi-alignments. Parsnp leverages contextual information provided by multi-alignments surrounding SNP sites for filtration/cleaning, in addition to existing tools for recombination detection/filtration and phylogenetic reconstruction.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No vcf is generated

empiricalbayes opened this issue · comments

I used the tutorial data example to call SNPs. It works but vcf file is missing. Here is the command I used:

parsnp -r ./examples/mers_virus/genomes/England1.fna -d ./examples/mers_virus/genomes/*.fna -c -o test

Hi @empiricalbayes,

harvesttools can handle the conversion from .ggr to .vcf, however I've added that step to parsnp to make the workflow align better with the tutorial. You can now automatically generate a .vcf file in the output by running parsnp with the --vcf flag:

>$ parsnp -r! -d examples/mers_virus/genomes/*.fna --out mers_demo --vcf
>$ ls mers_demo/
parsnpAligner.ini  parsnpAligner.log  parsnp.ggr  parsnp.tree  parsnp.vcf  parsnp.xmfa

Many thanks @bkille