clemente-lab / mmeds-meta

A database for storing and analyzing omics data
https://mmeds.org
2 stars 1 forks source link

Dual barcode metadata not adequately checked #376

Closed adamcantor22 closed 2 years ago

adamcantor22 commented 2 years ago

Describe the bug Single barcodes are checked for uniqueness, throws the user an error if any repeat. This isn't checked for dual barcodes, because individual barcodes from either the forward or reverse barcode sequence can be repeated. Need a check that confirms there are no repeats in the combined barcodes.

To Reproduce Upload metadata that contains dual barcodes that are not unique. No error will be thrown.

Expected behavior Error should be thrown to user.