adefelicibus / soap-hla

SOAP-HLA is a flow of sequencing data analysis pipeline to type all of the HLA genes in IMGT/HLA database using capture sequenced data or WGS data with high accuracy.
7 stars 2 forks source link

syntax error #2

Open anoronh4 opened 1 year ago

anoronh4 commented 1 year ago

I have downloaded and installed soap-hla without error using conda but i have errors when i try to run:

$ MHC_autopipeline 
syntax error at /opt/conda/envs/soap-hla/bin/MHC_autopipeline line 62, near "my"
Global symbol "%exon" requires explicit package name (did you forget to declare "my %exon"?) at /opt/conda/envs/soap-hla/bin/MHC_autopipeline line 62.
Global symbol "%exon" requires explicit package name (did you forget to declare "my %exon"?) at /opt/conda/envs/soap-hla/bin/MHC_autopipeline line 67.
Global symbol "%exon" requires explicit package name (did you forget to declare "my %exon"?) at /opt/conda/envs/soap-hla/bin/MHC_autopipeline line 73.
Global symbol "%exon" requires explicit package name (did you forget to declare "my %exon"?) at /opt/conda/envs/soap-hla/bin/MHC_autopipeline line 74.
Execution of /opt/conda/envs/soap-hla/bin/MHC_autopipeline aborted due to compilation errors.

just wondering if you can help me with that. Below are the files I used to build the docker images:

Dockerfile ``` FROM continuumio/anaconda3:2022.05 ENV envName "soap-hla" RUN apt-get update && apt-get install -y procps && apt-get clean -y COPY environment.yml / RUN conda update -n base -c defaults conda RUN conda env create --name ${envName} -f /environment.yml && conda clean -a ENV PATH /opt/conda/envs/${envName}/bin:$PATH RUN echo "export PATH=$PATH" > /etc/environment ```
environment.yml ``` channels: - adefelicibus - bioconda dependencies: - soap-hla==1.0.0 ```
adefelicibus commented 1 year ago

Hi @anoronh4

Yes, there is a typo at MHC_autopipeline line 62. I've already fixed it but I still need to update the conda package.

For now, you can edit the script and add a ; at MHC_autopipeline line 62 to fix it.

I'll try to update the conda package ASAP.

anoronh4 commented 6 months ago

just wondering if there was any update to this, specifically the conda image

Carrie-777 commented 4 months ago

hi @anoronh4 I came across the same problem. I wonder if you have solved it and how.