Skip to content

[gvcf liftover] INFO/END does not update #44

@YingZhou001

Description

@YingZhou001

Hi Giulio,

Thanks for developing this liftover tool, it is easy to use and very efficient.

I was trying to liftover g38 to chm13 with command

bcftools +liftover -Ou ${gvcf_g38} --\
  --src-fasta-ref ${ref_g38} \
  --fasta-ref ${ref_chm13} \
  --chain ${chain} \
  --write-reject  \
  --lift-end \
  --reject-type z \

the input g38 data was

chr19   60963   .       G       <NON_REF>       .       .       END=60969       GT:DP:GQ:MIN_DP:PL      0/0:19:57:19:0,57,671
chr19   60970   .       A       <NON_REF>       .       .       END=60970       GT:DP:GQ:MIN_DP:PL      0/0:19:41:19:0,41,648
chr19   60971   .       T       <NON_REF>       .       .       END=60976       GT:DP:GQ:MIN_DP:PL      0/0:19:54:19:0,54,810

but the output didn't update the 'END' field

chr19   11946   .       G       <NON_REF>       .       .       END=60969       GT:DP:GQ:MIN_DP:PL      0/0:19:57:19:0,57,671
chr19   11953   .       A       <NON_REF>       .       .       END=60970       GT:DP:GQ:MIN_DP:PL      0/0:19:41:19:0,41,648
chr19   11954   .       T       <NON_REF>       .       .       END=60976       GT:DP:GQ:MIN_DP:PL      0/0:19:54:19:0,54,810

The variable 'end_info->v1.i' had the updated position value but didn't show in the final output.

I tested with both bcftools 1.20 and 1.21 and all shared the same results.

Could you help me check this?

Best,

Ying

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions