Skip to content

Commit

Permalink
handling pgrtk script in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebolo1993 committed Aug 7, 2023
1 parent d49ae2e commit 1217555
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,11 @@ RUN git clone https://github.com/davidebolo1993/cosigt.git \
&& go build cosigt

ENV PATH /opt/cosigt:$PATH

RUN mkdir -p pyscripts \
&& cd pyscripts \
&& wget https://raw.githubusercontent.com/davidebolo1993/cosigt/master/cosigt_smk/workflow/scripts/pgrtk.py \
&& chmod +x pgrtk.py

ENV PATH /opt/pyscripts:$PATH

2 changes: 1 addition & 1 deletion cosigt_smk/workflow/rules/pgrtk.smk
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ rule pgrtk_get_seq:
padding=config['pgrtk']['padding']
shell:
'''
python workflow/scripts/pgrtk.py {input.agc} {input.region} {params.padding} {output}
pgrtk.py {input.agc} {input.region} {params.padding} {output}
'''
Binary file not shown.

0 comments on commit 1217555

Please sign in to comment.