####################################### ###### the types of files used ######## ####################################### type annotfile; # annotation file app (annotfile output) subpeaks( annotfile file1, annotfile file2, int max_dist ){ subpeaks @file1 @file2 @max_dist stdout=@output; } annotfile file1<"irf4-D1-1_15.xls">; annotfile file2<"irf4-D1-1_30.xls">; annotfile out<"blah.xls">; out = subpeaks( file1, file2, 200 );