igvteam / igv-reports

Python application to generate self-contained pages embedding IGV visualizations, with no dependency on original input files.
MIT License
352 stars 53 forks source link

filtering in HTML output? #87

Closed juntkym closed 11 months ago

juntkym commented 1 year ago

Thank you for your great tool. Is it possible to filter each column in the output HTML file? The intended use is for rare diseases genome analysis, and I would look for causal variants from those with say, gnomad AF < 0.001 and CADD score > 30, and if none are found, I would loosen the filter to gnomad AF < 0.01 or CADD score > 20. I know the HTML output column allow sorting, but I thought it would be more useful if I can filter by each column.

jrobinso commented 1 year ago

Hi, no its not. I would entertain a pull request for this, it would require modifications to the html template file. Also I would point out you can use your own template file, although admittedly there isn't any documentation on this. Currently my suggestion would be to filter the VCF before making the report.