comparison nucDyn_stats.xml @ 0:fa06ddcae68e draft

Uploaded
author spanish_national_institue_of_bioinformatics
date Thu, 11 Apr 2019 04:01:48 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fa06ddcae68e
1 <tool id="nucDyn_stats" name="Nucleosome Dynamics Statistics" version="0.1">
2 <description>: statistics on Nucleosome Dynamics analysis</description>
3 <requirements>
4 <requirement type="binary">docker</requirement>
5 </requirements>
6 <command>
7 <![CDATA[
8 ln -f -s $output_gw_png_file $output_gw_png_file\.png;
9 docker run -v $__root_dir__/database/files:$__root_dir__/database/files -v /data:/data -v /tmp:/tmp -u `id -u`:`id -g` mmbirb/nucldyn nucDyn_stats --input $gff_file
10 #if $assembly.source == "buildin":
11 --genome ${assembly.ref_genome_gff_buildin}
12 #else if $assembly.source == "history":
13 --genome ${assembly.ref_genome_gff_history}
14 #end if
15 --out_genes $output_genes_csv_file --out_gw $output_gw_png_file\.png;
16 rm $output_gw_png_file\.png
17 ]]>
18 </command>
19 <inputs>
20 <param name="gff_file" type="data" format="gff" label="Input Nucleosome Calls"/>
21 <conditional name="assembly">
22 <param name="source" type="select" label="Select a built-in reference genome or use one from your history" help="Taking from each assembly their chromosome sizes and their annotated genes.">
23 <option value="buildin" selected="True">Use a built-in genome</option>
24 <option value="history">Use a genome from the history</option>
25 </param>
26 <when value="buildin">
27 <param name="ref_genome_gff_buildin" type="select" label="Select reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
28 <options from_file="nucldyn_publicdata.loc">
29 <column name="name" index="2"/>
30 <column name="value" index="4"/>
31 </options>
32 </param>
33 </when>
34 <when value="history">
35 <param name="ref_genome_gff_history" type="data" format="gff" label="Select gene annotations for your reference genome" help="Check below the documentation for lerning about the file format."/>
36 </when>
37 </conditional>
38 </inputs>
39 <outputs>
40 <data format="csv" name="output_genes_csv_file" label="ND__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.genes.csv" />
41 <data format="png" name="output_gw_png_file" label="ND__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.gw.png" />
42 </outputs>
43 <tests>
44 <test>
45 <param name="gff_file" value="ND__cellcycleG2_chrII_cellcycleM_chrII.gff" />
46 <param name="ref_genome_gff_buildin" value="genes.gff" />
47 <output name="output_genes_csv_file" file="ND__stats__cellcycleG2_chrII_cellcycleM_chrII.genes.csv" />
48 <output name="output_gw_png_file" file="ND__stats__cellcycleG2_chrII_cellcycleM_chrII.gw.png" />
49 </test>
50 </tests>
51 <help>
52 .. class:: warningmark
53
54
55 Check the documentation for setting the tool parameters at the source code repository: http://mmb.irbbarcelona.org/gitlab/NuclDynamics/docker
56
57 -----
58
59 .. image:: ${static_path}/images/NucleosomeDynamicsLogo.png
60 :height: 80
61 :width: 200
62
63 **http://mmb.irbbarcelona.org/NucleosomeDynamics**
64 </help>
65 <citations>
66 <citation type="bibtex">
67 @misc{github,
68 author = {Buitrago D},
69 year = {2019},
70 title = {Nucleosome Dynamics suite: containerized installation},
71 publisher = {GitLab},
72 journal = {GitLab repository},
73 url = {http://mmb.irbbarcelona.org/gitlab/NuclDynamics/docker},
74 }</citation>
75 </citations>
76 </tool>