2
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
1 <tool id="periodicity_stats" name="Periodicity Statistics" version="0.1">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
2 <description>: gather gene and genome-wide statistics on Nucleosome Gene Phasing</description>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
3 <requirements>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
4 <requirement type="binary">docker</requirement>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
5 </requirements>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
6 <command>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
7 <![CDATA[
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
8 docker run -v $__root_dir__/database/files:$__root_dir__/database/files -v /data:/data -v /tmp:/tmp -u `id -u`:`id -g` mmbirb/nucleosome-dynamics periodicity_stats --input $gff_file
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
9 #if $assembly.source == "buildin":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
10 --genome ${assembly.ref_genome_gff_buildin}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
11 #else if $assembly.source == "history":
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
12 --genome ${assembly.ref_genome_gff_history}
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
13 #end if
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
14 --out_genes $output_genes_csv_file --out_gw $output_gw_csv_file
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
15 ]]>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
16 </command>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
17 <inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
18 <param name="gff_file" type="data" format="gff" label="Periodicity (GFF)" help="Nucleosome Gene Phasing as annotated by Periodicity tool."/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
19 <conditional name="assembly">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
20 <param name="source" type="select" label="Select a built-in reference genome or use one from your history" help="Taking from each assembly their annotated genes.">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
21 <option value="buildin" selected="True">Use a built-in genome</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
22 <option value="history">Use a genome from the history</option>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
23 </param>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
24 <when value="buildin">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
25 <param name="ref_genome_gff_buildin" type="select" label="Select reference genome (Genes)" help="Select gene annotations for your reference genome. If your genome of interest is not listed, contact the Galaxy team.">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
26 <options from_file="nucldyn_publicdata.loc">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
27 <column name="name" index="2"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
28 <column name="value" index="4"/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
29 </options>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
30 </param>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
31 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
32 <when value="history">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
33 <param name="ref_genome_gff_history" type="data" format="gff" label="Reference genome (Genes)" help="Upload gene annotations for your reference genome. Check below the documentation for learning about the file format."/>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
34 </when>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
35 </conditional>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
36 </inputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
37 <outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
38 <data format="csv" name="output_genes_csv_file" label="P__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.genes.csv" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
39 <data format="csv" name="output_gw_csv_file" label="P__stats__${os.path.splitext(($gff_file.name.split('__'))[1])[0]}.gw.csv" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
40 </outputs>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
41 <tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
42 <test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
43 <param name="gff_file" value="P__cellcycleM_chrII.gff" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
44 <param name="ref_genome_gff_buildin" value="/data/nucldyn_publicdata/refGenomes/R64-1-1/genes.gff" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
45 <output name="output_genes_csv_file" file="P__stats__cellcycleM_chrII.genes.csv" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
46 <output name="output_gw_csv_file" file="P__stats__cellcycleM_chrII.gw.csv" />
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
47 </test>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
48 </tests>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
49 <help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
50 .. image:: ${static_path}/images/NucleosomeDynamicsLogo.png
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
51 :height: 80
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
52 :width: 200
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
53
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
54 -----
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
55
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
56 Nucleosome Dynamics is a set of tools that take MNase-seq and ATAC-seq aligned reads and performs a serie of nucleosome-related analyses on them.
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
57
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
58 .. class:: infomark
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
59
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
60 Visit the documentation of the original application for learning more about the accepted values and formats. http://mmb.irbbarcelona.org/NucleosomeDynamics/help/usage/nucleosome-dynamics
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
61 </help>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
62 <citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
63 <citation type="bibtex">
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
64 @misc{github,
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
65 author = {Buitrago D},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
66 year = {2019},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
67 title = {Nucleosome Dynamics suite: containerized installation},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
68 publisher = {GitHub},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
69 journal = {GitHub repository},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
70 url = {https://github.com/nucleosome-dynamics/nucleosome_dynamics},
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
71 }</citation>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
72 </citations>
|
spanish_national_institue_of_bioinformatics
parents:
diff
changeset
|
73 </tool>
|