rrwick / Deepbinner

a signal-level demultiplexer for Oxford Nanopore reads
GNU General Public License v3.0
124 stars 23 forks source link

KeyError" "not found" #38

Open ashinandjay opened 4 years ago

ashinandjay commented 4 years ago

I try to run the code deepbinner bin --classes classifications --reads fastq/fastq_runid_74754dbc687adce684a7d674b20b70a89ff319aa_0_0.fastq --out_dir demultiplexed_reads

But got following error: `Loading classifications... done 145 total classifications found

Making output directory: demultiplexed_reads/

Traceback (most recent call last): File "/usr/local/bin/deepbinner", line 8, in sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/deepbinner/deepbinner.py", line 64, in main bin_reads(args) File "/usr/local/lib/python3.6/site-packages/deepbinner/bin.py", line 32, in bin_reads write_read_files(args.reads, classifications, out_filenames, input_type) File "/usr/local/lib/python3.6/site-packages/deepbinner/bin.py", line 146, in write_read_files out_files[class_name].write(read_line_1) KeyError: 'not found' `

Not sure what's wrong. Any help will be appreciated.