mbhall88 / head_to_head_pipeline

Snakemake pipelines to run the analysis for the Illumina vs. Nanopore comparison.
GNU General Public License v3.0
5 stars 2 forks source link

Generate consensus sequence from variant calls #43

Closed mbhall88 closed 4 years ago

mbhall88 commented 4 years ago

In order to create a SNP distance matrix using snp-dists we need fasta sequences for each sample's variant calls in a multi-fasta file.

bcftools consensus does not quite do what we need. It doesn't adhere to FILTER and its behaviour at missing/null sites may not be how we like.

@iqbal-lab I know I sound like a broken record, but what base shall we produce in the following circumstance: