File tree 2 files changed +15
-0
lines changed
pangolin/v4.3.1-v1.23.1-v0.3.19-v0.1.12
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,16 @@ RUN apk update \
18
18
&& pip install --upgrade cryptography \
19
19
&& pip install pyOpenSSL \
20
20
&& conda update conda \
21
+ && conda update --all \
21
22
&& conda install mamba -c conda-forge
22
23
24
+ COPY pangolin.patch /
23
25
24
26
RUN cd / \
25
27
&& git clone https://github.com/cov-lineages/pangolin.git \
26
28
&& cd pangolin \
27
29
&& git checkout $VERSION \
30
+ && git apply /pangolin.patch \
28
31
&& cd .. \
29
32
&& sed -i 's/name: pangolin/name: base/' /pangolin/environment.yml \
30
33
&& sed -i s=git+https://github.com/cov-lineages/pangolin-data.git=git+https://github.com/cov-lineages/pangolin-data.git@$DATAVERSION= /pangolin/environment.yml \
Original file line number Diff line number Diff line change
1
+ diff --git a/pangolin/scripts/usher.smk b/pangolin/scripts/usher.smk
2
+ index 3adffc7..3ba0938 100644
3
+ --- a/pangolin/scripts/usher.smk
4
+ +++ b/pangolin/scripts/usher.smk
5
+ @@ -106,6 +106,7 @@ rule usher_inference:
6
+ echo ""
7
+ fi
8
+ cat {input.fasta:q} >> {params.ref_fa:q}
9
+ + sed -i 's/^ *//' {params.ref_fa:q}
10
+ faToVcf -includeNoAltN {params.ref_fa:q} {params.vcf:q}
11
+ $usher -n -D -i {input.usher_protobuf:q} -v {params.vcf:q} -T $threads -d '{config[tempdir]}' &> {log}
12
+ else
You can’t perform that action at this time.
0 commit comments