Skip to content

Commit

Permalink
Update enterobase scheme download URL (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Jun 15, 2018
1 parent c8023a1 commit 0a6c4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlst_download_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function download_enterobase_scheme(scheme, s_type, output_dir, overwrite=false)
if isfile(fasta_locus)
continue
end
gzip_locus = _download_to_folder("http://enterobase.warwick.ac.uk/download_data?species=$sp_code&scheme=$tp_code&allele=$locus", output_dir, false, "$locus.fa.gz")
gzip_locus = _download_to_folder("https://enterobase.warwick.ac.uk/schemes/$sp_code.$tp_code/$locus.fasta.gz", output_dir, false, "$locus.fa.gz")
# gunzip to a FASTA and remove the gzip file;
f_in = GZip.open(gzip_locus)
f_out = open(fasta_locus, "w")
Expand Down

0 comments on commit 0a6c4d6

Please sign in to comment.