Skip to content

Feature request: consensus IUPAC codes for insertions #1241

@yanwang271

Description

@yanwang271

Hello,

I am using bcftools consensus to get the consensus sequence in IUPAC code for the region of interest. In this region, there is one insertion and the genotype of my sample is "1/2". The sequences of the two ALT alleles are in different length. My command is:

samtools faidx ref.fa chrX:XXXX-XXXX | bcftools consensus -I -o out.fa sample.vcf.gz -c liftover.txt --sample sample_name

In the output, it seems that only the first ALT alleles was inserted into the reference.

Is there something wrong in my command? What should I do to apply both of the ALT alleles to the reference sequence?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions