add snp calling and some reorg