The find_exclusive_sets.py and find_sets.py scripts save their results in TSV format by default and JSON format with an optional flag, but the viz/generate_viz_data.py script loads its results in JSON format. This difference causes the viz/generate_viz_data.py script to crash when using output from the find_exclusive_sets.py and find_sets.py scripts with their default settings:
ValueError: No JSON object could be decoded
The JSON file includes a few extra pieces of metadata, such as the minimum mutation frequency and the test name, that can be either added to the TSV file or omitted from the visualization.
The
find_exclusive_sets.pyandfind_sets.pyscripts save their results in TSV format by default and JSON format with an optional flag, but theviz/generate_viz_data.pyscript loads its results in JSON format. This difference causes theviz/generate_viz_data.pyscript to crash when using output from thefind_exclusive_sets.pyandfind_sets.pyscripts with their default settings:The JSON file includes a few extra pieces of metadata, such as the minimum mutation frequency and the test name, that can be either added to the TSV file or omitted from the visualization.