diff region_motif_intersect.xml @ 2:5d9014614d28 draft

Uploaded
author jeremyjliu
date Fri, 17 Oct 2014 13:41:26 -0400
parents 19d2cffb8db3
children d281fed8ec61
line wrap: on
line diff
--- a/region_motif_intersect.xml	Wed Aug 06 15:37:03 2014 -0400
+++ b/region_motif_intersect.xml	Fri Oct 17 13:41:26 2014 -0400
@@ -1,7 +1,10 @@
 <tool id="region_motif_intersect" name="Region Motif Intersect">
   <description>for computing the motifs that lie inside a region set</description>
-  <command interpreter="bash">
-    /usr/bin/R --slave --vanilla -f $GALAXY_ROOT_DIR/tools/my_tools/region_motif_intersect.r --args $GALAXY_ROOT_DIR $db_type $in_bed $out_tab
+  <requirements>
+    <requirement type="set_environment">MOTIF_DB_PATH</requirement>
+  </requirements>
+  <command interpreter="Rscript">
+    region_motif_intersect.r --args $MOTIF_DB_PATH $db_type $in_bed $out_tab
   </command>
   <inputs>
     <param name="in_bed" type="data" format="bed" label="Input BED File" />