Quick Start¶
This guide will help you get started with escapepod-rs in just a few minutes.
CLI Quick Start¶
Viewing POD5 Files¶
The simplest way to explore a POD5 file is with the view command:
escpod view experiment.pod5
This displays a table of reads with key information like read ID, channel, and sample count.
Inspecting File Details¶
Get a summary of the file:
escpod inspect summary experiment.pod5
Output:
File: experiment.pod5
Reads: 10,000
Run info entries: 1
File size: 1.2 GB
List all reads:
escpod inspect reads experiment.pod5
Merging Files¶
Combine multiple POD5 files from a sequencing run:
escpod merge -o combined.pod5 file1.pod5 file2.pod5 file3.pod5
Filtering Reads¶
Create a file with read IDs you want to extract (one UUID per line):
a1b2c3d4-e5f6-7890-abcd-ef1234567890
b2c3d4e5-f6a7-8901-bcde-f12345678901
Then filter:
escpod filter -i read_ids.txt -o filtered.pod5 experiment.pod5
Python Quick Start¶
The escapepod Python package offers a pod5-compatible API. See
Installation to build it, then:
Reading a POD5 File¶
1 2 3 4 5 6 7 8 9 10 11 | |
Pull every read's metadata into a DataFrame in one call:
1 2 3 4 | |
Accessing Run Information¶
1 2 3 4 5 6 7 8 9 10 | |
Writing a POD5 File¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
Prefer Rust? The same operations are available in the Rust Library.
Next Steps¶
- Python API - Full Python reading/writing/signal reference
- CLI Reference - Full documentation of all commands
- File Format - Understanding the POD5 format