Skip to main content

A convertion tool for Sniffles objects (SNF) to JSON like objects (SNFJ)

Project description

SNF2JSON

This tool is a simple file converter that takes a Sniffles (SNF) file and converts it into a JSON like object (SNFJ). The purpose of this converter is to make it easier to work with the Sniffles file format in other tools such as Spectre, which is a long read copy number variation (CNV) caller.

Functionality: To preserve the original data structure of the SNF file, the pickled objects withing the file are converted into a JSON like object structure, which can easily be loaded into a Python dictionary.

Installation:

pip install snf2json

Usage:

For compression use the .gz extension in the output filename.

snf2json <sample.snf> <new_sample.snfj.gz>

or

snf2json <sample.snf> <new_sample.snfj>

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snf2json-0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

snf2json-0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page