Skip to content

Commit

Permalink
Fix chewbbaca input link path
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskiil committed Nov 14, 2024
1 parent ef46743 commit 704bb4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bifrost_chewbbaca/pipeline.smk
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ rule run_chewbbaca_on_genome:
genome = rules.blast_gene_call.output.gene_calls
output:
chewbbaca_results = directory(f"{component['name']}/chewbbaca_results"),
results_tsv = f"{component['name']}/chewbbaca_results/output/results_alleles.tsv",
chewbbaca_done = f"{component['name']}/chewbbaca_done"
params:
samplecomponent_ref_json = samplecomponent.to_reference().json,
Expand Down
2 changes: 1 addition & 1 deletion bifrost_chewbbaca/rule__chewbbaca.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, sample_name, schema, genome, output, log):
def prepare_run(self):
self.inputdir = self.output / "input"
self.inputdir.mkdir(parents=True)
Path(self.inputdir / (self.sample_name + ".fasta")).symlink_to(self.genome)
Path(self.inputdir / (self.sample_name + ".fasta")).symlink_to(self.genome.absolute())

def run(self):
cmd = [
Expand Down

0 comments on commit 704bb4a

Please sign in to comment.