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

bin step failure #29

Open
Freemacl opened this issue Jul 3, 2019 · 1 comment
Open

bin step failure #29

Freemacl opened this issue Jul 3, 2019 · 1 comment

Comments

@Freemacl
Copy link

Freemacl commented Jul 3, 2019

We converted multi fast5 to single fast5 and have successfully run everything up until this last bin step. We get this same error after it has processed approximately 200,000 reads (3.5 Gbs). Tried on multiple different installs (git dist, conda) with the same result.

$ deepbinner bin --classes classifications_edited --reads combined_fastq.gz --out_dir ~/Vault/PERSONAL-folders/Supriya/Nanopore_II_June25/demultiplexed_2/ 

Loading classifications... done
2,088,654 total classifications found

Making output directory: /home/imss/Vault/PERSONAL-folders/Supriya/Nanopore_II_June25/demultiplexed_2/

Traceback (most recent call last):
  File "/home/imss/tools/anaconda3/envs/dbinner/bin/deepbinner", line 10, in <module>
    sys.exit(main())
  File "/home/imss/tools/anaconda3/envs/dbinner/lib/python3.7/site-packages/deepbinner/deepbinner.py", line 64, in main
    bin_reads(args)
  File "/home/imss/tools/anaconda3/envs/dbinner/lib/python3.7/site-packages/deepbinner/bin.py", line 32, in bin_reads
    write_read_files(args.reads, classifications, out_filenames, input_type)
  File "/home/imss/tools/anaconda3/envs/dbinner/lib/python3.7/site-packages/deepbinner/bin.py", line 146, in write_read_files
    out_files[class_name].write(read_line_1)
KeyError: 'not found'

@jdeligt
Copy link

jdeligt commented Jul 4, 2019

seems like a duplicate of #11 I've added a hotfix in pull request #30 that you can implement/pull if you want to continue

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