Skip to content

Commit

Permalink
replace vcf with ref_fasta when reading reference genome
Browse files Browse the repository at this point in the history
  • Loading branch information
LindoNkambule committed Jan 31, 2025
1 parent 56163d8 commit d13b411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gwaspy/check_alleles/check_alleles.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def fix_alleles(

return j

ref_fasta_in = batch.read_input_group(**{'vcf': reference_path,
'index': f'{reference_path}.fai'})
ref_fasta_in = batch.read_input_group(**{'ref_fasta': reference_path,
'ref_fasta_index': f'{reference_path}.fai'})
ref_size = round(size(reference_path))

if "CNUMBER" in input_path: # input VCF is already split by chromosome
Expand Down

0 comments on commit d13b411

Please sign in to comment.