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

FileNotFoundError: [Errno 2] No such file or directory: '/lustre/isaac/proj/UTK0002/PALAVAS/PALAVAS_ViWrap/00_VIBRANT_VirSorter_PHYCOVIR_MEGAVIROME.contigs/VirSorter_PHYCOVIR_MEGAVIROME.contigs/pass/final-viral-score.tsv' #30

Open
eechase opened this issue Jan 14, 2024 · 4 comments

Comments

@eechase
Copy link

eechase commented Jan 14, 2024

Hello !

I am getting the following error when I run the pipeline.

Traceback (most recent call last):
File "./ViWrap", line 173, in
output = cli()
File "./ViWrap", line 167, in cli
args"func"
File "/lustre/isaac/proj/UTK0002/SOFTWARES/ViWrap/scripts/master_run.py", line 332, in main
scripts.module.screen_virsorter2_result(inner_vs_outdir, keep1_list_file, keep2_list_file, discard_list_file, manual_check_list_file)
File "/lustre/isaac/proj/UTK0002/SOFTWARES/ViWrap/scripts/module.py", line 2096, in screen_virsorter2_result
with open(final_viral_score, 'r') as lines:
FileNotFoundError: [Errno 2] No such file or directory: '/lustre/isaac/proj/UTK0002/PALAVAS/PALAVAS_ViWrap/00_VIBRANT_VirSorter_PHYCOVIR_MEGAVIROME.contigs/VirSorter_PHYCOVIR_MEGAVIROME.contigs/pass/final-viral-score.tsv'

My input was:

./ViWrap run --input_metagenome /lustre/isaac/proj/UTK0002/PALAVAS/PHYCOVIR_MEGAVIROME.contigs.fa --input_reads /lustre/isaac/proj/UTK0002/PALAVAS/DATA/MEGA_FOR_PALAVAS.fastq --out_dir /lustre/isaac/proj/UTK0002/PALAVAS/PALAVAS_ViWrap --db_dir /lustre/isaac/proj/UTK0002/DATABASE/ViWrap --identify_method vb-vs --conda_env_dir /lustre/isaac/proj/UTK0002/conda/envs/ViWrap --threads 20 --input_length_limit 5000

Thanks for any input you have, happy to trouble shoot however. I did not notice any specific problems with the installation etc, so not too sure....

Emily

@seanyao97
Copy link

Hello, I also encountered the same problem, may I ask you to solve it

@jonbakerlab
Copy link

Also having the same problem let me know if somebody figures this one out.

@seanyao97
Copy link

I have switched to using the geNomad method for predictions and have obtained satisfactory feedback on the data.

@Chuen-Lee
Copy link

I had the same issue. I solved it by installing pandas into the virsorter environment.

micromamba activate /path/to/conda-env/ViWrap/ViWrap-vs2
micromamba install -c anaconda pandas

micromamba and conda should work exactly the same for this purpose. Not sure if installing pandas into the ViWrap conda-env directory would work the same. Good luck!

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

4 participants