comparison peakachu.xml @ 2:49a5a2e86c84 draft

planemo upload for repository https://github.com/tbischler/PEAKachu commit c5d9e7d26c36c03b485d1a29154018bc9b0fa069
author rnateam
date Wed, 16 Jan 2019 17:52:56 -0500
parents 68656d100a7f
children 886f5adba83d
comparison
equal deleted inserted replaced
1:68656d100a7f 2:49a5a2e86c84
1 <tool id="peakachu" name="PEAKachu" version="0.1.0.1"> 1 <tool id="peakachu" name="PEAKachu" version="0.1.0.2">
2 <description>Calls Peaks in CLIP data</description> 2 <description>Calls Peaks in CLIP data</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="3.6">python</requirement> 4 <requirement type="package" version="3.6">python</requirement>
5 <requirement type="package" version="3.4.1">r-base</requirement>
5 <requirement type="package" version="0.1.0">peakachu</requirement> 6 <requirement type="package" version="0.1.0">peakachu</requirement>
6 </requirements> 7 </requirements>
7 <version_command> 8 <version_command>
8 <![CDATA[ 9 <![CDATA[
9 peakachu --version 10 peakachu --version
65 --padj_threshold $padj_threshold 66 --padj_threshold $padj_threshold
66 67
67 && 68 &&
68 if ls ./tmp_output/peak_tables/*.csv > /dev/null; 69 if ls ./tmp_output/peak_tables/*.csv > /dev/null;
69 then 70 then
70 head -n 1 -q ./tmp_output/peak_tables/*.csv | head -n 1 > peaks.tsv && 71 cat ./tmp_output/peak_tables/*.csv | head -n 1 > peaks.tsv &&
71 tail -n +2 -q ./tmp_output/peak_tables/*.csv >> peaks.tsv && 72 tail -n +2 -q ./tmp_output/peak_tables/*.csv >> peaks.tsv &&
72 mv peaks.tsv '$peak_tables' && 73 mv peaks.tsv '$peak_tables' &&
73 cat ./tmp_output/peak_annotations/*.gff | awk '/peak/ {print $0}' > peak_annotations.gff && 74 cat ./tmp_output/peak_annotations/*.gff | awk '/peak/ {print $0}' > peak_annotations.gff &&
74 mv peak_annotations.gff '$peak_annotations' && 75 mv peak_annotations.gff '$peak_annotations' &&
75 mv ./tmp_output/plots/Initial*.png '$MA_plot'; 76 mv ./tmp_output/plots/Initial*.png '$MA_plot';
168 <data format="gff" name="peak_annotations" label="${tool.name} ${mode.mode_selector} on ${on_string}: peak_annotations"/> 169 <data format="gff" name="peak_annotations" label="${tool.name} ${mode.mode_selector} on ${on_string}: peak_annotations"/>
169 <data format="png" name="MA_plot" label="${tool.name} ${mode.mode_selector} on ${on_string}: MA plot"/> 170 <data format="png" name="MA_plot" label="${tool.name} ${mode.mode_selector} on ${on_string}: MA plot"/>
170 </outputs> 171 </outputs>
171 <tests> 172 <tests>
172 <test> 173 <test>
173 <param name="experimentLibs" value="test1_+xl.bam"/> 174 <param name="experimentLibs" value="test1_plus-xl.bam"/>
174 <param name="controlLibs" value="test1_-xl.bam"/> 175 <param name="controlLibs" value="test1_minus-xl.bam"/>
175 <output name="peak_tables" ftype="tabular" file="test1_peaks.tsv"/> 176 <output name="peak_tables" ftype="tabular" file="test1_peaks.tsv"/>
176 <output name="peak_annotations" ftype="gff" file="test1_peak_annotations.gff"/> 177 <output name="peak_annotations" ftype="gff" file="test1_peak_annotations.gff"/>
177 </test> 178 </test>
178 </tests> 179 </tests>
179 <help> 180 <help>