comparison damid_polII_gene_call.xml @ 0:1b5bd3b955ed draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/damidseq_polII_gene_call commit 2e97fdaeafdafe2c63588de17777cd32a798adb1-dirty
author mvdbeek
date Fri, 20 Apr 2018 10:27:20 -0400
parents
children 83ca801f21f9
comparison
equal deleted inserted replaced
-1:000000000000 0:1b5bd3b955ed
1 <tool id="damidseq_polII_gene_call" name="Calculate polII occupancy" version="1.0.2">
2 <description>from DamIDseq data</description>
3 <requirements>
4 <requirement type="package" version="3.4">R</requirement>
5 </requirements>
6 <version_command><![CDATA[Rscript '$__tool_directory__/polii.gene.call' | grep -o "v.*"]]></version_command>
7 <command detect_errors="aggressive"><![CDATA[
8 ln -fs '$genes' genes.gff &&
9 ln -fs '$input_file' input.$input_file.ext &&
10 Rscript '$__tool_directory__/polii.gene.call' --genes.file=genes.gff input.$input_file.ext --iter=$iter --fdr=$fdr &&
11 mv *.details.csv details.csv &&
12 mv *.genes genes.csv
13 ]]></command>
14 <inputs>
15 <param name="input_file" type="data" format="gff,bed,bedgraph" label="Select dam-fusion/dam ratio files" help="You can use damidseq_core to produce this file."/>
16 <param name="genes" type="data" format="gff" label="Select a GFF file containing genes for which to calculate occupancy"/>
17 <param name="iter" type="integer" min="1" value="50000" label="Number of iterations for calculation of FDR"/>
18 <param name="fdr" type="float" min="0" max="1" value="0.01" label="FDR cutoff for gene list"/>
19 </inputs>
20 <outputs>
21 <data name="details" format="csv" from_work_dir="details.csv" label="${tool.name} gene details on ${on_string}"/>
22 <data name="sig_genes" format="csv" from_work_dir="genes.csv" label="${tool.name} genes on ${on_string}"/>
23 </outputs>
24 <tests>
25 <test>
26 <param name="input_file" value="polII.bed" ftype="bedgraph"/>
27 <param name="genes" value="genes.gff" ftype="gff"/>
28 <param name="fdr" value="1"/>
29 <param name="iter" value="500"/>
30 <output name="details" value="details.csv" compare="sim_size"/>
31 <output name="sig_genes" value="genes.csv" compare="sim_size"/>
32 </test>
33 </tests>
34 <help><![CDATA[
35 What it does
36 ------------
37
38 Rscript for calculating average PolII occupancy and FDR for RNA Pol II DamID datasets, based on original algorithms developed by Tony Southall.
39 The script processes datafiles in gatc.bedgraph or gatc.gff format, such as those generated by damidseq_pipeline.
40
41 Differences between RNA pol II DamID and RNAseq
42 -----------------------------------------------
43 Although both are methods for transcriptional profiling, please be aware that there may be differences between these two methods. In particular, transcript abundancy as assessed through RNAseq will depend on transcript stability, whereas RNA pol II occupancy may provide a better indication of transcription levels.
44
45
46 ]]></help>
47 <citations>
48 <citation type="doi">10.1093/bioinformatics/btv386</citation>
49 </citations>
50 </tool>