Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:HealthML/faatpipe into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
remomomo committed Jul 27, 2022
2 parents 8c6c7e8 + 5dd6a20 commit f208926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ rule link_genotypes:
run:
if not os.path.isdir('data/genotypes'):
os.makedirs('data/genotypes')
shell('ln -s -r {input.bim} {output.bim} && ln -s -r {input.fam} {output.fam} && ln -s -r {input.bed} {output.bed}')
shell('ln -s -r "{input.bim}" {output.bim} && ln -s -r "{input.fam}" {output.fam} && ln -s -r "{input.bed}" {output.bed}')

rule link_reference:
input:
Expand All @@ -101,7 +101,7 @@ rule link_reference:
run:
if not os.path.isdir('data/reference'):
os.makedirs('data/reference')
shell('ln -s "$(readlink -f {input})" {output}')
shell('ln -s -r "{input}" {output}')

rule link_gene_annotation:
input:
Expand All @@ -111,7 +111,7 @@ rule link_gene_annotation:
run:
if not os.path.isdir('data/reference'):
os.makedirs('data/reference')
shell('ln -s "$(readlink -f {input})" {output}')
shell('ln -s -r "{input}" {output}')

rule link_all:
# checks if all the input files are present and links some of them to the working directory
Expand Down

0 comments on commit f208926

Please sign in to comment.