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 · 0 comments
Open

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

gbouras13 opened this issue Jul 31, 2024 · 0 comments

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant