==================
1.ABOUT PRIME
==================
PRIME is a Protein-RNA Interaction ModElling program ,which includes TMalign 
(protein structural alignment) and SARA (RNA structural alignment) for
searching template in the library. Protein and RNA structure coordinates
are needed. The output is the protein RNA-complex structure model.
The similar score (TMscore or complex structural score),which describles the
binding similarity between the target and the template, and a transformation
matrix are also reported. 

PRIME can be downloaded from http://rnabinding.com/PRIME.html

<TM-align>
TMalign is modified so that it can read PDB file with chain id.
For more information about TM-align, see http://zhanglab.ccmb.med.umich.edu/TM-align/
<SARA>
See http://structure.biofold.org/sara for information about sara.
<lapack and blas>
The files in lib are download from http://www.netlib.org/lapack/. and http://www.netlib.org/blas/.
Please see http://www.netlib.org/lapack/LICENSE.txt.

===================
2.INSTALL AND START
===================
1).Pre-INSTALLATION
	EMBOSS-6.5.7 package is also needed to installed in your linux system(to calculate ligand rmsd).
	download EMBOSS-6.5.7 package from ftp://emboss.open-bio.org/pub/EMBOSS/.
	compiler EMBOSS and add the needle programm to the PATH.
2). INSTALLTION
	chmod +x INSTALL.sh
	./INSTALL.sh
3). build a model and evaluate the model with native structure
	cd example
	../source/PRIME -mode 15 -system 3 -par parameter_build_evaluate_model 
4). build a model
	cd example
	../source/PRIME -mode 15 -system 3 -par parameter_build_model
5) ADD the template library to the parameter file
	cd example
	../all_template.sh [template diretory] template_library_439

==================
3.parameters set
==================
1). parameter_build_evaluate_model
native.receptor_pdb_filename = 2I82.pdb // target protein PDB 
native.receptor.chainid = A // target protein chain id
native.ligand_pdb_filename = 2I82.pdb // target RNA PDB
native.ligand.chainid = E // target RNA chain id 
rmsd.I_rms_One_Atom_Within_Cutoff = 5.0 // interface rmsd ditance cutoff
rmsd.fnat_One_Atom_Contact_Cutoff = 10.0 // interface fnat distance cutoff
out_model_pdb_number = 1 // the number of model outputed as PDB format [interger]
model_outfile = 2I82_AE // model information file
native_PDBID = 2I82.pdb // native PDB for calculate ligand rmsd
native_protein_chain = A // native protein chain
native_RNA_chain = E // native RNA chain 
compare2native = YES // YES or NO, YES for calculate ligand rmsd of model, NO for just build the model
sort_by = tmscore // sort the model by tmscore or complex_structural_score(default)
# Receptor Receptor.chain Ligand Ligand.chain // begining of template library
#LIB 2AB4.pdb A 2AB4.pdb B // 2AB4.pdb (template PDB file) A (protein chain) B (RNA chain) template id, can add any PDB 
	as templates through begining  with #LIB at one line.

2). parameter_build_model
native.receptor_pdb_filename = 2I82.pdb
native.receptor.chainid = A 
native.ligand_pdb_filename = 2I82.pdb
native.ligand.chainid = E 
rmsd.I_rms_One_Atom_Within_Cutoff = 5.0 
rmsd.fnat_One_Atom_Contact_Cutoff = 10.0
out_model_pdb_number = 1 
model_outfile = 2I82_AE
compare2native = NO
sort_by = tmscore
# Receptor Receptor.chain Ligand Ligand.chain
#LIB 2AB4.pdb A 2AB4.pdb B

==================
4.Output
==================
1). *_sort_complex_structural_score: the result of evaluation model,sorted by complex structural score, include information
	about rank,template id,ligand rmsd,etc.
2). *_sort_complex_structural_score.transform: the result of searching template,sorted by complex structural score,
	include rank,template id,tmscore,transform matrix,etc.
3). *_sort_tmscore: the result of evaluation model, but sort by tmscore.
4). *_sort_tmscore.transform: the result of searching template, but sorted by tmscore.
5). *.TMalign: the protein alignmnt between the target and the template.
6). *SARAalign.pdb: the RNA alignment between the target and the template.
7). *.normalized_file.pdb: to normalized the SARAscore.
8). [target]_[chain]_model_on_[template]_[chain].pdb: the model of target.

==================
5.LICENSE
==================
Copyright PRIME
This is free software for non-commercial user. 
All the files in this directory and sub-directories are part of the PRIME software 
suite and are made available under license.

Questions about this can be addressed to Dr. Shiyong Liu by Gmail: liushiyong@gmail.com

If you feel it is useful, please cite:
Jinfang Zheng, Petras J. Kundrotas, Ilya A. Vakser and Shiyong Liu. 
Template-based modeling of protein-RNA interactions. Submitted
