sheffield-bioinformatics-core / periscope

A tool to quantify sub-genomic RNA (sgRNA) expression in SARS-CoV-2 artic network amplicon nanopore sequencing data.
GNU General Public License v3.0
16 stars 5 forks source link

Error in execution #14

Closed tmctmc123 closed 3 years ago

tmctmc123 commented 3 years ago

Hello, I have came across with the following message when I attempted to run periscope.

" File "/home/anaconda3/envs/periscope/lib/python3.6/site-packages/periscope/scripts/search_for_sgRNA_ont.py", line 9, in from artic.align_trim import find_primer

ModuleNotFoundError: No module named 'artic' "

Then the programme failed. I would like to ask if you know any possible solution to this issue?

mattdmem commented 3 years ago

Hello,

It looks like it can't find the artic package - did you manage to install the environment as explained in the readme?

git clone https://github.com/sheffield-bioinformatics-core/periscope.git && cd periscope
conda env create -f environment.yml
conda activate periscope
pip install .

If you did can you try this and let me know what happens?

conda activate periscope
artic -h

Matt

tmctmc123 commented 3 years ago

Hello Matt,

Yes I did installed the periscope environment and ran the command with the activated environment. The following error message also popped up after "ModuleNotFoundError".

"Error in rule periscope: jobid: 3 output: /home/test_periscope.bam, /home/test_periscope_counts.csv, /home/test_periscope_amplicons.csv, /home/test_periscope_novel_counts.csv shell: python /home/anaconda3/envs/periscope/lib/python3.6/site-packages/periscope/scripts/search_for_sgRNA_ont.py --bam /home/test.bam --score-cutoff 50 --output-prefix /home/test --score-cutoff 50 --sample barcode08_518178 --orf-bed /home/periscope/periscope/resources/orf_start.bed --primer-bed /home/periscope/periscope/resources/artic_primers_V1.bed --amplicon-bed /home/periscope/periscope/resources/artic_amplicons_V1.bed --tmp /tmp (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time. Exiting because a job execution failed. Look above for error message"

tmctmc123 commented 3 years ago

Also when I tried 'artic -h', it said 'artic: command not found'.

llk578496 commented 3 years ago

we also got the exact same issue. We have installed artic through source and we still got the same error message. Thanks.

mattdmem commented 3 years ago

Artic is not installing properly, I will fix this today - apologies y'all!

mattdmem commented 3 years ago

Fixed (I hope) in commit 9be3db0 - I've released a new version - 0.0.10