Skip to content

Commit

Permalink
properly declare the stats file as a resource file
Browse files Browse the repository at this point in the history
  • Loading branch information
LindoNkambule committed Feb 3, 2025
1 parent d13b411 commit a25cb94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gwaspy/check_alleles/check_alleles.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ def get_stats(

j.command(
f"""
bcftools +fixref {vcf['vcf']} -- -f {ref_fasta['ref_fasta']} > {j.stats}
bcftools +fixref {vcf['vcf']} -- -f {ref_fasta['ref_fasta']} > stats.txt
mv stats.txt {j.ofile}
"""
)

b.write_output(j.stats,
b.write_output(j.ofile,
f'{out_dir}/check_alleles/{output_name}.stats.txt')

return j
Expand Down

0 comments on commit a25cb94

Please sign in to comment.