Skip to content

Commit

Permalink
join accessions list into space-separated string
Browse files Browse the repository at this point in the history
this was a non-issue before. bug introduced by a newer version of Snakemake?
  • Loading branch information
tomkinsc committed Jun 24, 2016
1 parent 7d8d930 commit 63cdf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipes/rules/ncbi.rules
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rule download_reference_genome:
expand( '{refDir}/'+'{feature_tbl_name}.tbl', refDir=config["ref_genome_dir"], feature_tbl_name=config["accessions_for_ref_genome_build"] )
params:
emailAddress=config["email_point_of_contact_for_ncbi"],
accessionsList=config["accessions_for_ref_genome_build"]
accessionsList=" ".join(config["accessions_for_ref_genome_build"])
run:
makedirs( expand( "{dir}", dir=[config["ref_genome_dir"]] ) )
shell("{config[bin_dir]}/ncbi.py fetch_fastas {params.emailAddress} {config[ref_genome_dir]} {params.accessionsList} --combinedFilePrefix reference --removeSeparateFiles --forceOverwrite")
Expand Down

0 comments on commit 63cdf5c

Please sign in to comment.