Interpretable Modeling of RNA–Protein Interactions from eCLIP‑Seq Profiles for Motif‑Free RBPs
conda create -n NoMoCLIP python=3.7.16
conda activate NoMoCLIP
git clone https://github.com/yangyn533/NoMoCLIP
cd NoMoCLIP
python3 -m pip install --editable .
python3 -m pip install -r requirements.txt
python position_inf.py --set_path <PATH_TO_YOUR_DATA> --out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY>
This feature requires the RNAplfold tool, which is executed in a Python 2.7 environment.
python structure_inf.py --set_path <PATH_TO_YOUR_DATA> --out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY>
python attention_graph.py \
--kmer 1 \
--set_path <PATH_TO_YOUR_DATA> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--model_type <PATH_TO_YOUR_NLP_MODEL> \
--maxlen 101 \
--device cuda:1 \
--device1 cuda:1 \
--device2 cuda:1
For this feature, you need to use the corain.
python instinct_inf.py \
--base_path <PATH_TO_YOUR_DATA> \
--set_path <PATH_TO_YOUR_INTERMEDIATE_OUTPUT_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--method_path <PATH_TO_YOUR_CORAIN_DIRECTORY> \
--num 2
Note: The argument --num should be tested with all values in [2, 3, 5, 7, 10].
python model_train.py \
--base_path <PATH_TO_YOUR_DATA_DIRECTORY> \
--set_path <PATH_TO_YOUR_FEATURE_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--fold 5
python model_predict.py \
--set_path <PATH_TO_YOUR_FEATURE_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--model_path <PATH_TO_YOUR_MODEL> \
--gpu_id 1
Motif extraction requires the installation of the MEME Suite package.
python seq_motifs.py \
--layer <THE_LAYER_OF_MODEL_YOU_SELECTED> \
--set_path <PATH_TO_YOUR_FEATURE_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--model_path <PATH_TO_YOUR_MODEL> \
--pwm_path <PATH_TO_YOUR_PWM_FILE> \
--motif_size 7 \
--gpu_id 1
python structure_motifs.py \
--layer <THE_LAYER_OF_MODEL_YOU_SELECTED> \
--set_path <PATH_TO_YOUR_FEATURE_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--model_path <PATH_TO_YOUR_MODEL> \
--motif_size 7 \
--gpu_id 1
python high_attention_region.py \
--set_path <PATH_TO_YOUR_FEATURE_DIRECTORY> \
--out_path <PATH_TO_YOUR_OUTPUT_DIRECTORY> \
--model_path <PATH_TO_YOUR_MODEL> \
--gpu_id 1
Thank you and enjoy the tool! If you have any suggestions or questions, please email me at yangyn533@nenu.edu.cn.
