NCI-RBL / iCLIP

RNA Biology Pipeline to Characterize protein-RNA Interactions
https://rbl-nci.github.io/iCLIP/
MIT License
4 stars 2 forks source link

When expected barcodes do not match observed barcodes error file does not stop pipeline #140

Closed slsevilla closed 1 year ago

slsevilla commented 1 year ago

Problem: Pipeline is correctly creating the CLIP_barcode_errors.txt file when the barcodes observed does not match barcodes expected. It does not, however, stop demultiplexing from happening which allows the pipeline to continue as jobs have been submitted and the QC step is occurring locally.

Solution: Add the counts = temp(join(out_dir,'{mp}','01_qc_post','{mp}_barcode_counts.txt')) file to the input requirement of demultiplexing. This will stop the pipeline from continuing if there are issues with the barcodes before processing data that may be erroneous.

I will test this with the current data set and implement the new code to v2.1.1

slsevilla commented 1 year ago

Completed with commit ad6e21b169f7376489637e50daebe6077d68bbad