PoonLab / Poplars

Open-source implementations of popular tools from Los Alamos National Laboratory HIV Database
GNU Affero General Public License v3.0
0 stars 0 forks source link

hypermut: modify output to pass p-values to poisson-fitter #3

Closed kwade4 closed 5 years ago

kwade4 commented 5 years ago

Poisson-fitter has an option that uses the p-value generated by hypermut to remove sequences and/or positions that present the APOBEC signature.

Currently, hypermut.py prints the contingency table and p-values, and writes the locations of all hypermutated positions to a file. With this implementation, there is no way to pass the p-values to poisson-fitter.py.

I think the best way to address this might be to write the contingency table and p-values to the output file generated by hypermut.py, and have poisson-fitter.py parse this file.