Handle case where barcode is longer than reads
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)
- Create a read file that contains reads shorter than the barcodes
- 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)
-
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to open
Starting work...
-
reporter - changed status to resolved
Resolved in pull request #16.
-
reporter - changed status to closed
Merged to master
- Log in to comment
We should write a test for this...