Commits

jianma committed 0d44a34

add a tool to convert cel version

Comments (0)

Files changed (2)

tool_conf.xml.cistrome

     <tool file="filters/gtf2bedgraph.xml" />
     <tool file="filters/wig_to_bigwig.xml" />
     <tool file="filters/bed_to_bigbed.xml" />
+    <tool file="filters/cel_conversion.xml" />
   </section>
   <section name="Extract Features" id="features">
     <tool file="filters/ucsc_gene_bed_to_exon_bed.xml" />

tools/filters/cel_conversions.xml

+<tool name="CEL conversion" id="cel_conversion" version="1.0.0">
+    <description>convert cel files to xda cel format</description>
+    <command interpreter="command">/bin/bash $shscript</command>
+    <inputs>
+      <param format="cel" name="celfile" type="data" label="Input cel file to be converted" />
+    </inputs>
+    <outputs>
+      <data format="cel" name="outcelfile" label="Output CEL file in xda format" />
+      <data format="txt" name="log" label="CEL file convert log." />
+    </outputs>
+    <configfiles>
+      <configfile name="shscript">
+#import os
+#set filename = os.path.join("output", os.path.split($celfile)[-1])
+apt-cel-convert  -f xda -o ./output $celfile
+cp output/apt-cel-convert.log $log
+cp $filename $outcelfile
+
+      </configfile>
+    </configfiles>
+    <help>
+uu
+    </help>
+</tool>
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.