MOP_UTILS

Here we have some scripts that can be useful for dealing with nanopore data

split_pod5.nf

This simple pipeline splits pod5 files into smaller ones.

# Parameters

pod5      : "../data/pod5/old_data/**/*.pod5"
number    : 3000
max_proc  : 2

slackhook: "https://hooks.slack.com/services/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"
email:     ""
output:    "./outfolder/"

You need to indicate the path of the pod5 files and the number of reads per file. The folder in which the pod5 files are stored will be used as prefix for the output files.

Output

A number of pod5 files with the indicated number of reads with this structure:

FOLDERNAME_pieces.NUM.pod5

Note

The last pod5 will contain likely less reads