1	INSTALLITION

(1)First, have MapReduce and Hadoop environment installed.
	## http://hadoop.apache.org/.
(2)Then, upzip this passage and run the command below,the details is described in part 2.
	## http://www.darwintree.cn/tools.htm.



2	USAGE 

hadoop 
	## command
[1]jar bCloudBLAST(WithXMLParse).jar
	##this jar in the zip
[2]-D mapred.map.tasks=8 
	##Specify the number of servers to run the task
[3]-D mapred.reduce.tasks=1
	##the summary file into a file in the end
[4]-D mapred.input.format.skew=0.8
	##skew of map input
[5]-D mapred.task.timeout=0
	##timeout time
[6]-input testblast
	##input file
[7]-output blastoutwithXMLParse27_2 
	##output file
[8]-mapper "blastx -db /var/blast/single -out blastOutApril27_2" 
	##the command embeded in map
[9]-inputreader "org.apache.hadoop.streaming.StreamPatternRecordReader,begin=>" 
	##inputreader
[10]-inputformat org.apache.hadoop.streaming.SkewedFileInputFormat 
	##inputformat
[11]-combiner "cn.sdc.palpp.blast.CombinerClass" 
	##Specified map class
[12]-reducer "cn.sdc.palpp.blast.ReduceClass"
	##Specified reduce class



3	EXAMPLE COMMAND

hadoop jar bCloudBLAST(WithXMLParse).jar -D mapred.map.tasks=8 -D mapred.reduce.tasks=1 -D mapred.input.format.skew=0.8 -D mapred.task.timeout=0 -input testblast  -output blastoutwithXMLParse27_2 -mapper "blastx -db /var/blast/single -out blastOutApril27_2" -inputreader "org.apache.hadoop.streaming.StreamPatternRecordReader,begin=>" -inputformat org.apache.hadoop.streaming.SkewedFileInputFormat -combiner "cn.sdc.palpp.blast.CombinerClass" -reducer "cn.sdc.palpp.blast.ReduceClass"

4	ACKNOWLEDGMENT

1  Altschul, S.F., et al., Basic local alignment search tool. Journal of molecular biology, 1990. 215(3): p. 403-4101  
2  Matsunaga, A., M. Tsugawa, and J. Fortes, CloudBLAST: Combining MapReduce and Virtualization on Distributed Resources for Bioinformatics Applications. 2008: p. 222-229.
3  Meng, Z., et al., Construction of the Platform for Phylogenetic Analysis. Data Driven e-Science, ISBN 978-1-4419-8013-7. Springer Science+ Business Media, LLC, 2011: p. 507-514.



5	CONTACT
bioinf@cnic.cn	zhenm99@cnic.cn
2011.06.06