Skip to content

Commit

Permalink
Fix typo typo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
martinghunt committed Jul 17, 2020
1 parent 2a45af3 commit 82b100c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varifier/dnadiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _run_dnadiff(ref_fasta, query_fasta, outprefix):
logging.info(f"dnadiff command finished ({command})")


def _snps_file_file_to_vcf(snps_file, query_fasta, outfile):
def _snps_file_to_vcf(snps_file, query_fasta, outfile):
"""Loads the .snps file made by dnadiff.
query_fasta = fasta file of query sequences.
Writes a new VCF file unmerged records."""
Expand Down Expand Up @@ -144,7 +144,7 @@ def make_truth_vcf(ref_fasta, truth_fasta, outfile, debug=False):
tmp_outprefix = f"{outfile}.tmp"
_run_dnadiff(truth_fasta, ref_fasta, tmp_outprefix)
snps_file = f"{tmp_outprefix}.snps"
_snps_file_file_to_vcf(snps_file, ref_fasta, outfile)
_snps_file_to_vcf(snps_file, ref_fasta, outfile)
if debug:
return

Expand Down

0 comments on commit 82b100c

Please sign in to comment.