What if you have your own frequencies for a set of missense mutations that you or another researcher measured?
prescott module can do calculations with custom frequency files as well. The first step is to prepare a plain text file with ".txt" extension.
Note: Saving the custom frequency file with .txt extension is very important to distinguish it from gnomad .csv extension.
You must have two columns separated by a space character for each missense mutation in a custom frequency file. The first column is the missense mutation and the second
column is the frequency (number of observations divided by total number of samples). A few example lines for the format of the custom frequency file is given below:
.. code:: bash
S2A 2.5607342137e-06
S2L 6.1954797779e-06
S2W 6.840647125218045e-07
F3L 1.5903965494e-06
F3S 1.2003274493e-06
F3L 1.67277954004e-05
We provide an sample custom frequency file for MLH1 in the data folder of this repository. You can download that file to your computer with the following Linux/Unix command: