annotate nucDyn_stats.xml @ 0:fa06ddcae68e draft

Uploaded
author spanish_national_institue_of_bioinformatics
date Thu, 11 Apr 2019 04:01:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
1 <tool id="nucDyn_stats" name="Nucleosome Dynamics Statistics" version="0.1">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
2 <description>: statistics on Nucleosome Dynamics analysis</description>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
3 <requirements>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
4 <requirement type="binary">docker</requirement>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
5 </requirements>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
6 <command>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
7 <![CDATA[
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
8 ln -f -s $output_gw_png_file $output_gw_png_file\.png;
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
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
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
10 #if $assembly.source == "buildin":
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
11 --genome ${assembly.ref_genome_gff_buildin}
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
12 #else if $assembly.source == "history":
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
13 --genome ${assembly.ref_genome_gff_history}
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
14 #end if
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
15 --out_genes $output_genes_csv_file --out_gw $output_gw_png_file\.png;
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
16 rm $output_gw_png_file\.png
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
17 ]]>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
18 </command>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
19 <inputs>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
20 <param name="gff_file" type="data" format="gff" label="Input Nucleosome Calls"/>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
21 <conditional name="assembly">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
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.">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
23 <option value="buildin" selected="True">Use a built-in genome</option>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
24 <option value="history">Use a genome from the history</option>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
25 </param>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
26 <when value="buildin">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
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">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
28 <options from_file="nucldyn_publicdata.loc">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
29 <column name="name" index="2"/>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
30 <column name="value" index="4"/>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
31 </options>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
32 </param>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
33 </when>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
34 <when value="history">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
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."/>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
36 </when>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
37 </conditional>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
38 </inputs>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
39 <outputs>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
40 <data format="csv" name="output_genes_csv_file" label="ND__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.genes.csv" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
41 <data format="png" name="output_gw_png_file" label="ND__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.gw.png" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
42 </outputs>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
43 <tests>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
44 <test>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
45 <param name="gff_file" value="ND__cellcycleG2_chrII_cellcycleM_chrII.gff" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
46 <param name="ref_genome_gff_buildin" value="genes.gff" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
47 <output name="output_genes_csv_file" file="ND__stats__cellcycleG2_chrII_cellcycleM_chrII.genes.csv" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
48 <output name="output_gw_png_file" file="ND__stats__cellcycleG2_chrII_cellcycleM_chrII.gw.png" />
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
49 </test>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
50 </tests>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
51 <help>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
52 .. class:: warningmark
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
53
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
54
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
55 Check the documentation for setting the tool parameters at the source code repository: http://mmb.irbbarcelona.org/gitlab/NuclDynamics/docker
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
56
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
57 -----
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
58
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
59 .. image:: ${static_path}/images/NucleosomeDynamicsLogo.png
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
60 :height: 80
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
61 :width: 200
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
62
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
63 **http://mmb.irbbarcelona.org/NucleosomeDynamics**
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
64 </help>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
65 <citations>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
66 <citation type="bibtex">
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
67 @misc{github,
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
68 author = {Buitrago D},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
69 year = {2019},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
70 title = {Nucleosome Dynamics suite: containerized installation},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
71 publisher = {GitLab},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
72 journal = {GitLab repository},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
73 url = {http://mmb.irbbarcelona.org/gitlab/NuclDynamics/docker},
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
74 }</citation>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
75 </citations>
fa06ddcae68e Uploaded
spanish_national_institue_of_bioinformatics
parents:
diff changeset
76 </tool>