Oxford Nanopore adapter trimming, chimera splitting and barcode demultiplexing
Porechop
Porechop is a tool designed to identify and remove Oxford Nanopore adapter sequences from sequencing reads.
It can trim adapters from read ends, split reads containing internal adapters, and demultiplex reads according to barcode sequences.
porechop \
-i input.fastq.gz \
-o trimmed.fastq.gz
porechop \
-i input.fastq.gz \
-o trimmed.fastq.gz \
--threads 8
porechop \
-i input.fastq.gz \
-o trimmed.fastq.gz \
--discard_middle