Convert NBT files into JSON for easy processing with tools like jq
nbtq
can be installed using cargo
:
cargo install nbtq
Extract a list of regions from a plasmid map template:
nbtq map.nbt | jq .regions[].marker
Pretty print NBT to a file:
nbtq example.nbt > example.json