comparison region_motif_intersect.r @ 36:b868314320e2 draft

Uploaded
author jeremyjliu
date Fri, 06 Mar 2015 13:24:03 -0500
parents 4ce22698acb0
children 76e108a19e64
comparison
equal deleted inserted replaced
35:4ce22698acb0 36:b868314320e2
14 return(paste(input_list, sep="", collapse="")) 14 return(paste(input_list, sep="", collapse=""))
15 } 15 }
16 16
17 # Retrive motif database path 17 # Retrive motif database path
18 args <- commandArgs() 18 args <- commandArgs()
19 motifDB_bgz = args[7].split(',')[0] # Handles duplicate entries in data table 19 motifDB_bgz = unlist(strsplit(args[7], ','))[1] # Handles duplicate entries in data table
20 motifDB_tbi = args[8].split(',')[0] # Just takes the first one 20 motifDB_tbi = unlist(strsplit(args[8], ','))[1] # Just takes the first one
21 21
22 # Set input and reference files, comment to toggle commmand line arguments 22 # Set input and reference files, comment to toggle commmand line arguments
23 inBed = args[9] 23 inBed = args[9]
24 outTab = args[10] 24 outTab = args[10]
25 25