Commit adf9df67 by Vinh-Son PHO

Slight README.md changes

parent 57780ce8
...@@ -7,7 +7,7 @@ PLMView is a software that uses Protein Language Models (PLMs) to cluster functi ...@@ -7,7 +7,7 @@ PLMView is a software that uses Protein Language Models (PLMs) to cluster functi
This Newick tree can be easily displayed using iTOL (or other tree visualisation tools) and manipulated using ete3. This Newick tree can be easily displayed using iTOL (or other tree visualisation tools) and manipulated using ete3.
## Requirements ## Requirements
Make sure that you have downloaded our conservation predictor, it should be in "PLMView/src/cons_models/Mulan/MODEL_NAME.pt". Make sure that you have downloaded our interface predictor, it should be located in "PLMView/src/cons_models/Mulan/MODEL_NAME.pt".
Required Software : Python, C, C++ & CUDA (for GPU acceleration), Bash (for simplified pipeline). Required Software : Python, C, C++ & CUDA (for GPU acceleration), Bash (for simplified pipeline).
[Mulan](gitlab.lcqb.upmc.fr/lombardi/mulan) is also required. [Mulan](gitlab.lcqb.upmc.fr/lombardi/mulan) is also required.
Python libraries : NumPy, Cython, SciPy, PyTorch, Transformers, sklearn, ete3, h5py, [Matplotlib, pandas, Biopython, Logomaker, pypdf] for explanation generation. Python libraries : NumPy, Cython, SciPy, PyTorch, Transformers, sklearn, ete3, h5py, [Matplotlib, pandas, Biopython, Logomaker, pypdf] for explanation generation.
...@@ -87,7 +87,7 @@ python PLMView/src/PLMV_infer.py --repr-space new_out_comp --tree-path out_tree/ ...@@ -87,7 +87,7 @@ python PLMView/src/PLMV_infer.py --repr-space new_out_comp --tree-path out_tree/
7. Given a Fasta alignment, you can generate scores "explaining" the importance of each position in the overall classification of the sequences contained in said alignment. Generating scores for the left and right branches in a tree can be really helpful when looking at which positions are important for the split. 7. Given a Fasta alignment, you can generate scores "explaining" the importance of each position in the overall classification of the sequences contained in said alignment. Generating scores for the left and right branches in a tree can be really helpful when looking at which positions are important for the split.
```console ```console
python PLMView/src/PLMV_explain.py --anchors-dir anchors --sequences-dir sequences --repr-space out_comp --out-dir out_explain --prefix scores --alignment-file alignment.fasta --tree out_tree/tree.pkl --node ROOT python PLMView/src/PLMV_explain.py --anchors-dir anchors --sequences-dir sequences --repr-space out_comp --out-dir out_explain --prefix scores --alignment-file alignment.fasta --tree out_tree/tree.pkl --nodes I0,ROOT
``` ```
8. The scores obtained in 7. are more interpretable when we substract the right branch's score to the left's. This new score highlight what differentiate the 2 branches at a given node. 8. The scores obtained in 7. are more interpretable when we substract the right branch's score to the left's. This new score highlight what differentiate the 2 branches at a given node.
......
...@@ -289,8 +289,8 @@ def main(): ...@@ -289,8 +289,8 @@ def main():
help='max batch size, if > 0, default : 0') help='max batch size, if > 0, default : 0')
parser.add_argument('--max-vram', dest='max_vram', default="0", type=str, parser.add_argument('--max-vram', dest='max_vram', default="0", type=str,
help='max VRAM in bytes, if > 0, default : 0') help='max VRAM in bytes, if > 0, default : 0')
parser.add_argument('--log', dest='log', default="", type=str, parser.add_argument('--log', dest='log', default="log", type=str,
help='log directory for batch sizes and seq lengths, default : ""') help='log directory for batch sizes and seq lengths, default : "log"')
args = parser.parse_args() args = parser.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment