Skip to content

Commit

Permalink
Fixed requirement for conflations to be a list.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Dec 3, 2023
1 parent 617fd12 commit 2eb9ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snakefiles/geneprotein.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ rule geneprotein_conflation:

rule geneprotein_conflated_synonyms:
input:
geneprotein_conflation=config['output_directory']+'/conflation/GeneProtein.txt',
geneprotein_conflations=[config['output_directory']+'/conflation/GeneProtein.txt'],
gene_outputs=expand("{od}/synonyms/{ap}", od = config['output_directory'], ap = config['gene_outputs']),
protein_outputs=expand("{od}/synonyms/{ap}", od = config['output_directory'], ap = config['protein_outputs']),
output:
geneprotein_conflated_synonyms=config['output_directory']+'/synonyms/GeneProteinConflated.txt'
run:
synonymconflation.conflate_synonyms(input.gene_outputs + input.protein_outputs, input.geneprotein_conflation, output.geneprotein_conflated_synonyms)
synonymconflation.conflate_synonyms(input.gene_outputs + input.protein_outputs, input.geneprotein_conflations, output.geneprotein_conflated_synonyms)

rule geneprotein:
input:
Expand Down

0 comments on commit 2eb9ac7

Please sign in to comment.