domains / families / science / consensus-sequences

consensus-sequences

combined

Generate consensus FASTA sequences by applying VCF variants onto a reference with bcftools consensus, or build viral/amplicon consensus with iVar. Use when reconstructing a sample-specific reference or haplotype, deciding -H haplotype vs IUPAC vs all-ALT projection, masking no-coverage sites so a consensus does not manufacture false reference calls, or setting iVar min-depth/min-frequency policy for surveillance genomes.

When to use

Skill page

Conflict

Both copies describe the same core task (applying VCF variants to a reference with bcftools consensus), but the GPTomics copy adds material constraints and workflows the FreedomIntelligence copy lacks: a governing principle about silent reference emission at zero-coverage sites, the chimeric-haplotype footgun on unphased VCFs, version-compatibility checks, and an iVar-based viral/amplicon consensus path. The FreedomIntelligence copy adds specific chain-file generation, custom sequence prefixing, and a broader set of filtering examples. Crowning one would hide the other's real alternative steps and safety constraints.