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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file snf2json-0.1.tar.gz.

File metadata

  • Download URL: snf2json-0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for snf2json-0.1.tar.gz
Algorithm Hash digest
SHA256 131aa02bbd39ce2feb7818b583e07d9bd7c5eaf4c198cf1571a5eb71b597635e
MD5 3d991afa774ef4ca258667fca693d457
BLAKE2b-256 0f3a5ebd3ab1b5c7b2a42770325947c0b221b025c4de4892e06899a77f5f9b06

See more details on using hashes here.

File details

Details for the file snf2json-0.1-py3-none-any.whl.

File metadata

  • Download URL: snf2json-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for snf2json-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 924c38cc23d72967f92743f41df5edbea5d6ada501ec45191acd3a4aa9639d3e
MD5 47dba15cdd5fd70b1f02dbee2a823c83
BLAKE2b-256 dabc1c6398e93d0009fbc822c662218b580072c20d1ed358084f1497bf720128

See more details on using hashes here.

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