MATLAB implementation of Brane Cut v1.0

#####_______________________________________________________________________________________________#####
#  Author:																																															#
#   Pirayre Aurlie, aurelie.pirayre@ifpen.fr																														#
#																																																				#
#  Date:																																																#
#   September 20, 2015																																										#				
#																																																				#
#  References: [accepted in BMC Bioinformatics]																																				#	
#   [1] Aurlie Pirayre, Camille Couprie, Laurent Duval, Frdrique Bidard and Jean-Christophe Pesquet	# 
#	   "BRANE Cut: Biologically-Related A priori Networ Enhancement with Graph cuts for Gene Regulatory   #
#     Network Inference"																																								#
#####_______________________________________________________________________________________________#####


%%%%% REQUIREMENTS %%%%%
  You need some requirements to execute BRANE Cut: 
		- Windows 7 64 bits

  Other requirements to visualize the GRNs generated by BRANE Cut	
		- R (or Rstudio) > v.3
		- mandatory libraries : igraph, R.Matlab
  
%%%%% INSTALL %%%%%

	- Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you have installed version 7.16.  
	- If the MCR is not installed, download and install MCR Installer available at http://fr.mathworks.com/products/compiler/mcr/ 
  
%%%%% DEMO %%%%%
	The Demo correspond to an inferred E.coli network.
	Go to the 'distrib' directory, and use the following command: 
	
		In the Windows console: .\BraneCut.exe ..\data\Ecoli.mat ..\data\TF.mat 0.2041 0.0311 0.3 1000
			or 
		In the Matlab prompt: system('BraneCut.exe ../data/Ecoli.mat ../data/TF.mat 0.2041 0.0311 0.3 1000')   
  
  After a few seconds you obtain an Infered_GRN.mat (saved in the data/Results directory) that you can visualize as detailed below.
  
%%%%% USAGE %%%%%	
	If you want to test this package on your own data:
	Compute a weighted adjacency matrix (A) in a .mat file and store a Transcription Factor list(TF) in a .mat file in the directory of your choice. 
	Keep the corresponding paths: Path_A and Path_TF. 		

	In the Windows console: .\BraneCut.exe Path_A Path_tf lambda_TF lambda_nonTF gamma mu
		or
	In the Matlab prompt: system('BraneCut.exe Path_A Path_tf lambda_TF lambda_nonTF gamma mu')
			
					
%%%%% GRAPH VIZUALIZATION %%%%%			
	We provide you a R script in order to visualize the inferred GRN. 
	Input arguments (storage in the 'data' repository) : 
			- Results/Inferred_GRN.mat
			- TF.mat
			- Gene_Name.mat
	To vizualize the corresponding graph, locate you on the R_script directory (as working directory) and use the following command in the R prompt: source('Graph_visualization.R')	
		