This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Split oxford nanopore MinION fastq file based on barcode

Hi,

How can I split a single fastq file into multiple fastq file based on barcode in the header of reads?

I got a single oxford nanopore MinION fastq file containing reads from multiple samples. Each read has a barcode in header identifying the sample. For example as follows.

@7a68bd87-67c2-4478-9a3d-a6b81a624b70 ch=483 read=12720 start_time=2018-05-03T18:18:46Z barcode=BC05 runid=658668ec6593d6d2a9d8f0a666d4bd556e161839

I want to get split the fastq file into smaller fastq files based on the barcode. Is there a way to do that? I can of course write my own script to do that but I am sure there is already a tool for it.

Tried searching poretools but could not find any easy way.

Thx for help, Ambi.

oxford nanopore minion minion fastq barcode split

0 answers

No answers yet.

Log in to answer this question.