/python-scripts

A repository containing a collection of some useful small Python scripts I wrote

Primary LanguagePythonMIT LicenseMIT

Python scripts

Concatenate RTG vcfeval summary outputs

cat_rtg_summaries.py

This script takes a folder as input. The script will then search that folder for RTG vcfeval summary files and concatenate them into a single file. The script will also add a column to the output file that contains the name of the file that the row came from.

Decode igv.js URL blobs

decode_igv_session.py

This script takes an URL to igv.js with an encoded blob as input. The script will then decode the URL blob and print the decoded JSON to stdout or a specified JSON file.

Encode an igv.js session into an URL

encode_igv_session.py

This script takes an URL to igv.js and a session JSON file as input. The script will then encode the session file into an URL blob and print the URL to stdout.