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

coverage.h5 file missing #5

Open
OlenaMaiakovska opened this issue Jun 1, 2023 · 0 comments
Open

coverage.h5 file missing #5

OlenaMaiakovska opened this issue Jun 1, 2023 · 0 comments

Comments

@OlenaMaiakovska
Copy link

Dear authors,
It seems there is coverage.h5 file missing in the output. What could be the reason?

Thank you in advance!

Best, Olena

coconet run --fasta ./contigs.fasta -bam ../*.bam --output binning_results_CoCoNet
11:24:09 (Mem:  0.5 GB)    <CoCoNet>    INFO: Using 5 threads
11:24:09 (Mem:  0.5 GB)    <CoCoNet>    INFO: Features: coverage, composition
11:24:09 (Mem:  0.5 GB) <preprocessing> INFO: Processing 4,455 contigs
11:24:09 (Mem:  0.5 GB) <preprocessing> INFO: Length filter (L>2048 bp) -> 10 contigs remaining
11:24:09 (Mem:  0.5 GB) <preprocessing> INFO: Complete contigs filtering (DTR > 10 bp) -> 10 contigs remaining
11:24:09 (Mem:  0.5 GB)   <learning>    INFO: Making train/test examples
11:24:09 (Mem:  0.5 GB)   <learning>    INFO: Parameters: fragment_step=128, fragment_length=1024, #training_samples=4000000, #test_samples=10000
Traceback (most recent call last):
  File "/home/olena/.local/bin/coconet", line 8, in <module>
    sys.exit(main())
  File "/home/olena/.local/lib/python3.8/site-packages/coconet/coconet.py", line 62, in main
    learn(cfg)
  File "/home/olena/.local/lib/python3.8/site-packages/coconet/coconet.py", line 197, in learn
    model = load_model(cfg)
  File "/home/olena/.local/lib/python3.8/site-packages/coconet/dl.py", line 67, in load_model
    input_shapes = config.get_input_shapes()
  File "/home/olena/.local/lib/python3.8/site-packages/coconet/core/config.py", line 198, in get_input_shapes
    with h5py.File(self.io['h5'], 'r') as handle:
  File "/home/olena/anaconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 567, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
  File "/home/olena/anaconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 231, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 106, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = '/home/olena/Projects/Metagenomic_Data/assembly/Virus_Discovery_for_Vietnam_Initiative_on_Zoonotic_Infections__VIZIONS_ERR3180356/Spades_output/binning_results_CoCoNet/coverage.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
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