bihealth / digestiflow-demux

:spaghetti: Digestiflow Demultiplexing Tool
MIT License
2 stars 4 forks source link

Properly catch bases mask differences #24

Open holtgrewe opened 5 years ago

holtgrewe commented 5 years ago
Traceback (most recent call last):
  File "/fast/users/holtgrem_c/work/demux/miniconda3/bin/digestiflow-demux", line 10, in <module>
    sys.exit(main())
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/__main__.py", line 371, in main
    return run(demux_config, args.output_dir, args.input_dirs, setup_logging(demux_config))
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/__main__.py", line 221, in run
    config, input_dir, output_dir
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/workflow.py", line 570, in perform_demultiplexing
    flowcell = create_sample_sheet(config, input_dir, output_dir)
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/workflow.py", line 313, in create_sample_sheet
    demux_reads = return_bases_mask(flowcell["planned_reads"], demux_reads, "picard")
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/bases_mask.py", line 88, in return_bases_mask
    mask_list = compare_bases_mask(planned_reads, demux_reads)
  File "/fast/users/holtgrem_c/work/demux/miniconda3/lib/python3.7/site-packages/digestiflow_demux/bases_mask.py", line 63, in compare_bases_mask
    "Your base mask has more or fewer cycles than planned for a read"
digestiflow_demux.bases_mask.BaseMaskConfigException: Your base mask has more or fewer cycles than planned for a read