annotate signature.xml @ 14:5150d641d515 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
author artbio
date Thu, 06 Apr 2023 23:00:54 +0000
parents 124f404b0fe7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
1 <tool id="signature" name="Small RNA Signatures" version="3.5.0">
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
2 <description />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
3 <requirements>
12
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
4 <requirement type="package" version="1.23.4">numpy</requirement>
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
5 <requirement type="package" version="0.18.0">pysam</requirement>
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
6 <requirement type="package" version="1.7.3">r-optparse</requirement>
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
7 <requirement type="package" version="0.6_30">r-latticeextra</requirement>
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
8 <requirement type="package" version="2.3">r-gridextra</requirement>
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
9 </requirements>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
10 <stdio>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
11 <exit_code range="1:" level="fatal" description="Tool exception" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
12 </stdio>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
13 <command detect_errors="exit_code"><![CDATA[
12
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
14 ln -f -s $input.metadata.bam_index input.bam.bai &&
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
15 ln -s $input input.bam &&
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
16 python '$__tool_directory__'/signature.py
12
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
17 --input input.bam
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
18 --minquery '$minquery'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
19 --maxquery '$maxquery'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
20 --mintarget '$mintarget'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
21 --maxtarget '$maxtarget'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
22 --minscope '$minscope'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
23 --maxscope '$maxscope'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
24 --output_h '$h_dataframe'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
25 --output_z '$z_dataframe' &&
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
26 Rscript '$__tool_directory__'/signature.r
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
27 --h_dataframe '$h_dataframe'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
28 --z_dataframe '$z_dataframe'
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
29 --plot_method '$plot_options.plot_method'
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
30 --pdf '$pdf'
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
31 --title "Overlap Signatures of ${minquery}-${maxquery} against ${mintarget}-${maxtarget}nt small RNAs"
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
32 #if $plot_options.plot_method == "global":
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
33 --npairs_ylim $plot_options.npairs_ylim
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
34 --npairszscore_ylim $plot_options.npairszscore_ylim
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
35 --overlapprob_ylim $plot_options.overlapprob_ylim
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
36 --overlapprobzscore_ylim $plot_options.overlapprobzscore_ylim
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
37 #end if
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
38 ]]></command>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
39 <inputs>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
40 <param format="bam" label="Compute signature from this bowtie standard output" name="input" type="data" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
41 <param help="'23' = 23 nucleotides" label="Min size of query small RNAs" name="minquery" size="3" type="integer" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
42 <param help="'29' = 29 nucleotides" label="Max size of query small RNAs" name="maxquery" size="3" type="integer" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
43 <param help="'23' = 23 nucleotides" label="Min size of target small RNAs" name="mintarget" size="3" type="integer" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
44 <param help="'29' = 29 nucleotides" label="Max size of target small RNAs" name="maxtarget" size="3" type="integer" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
45 <param help="'1' = 1 nucleotide overlap" label="Minimal relative overlap analyzed" name="minscope" size="3" type="integer" value="1" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
46 <param help="'1' = 1 nucleotide overlap" label="Maximal relative overlap analyzed" name="maxscope" size="3" type="integer" value="26" />
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
47 <conditional name="plot_options">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
48 <param help="Signature can be computed globally or by item present in the alignment file" label="Graph type" name="plot_method" type="select">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
49 <option selected="True" value="global">Global</option>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
50 <option value="lattice">Lattice</option>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
51 </param>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
52 <when value="lattice" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
53 <when value="global">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
54 <param name="npairs_ylim" type="integer" value="0" optional="true"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
55 label="Maximum of Y-scale of the Numbers-of-pairs plot"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
56 help="Interger. Leave 0 for self-determination of Y-scale" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
57 <param name="npairszscore_ylim" type="integer" value="0" optional="true"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
58 label="Maximum of Y-scale of the Number-of-pairs-Z−scores plot"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
59 help="Integer. Leave 0 for self-determination of Y-scale" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
60 <param name="overlapprob_ylim" type="integer" value="0" optional="true"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
61 label="Maximum of Y-scale of the Overlap-probabilities plot"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
62 help="Percent value as an Integer. Leave 0 for self-determination of % Y-scale" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
63 <param name="overlapprobzscore_ylim" type="integer" value="0" optional="true"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
64 label="Maximum of Y-scale of the Overlap-probabilities-Z−scores plot"
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
65 help="Interger. Leave 0 for self-determination of Y-scale" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
66 </when>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
67 </conditional>
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
68 </inputs>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
69 <outputs>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
70 <data format="tabular" label="z-signature data frame" name="z_dataframe">
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
71 <actions>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
72 <action name="column_names" type="metadata" default="Chromosome,Overlap,Number_of_pairs,z-score" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
73 </actions>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
74 </data>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
75 <data format="tabular" label="h-signature data frame" name="h_dataframe">
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
76 <actions>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
77 <action name="column_names" type="metadata" default="Chromosome,Overlap,overlap_probability,z-score" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
78 </actions>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
79 </data>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
80 <data format="pdf" label="Overlap probabilities" name="pdf" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
81 </outputs>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
82 <tests>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
83 <test>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
84 <param ftype="bam" name="input" value="sr_bowtie.bam" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
85 <param name="minquery" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
86 <param name="maxquery" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
87 <param name="mintarget" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
88 <param name="maxtarget" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
89 <param name="minscope" value="5" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
90 <param name="maxscope" value="15" />
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
91 <conditional name="plot_options">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
92 <param name="plot_method" value="global" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
93 </conditional>
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
94 <output file="h.tab" ftype="tabular" name="h_dataframe" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
95 <output file="z.tab" ftype="tabular" name="z_dataframe" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
96 <output file="global.pdf" ftype="pdf" name="pdf" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
97 </test>
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
98
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
99 <test>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
100 <param ftype="bam" name="input" value="sr_bowtie.bam" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
101 <param name="minquery" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
102 <param name="maxquery" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
103 <param name="mintarget" value="23" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
104 <param name="maxtarget" value="29" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
105 <param name="minscope" value="5" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
106 <param name="maxscope" value="15" />
14
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
107 <conditional name="plot_options">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
108 <param name="plot_method" value="global" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
109 </conditional>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
110 <param name="npairs_ylim" value="100" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
111 <param name="npairszscore_ylim" value="0" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
112 <param name="overlapprob_ylim" value="1" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
113 <param name="overlapprobzscore_ylim" value="4" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
114
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
115 <output file="h.tab" ftype="tabular" name="h_dataframe" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
116 <output file="z.tab" ftype="tabular" name="z_dataframe" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
117 <output file="global-limited.pdf" ftype="pdf" name="pdf" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
118 </test>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
119
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
120 <test>
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
121 <param ftype="bam" name="input" value="sr_bowtie.bam" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
122 <param name="minquery" value="23" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
123 <param name="maxquery" value="29" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
124 <param name="mintarget" value="23" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
125 <param name="maxtarget" value="29" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
126 <param name="minscope" value="5" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
127 <param name="maxscope" value="15" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
128 <conditional name="plot_options">
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
129 <param name="plot_method" value="lattice" />
5150d641d515 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit a54b915a3a245a71ca01ec9de2b5426cfb88504c
artbio
parents: 13
diff changeset
130 </conditional>
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
131 <output file="h.tab" ftype="tabular" name="h_dataframe" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
132 <output file="z.tab" ftype="tabular" name="z_dataframe" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
133 <output file="lattice.pdf" ftype="pdf" name="pdf" />
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
134 </test>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
135 </tests>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
136 <help>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
137
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
138 **What it does**
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
139
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
140 Compute small RNA (piRNA, siRNA, ...) signatures.
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
141
10
68ee7c84d498 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 4e84386b619a7941f23d175d7fc86aba7990ac36"
artbio
parents: 9
diff changeset
142 This tool computes (i) the number of pairs **aligned** reads by overlap classes (in nt) and associated z-scores,
12
aa5e2c64dff8 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6806c0677e53d52164707faeb36947987f5c500a
artbio
parents: 11
diff changeset
143 and (ii) the ping-pong signal (Brennecke et al. Science. 2008;322: 1387–1392) and associated z-scores.
7
07771982ef9b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 7276b6b73aef7af4058ad2c1e34c4557e9cccbe0
artbio
parents: 0
diff changeset
144
07771982ef9b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 7276b6b73aef7af4058ad2c1e34c4557e9cccbe0
artbio
parents: 0
diff changeset
145 **Note** that the number of pairs of aligned reads is disctint from the number of pairs of reads
07771982ef9b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 7276b6b73aef7af4058ad2c1e34c4557e9cccbe0
artbio
parents: 0
diff changeset
146 when these reads can be aligned at multiple positions in the genome. The two values are equal only
07771982ef9b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 7276b6b73aef7af4058ad2c1e34c4557e9cccbe0
artbio
parents: 0
diff changeset
147 when the analysis is restricted to uniquely mapping reads.
07771982ef9b planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 7276b6b73aef7af4058ad2c1e34c4557e9cccbe0
artbio
parents: 0
diff changeset
148
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
149 Options set the min and max size of both the query small rna class and the target small rna class,
10
68ee7c84d498 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 4e84386b619a7941f23d175d7fc86aba7990ac36"
artbio
parents: 9
diff changeset
150 the range of overlaps (in nt) over which to compute the signatures, and whether the signatures should be reported at
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
151 genome-wide level or by item (chromosomes, genes, etc.). For details on computational algorithmes
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
152 for piRNA and siRNA signatures, see `Antoniewski (2014)`_.
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
153
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
154 .. _Antoniewski (2014): https://link.springer.com/protocol/10.1007%2F978-1-4939-0931-5_12
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
155
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
156 **Input**
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
157
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
158 A **sorted** BAM alignment file.
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
159
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
160 **Outputs**
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
161
10
68ee7c84d498 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 4e84386b619a7941f23d175d7fc86aba7990ac36"
artbio
parents: 9
diff changeset
162 **Global**: The number of pairs found, the ping-pong signal and the associated z-scores
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
163 are computed at genome-wide level and returned in a pdf file.
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
164
10
68ee7c84d498 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 4e84386b619a7941f23d175d7fc86aba7990ac36"
artbio
parents: 9
diff changeset
165 **Lattice**: The number of pairs found, the ping-pong signals and the associated z-scores
0
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
166 are computed for each items described in the BAM alignment input and returned in a pdf file as a lattice graph.
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
167
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
168
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
169 </help>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
170 <citations>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
171 <citation type="doi">10.1007/978-1-4939-0931-5_12</citation>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
172 </citations>
a35e6f9c1d34 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 6719543c5017d581ae012b864d7c9088f0767fc8
artbio
parents:
diff changeset
173 </tool>