rrwick / Porechop

adapter trimmer for Oxford Nanopore reads
GNU General Public License v3.0
334 stars 125 forks source link

Custom adapters cannot be found when binning but can be found using trimming function #101

Open v1tazhan9 opened 7 months ago

v1tazhan9 commented 7 months ago

Hi! I input custom adapter using adapter.py, these adapters can be found if i use -o function for trimming

image

"30,139 / 32,299 reads had adapters trimmed from their end (2,444,748 bp removed)"

but when I use - b function to bin, and it says "Error: no barcodes were found, so Porechop cannot perform barcode demultiplexing" i try to set the threshold really really low just to try and get nothing, tried verbosity for debugging and nothing

here's a history: % porechop -i /Users/vita/Desktop/GladLab/Nanopore_DEPC_data/R1_A_probed/fastq_pass/R1_A_probed.fastq -b /Users/vita/Desktop/GladLab/Nanopore_DEPC_data/porechop/bin --barcode_threshold 20 --barcode_diff 1 --verbosity 3

Loading reads /Users/vita/Desktop/GladLab/Nanopore_DEPC_data/R1_A_probed/fastq_pass/R1_A_probed.fastq 28,518 reads loaded

Looking for known adapter sets 10,000 / 10,000 (100.0%) Error: no barcodes were found, so Porechop cannot perform barcode demultiplexing

fernanarr commented 4 months ago

Same problem for me.

I've also tried executing porechop from its directory with python3 porechop-runner.py with the same result.

-o option finds custom barcodes, but -b can't find none of them.