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

error message #1

Open
lingyi-owl opened this issue Jan 6, 2021 · 1 comment
Open

error message #1

lingyi-owl opened this issue Jan 6, 2021 · 1 comment

Comments

@lingyi-owl
Copy link

Dear CoCoNet developer,

I am really interested in your tool. I tried to run it on my metagenomic dataset. It failed because of some errors. I don't really understand what the error message means. I wonder if you can help me with the issue.

Thanks!

Best,
Lingyi

My code is:
coconet --fasta path/to/scaffolds.fasta
--coverage path/to/*.bam
--output path/to/coconet_output/

The error message is:
Traceback (most recent call last):
File "/home/lingyi/miniconda3/envs/coconet/bin/coconet", line 10, in
sys.exit(main())
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/site-packages/coconet/coconet.py", line 41, in main
preprocess(cfg)
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/site-packages/coconet/coconet.py", line 66, in preprocess
min_qual=cfg.min_mapping_quality, flag=cfg.flag, fl_range=cfg.fl_range
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/site-packages/coconet/tools.py", line 47, in wrapper
return func(*args, **kwargs)
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/site-packages/coconet/preprocessing.py", line 216, in bam_list_to_h5
shutil.rmtree(tmp_dir)
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/shutil.py", line 490, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "/home/lingyi/miniconda3/envs/coconet/lib/python3.6/shutil.py", line 488, in rmtree
os.rmdir(path)
OSError: [Errno 39] Directory not empty: '/home/lingyi/scripts/tmp42'

@lingyi-owl lingyi-owl changed the title lingyi error message Jan 6, 2021
@Puumanamana
Copy link
Owner

Hi Lingyi,

Sorry I didn't see your message earlier. I should have fixed this issue in a previous update, did you try with the latest version of CoCoNet (how did you install CoCoNet)?

Cédric

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

2 participants