Handle case where barcode is longer than reads

Issue #2 closed
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Read files where the read sequence is shorter than a barcode.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Create a read file that contains reads shorter than the barcodes
  2. Process the barcodes and read files.

CURRENT BEHAVIOR

Not sure what this does in this regard currently.

EXPECTED BEHAVIOR

Print a warning and put read in an unmatched file.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Make sure that parsing the barcode length from the read accounts for the short length. If the read is shorter than the shortest barcode, pronounce unmatched. Keep track of the number of too-short reads and produce a warning upon completion of processing of the number of short reads. Possibly produce a warning for each short read individually.

LEVEL OF EFFORT - developers only

minor

COMMENTS

Comments (5)

  1. Log in to comment