Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor bug with conda install import: command not found #327

Open
gbouras13 opened this issue Jul 31, 2024 · 1 comment
Open

minor bug with conda install import: command not found #327

gbouras13 opened this issue Jul 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gbouras13
Copy link

Hi developers,

Thanks for the great tool - very fast and accurate!

I installed clair3 via option 3 Bioconda. Linux system with GPU available Ubuntu 20.04

I ran Clair3 as follows:

run_clair3.sh \
    --bam_fn="$aln" \
    --ref_fn="$ref" \
    --threads=24 \
    --platform="ont" \
    --model_path="$model_path" \
    --output="$outdir" \
    --sample_name="$sample" \
    --include_all_ctgs \
    --haploid_precise \
    --no_phasing_for_fa \
    --enable_long_indel

with relevant correct variables. There was an error:

/home/user/miniforge3/envs/clair3/bin/clair3.py: line 1: import: command not found
from: can't read /var/mail/importlib
from: can't read /var/mail/shared.param_p

Solved by adding a shebang:

#!/usr/bin/env python3 to the file /home/user/miniforge3/envs/clair3/bin/clair3.py

George

@zhengzhenxian
Copy link
Collaborator

Thank you, George! Will add in our next release.

@aquaskyline aquaskyline added the enhancement New feature or request label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants