diff --git a/svtools/vcf/variant.py b/svtools/vcf/variant.py index f2c951f0..8c78148f 100644 --- a/svtools/vcf/variant.py +++ b/svtools/vcf/variant.py @@ -30,8 +30,6 @@ def __init__(self, var_list, vcf, fixed_genotypes=False): # FIXME This should be an exception sys.stderr.write('\nError: VCF file must have at least 8 columns\n') exit(1) - if len(var_list) < 9: - var_list.append("GT") # make a genotype for each sample at variant format_field_tags = var_list[8].split(':')