scholl-lab / vcf-filtering

A collection of scripts for filtering annotated variant call format files
MIT License
2 stars 1 forks source link

Feature request: Handle Non-1 GT Fields in replace_gt_with_sample.sh #46

Closed berntpopp closed 1 month ago

berntpopp commented 1 month ago

Title: Enhance replace_gt_with_sample.sh to Handle Non-1 GT Fields

Description: Update the replace_gt_with_sample.sh script to properly handle genotypes (GT fields) that are not equal to 1. This enhancement should include logic to correctly interpret and process various GT field values, ensuring accurate genotype replacement.

Acceptance Criteria:

Impact: This will improve the accuracy of genotype replacements and expand the script's compatibility with different VCF file formats.