Repository 'table_annovar'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/table_annovar

Changeset 5:7d2a81d29ca4 (2014-02-12)
Previous changeset 4:0f07aec558b9 (2014-02-12) Next changeset 6:091154194ce8 (2014-02-12)
Commit message:
Uploaded
modified:
table_annovar.xml
b
diff -r 0f07aec558b9 -r 7d2a81d29ca4 table_annovar.xml
--- a/table_annovar.xml Wed Feb 12 16:05:46 2014 -0500
+++ b/table_annovar.xml Wed Feb 12 16:06:05 2014 -0500
b
@@ -3,6 +3,7 @@
 
     <requirements>
         <requirement type="package">annovar</requirement>
+        <requirement type="set_environment">SCRIPT_PATH</requirement>
     </requirements>
 
     <command>
@@ -39,7 +40,7 @@
         ; table_annovar.pl input.avinput ${__get_data_table_entry__('annovar_indexes', 'dbkey', $input.dbkey, 'path')} -protocol ${protocol} -operation ${operation} -nastring NA -buildver ${input.dbkey} --outfile output
 
         ## Process annotated table to remove "NA" strings from numerical columns and copy to output.
-        ; cat output.${input.dbkey}_multianno.txt | replace_NA.py > ${output}
+        ; cat output.${input.dbkey}_multianno.txt | \$SCRIPT_PATH/replace_NA.py > ${output}
     </command>
 
     <inputs>