diff region_motif_intersect.r @ 37:76e108a19e64 draft

Uploaded
author jeremyjliu
date Tue, 07 Apr 2015 23:22:43 -0400
parents b868314320e2
children
line wrap: on
line diff
--- a/region_motif_intersect.r	Fri Mar 06 13:24:03 2015 -0500
+++ b/region_motif_intersect.r	Tue Apr 07 23:22:43 2015 -0400
@@ -4,9 +4,9 @@
 # Author: Jeremy Liu
 # Email: jeremy.liu@yale.edu
 # Date: 15/02/11
-# Note: This script is meant to be invoked with the following command
+# Note: This script can be invoked with the following command
 # R --slave --vanilla -f ./region_motif_intersect.r --args <db_bgz> <db_tbi> <inbed> <outtab>
-# Dependencies: region_motif_data_manager
+# Dependencies: region_motif_data_manager, Rsamtools
 
 # Auxiliary function to concatenate multiple strings
 concat <- function(...) {
@@ -33,7 +33,7 @@
 
 # Load dependencies
 cat("Loading dependencies...\n")
-suppressPackageStartupMessages(library(Rsamtools, quietly=TRUE))
+suppressPackageStartupMessages(library(Rsamtools, quietly=TRUE)) # NEED TO HANDLE INSTALLATION
 
 # Initializing hash table (as env) with motif names and loading tabix file
 cat("Loading motif database and initializing hash table...\n")