Skip to content

Commit db54bac

Browse files
Updated pangolin recipe
1 parent 1837ee8 commit db54bac

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pangolin/v4.3.1-v1.23.1-v0.3.19-v0.1.12/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ RUN apk update \
1818
&& pip install --upgrade cryptography \
1919
&& pip install pyOpenSSL \
2020
&& conda update conda \
21+
&& conda update --all \
2122
&& conda install mamba -c conda-forge
2223

24+
COPY pangolin.patch /
2325

2426
RUN cd / \
2527
&& git clone https://github.com/cov-lineages/pangolin.git \
2628
&& cd pangolin \
2729
&& git checkout $VERSION \
30+
&& git apply /pangolin.patch \
2831
&& cd .. \
2932
&& sed -i 's/name: pangolin/name: base/' /pangolin/environment.yml \
3033
&& 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 numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

0 commit comments

Comments
 (0)