Mercurial > repos > bgruening > deeptools_plot_pca
annotate plotPCA.xml @ 26:69264da0ce77 draft
"planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 7c89456b6a986259c96b8d280c53e4ab155696ef"
author | bgruening |
---|---|
date | Sat, 25 Jan 2020 04:39:54 -0500 |
parents | 93ce2662f917 |
children | c899e0ccff8c |
rev | line source |
---|---|
21
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
1 <tool id="deeptools_plot_pca" name="plotPCA" version="@WRAPPER_VERSION@.0" profile="18.01"> |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
2 <description>Generate principal component analysis (PCA) plots from multiBamSummary or multiBigwigSummary output</description> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
3 <macros> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
4 <token name="@BINARY@">plotPCA</token> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
5 <import>deepTools_macros.xml</import> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
6 </macros> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
7 <expand macro="requirements"/> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
8 <command> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
9 <![CDATA[ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
10 @BINARY@ |
19
d9376d223fad
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents:
17
diff
changeset
|
11 --corData '$corData' |
d9376d223fad
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents:
17
diff
changeset
|
12 --plotTitle '$plotTitle' |
d9376d223fad
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents:
17
diff
changeset
|
13 --plotFile '$outFileName' |
d9376d223fad
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents:
17
diff
changeset
|
14 --plotFileFormat '$outFileFormat' |
14
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
15 #if str($advancedOpt.showAdvancedOpt) == 'yes': |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
16 @PLOTWIDTHHEIGHT@ |
17
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
17 $advancedOpt.log2 |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
18 --PCs $advancedOpt.PCs |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
19 --ntop $advancedOpt.ntop |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
20 $advancedOpt.transpose |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
21 $advancedOpt.rowCenter |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
22 #if $advancedOpt.colors: |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
23 --colors $advancedOpt.colors |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
24 #end if |
21
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
25 #if $advancedOpt.markers: |
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
26 --markers $advancedOpt.markers |
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
27 #end if |
14
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
28 #end if |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
29 #if $outFileNameData |
19
d9376d223fad
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 5a01e3a370130f32a82d5436504371ed95be1754
bgruening
parents:
17
diff
changeset
|
30 --outFileNameData '$output_outFileNameData' |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
31 #end if |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
32 ]]> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
33 </command> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
34 <inputs> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
35 <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the multiBamSummary or multiBigwigSummary tools"/> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
36 <expand macro="input_image_file_format" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
37 <expand macro="plotTitle" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
38 <param argument="--outFileNameData" type="boolean" label="Save the matrix of PCA and eigenvalues underlying the plot."/> |
14
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
39 <conditional name="advancedOpt"> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
40 <param name="showAdvancedOpt" type="select" label="Show advanced options" > |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
41 <option value="no" selected="true">no</option> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
42 <option value="yes">yes</option> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
43 </param> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
44 <when value="no" /> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
45 <when value="yes"> |
21
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
46 <expand macro="plotWidthHeight" PLOTWIDTH="10.0" PLOTHEIGHT="10.0" /> |
17
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
47 <param name="PCs" argument="--PCs" label="Principal components to plot" value="1 2" type="text" |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
48 help="The principal components to plot. If specified, you must provide two different integers, greater than zero, separated by a space. An example (and the default) is '1 2'." /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
49 <param name="ntop" argument="--ntop" label="Number of rows to use" value="1000" type="integer" |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
50 help="Use only the top N most variable rows in the original matrix. Specifying 0 will result in all rows being used. If the matrix is to be transposed, rows with 0 variance are always excluded, even if a values of 0 is specified. The default is 1000." /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
51 <param name="log2" argument="--log2" type="boolean" truevalue="--log2" falsevalue="" label="log2 transform data" help="log2 transform the datapoints prior to computing the PCA. Note that 0.01 is added to all values to prevent 0 values from becoming -infinity. Using this option with input that contains negative values will result in an error." /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
52 <param argument="--transpose" type="boolean" label="Transpose Matrix?" help="Perform the PCA on the transpose of the matrix, (i.e., with samples as rows and features/genes as columns). This then matches what is typically done in R for RNAseq data." truevalue="--transpose" falsevalue="" /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
53 <param argument="--rowCenter" type="boolean" label="Center Rows?" help="When specified, each row (bin, gene, etc.) in the matrix is centered at 0 before the PCA is computed. This is useful only if you have a strong bin/gene/etc. correlation and the resulting principal component has samples stacked vertically. This option is not applicable if the PCA is performed on the transposed matrix." truevalue="--rowCenter" falsevalue="" /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
54 <param argument="--colors" type="text" name="colors" label="Symbol colors" value="" optional="True" |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
55 help="A list of colors for the symbols. Color names and html hex string (e.g., #eeff22) are accepted. The color names should be space separated. For example, --colors 'red blue green'. If not specified, the symbols will be given automatic colors." /> |
21
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
56 <param argument="--markers" type="text" name="markers" label="Custom markers" value="" optional="True" |
93ce2662f917
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit 3024062b63fdc502b46e4f328083493c2274182a
bgruening
parents:
19
diff
changeset
|
57 help="A list of markers for the symbols. (e.g., '<','>','o') are accepted. The marker values should be space separated. For example, 's' 'o' 's' 'o'. If not specified, the symbols will be given automatic shapes." /> |
14
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
58 </when> |
dfe535b75616
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit b5fc4073c884a2d6a4092ea85150db1971010f28
bgruening
parents:
12
diff
changeset
|
59 </conditional> |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
60 </inputs> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
61 <outputs> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
62 <expand macro="output_image_file_format_not_nested" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
63 <data format="tabular" name="output_outFileNameData" label="${tool.name} on ${on_string}: PCA matrix"> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
64 <filter>outFileNameData</filter> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
65 </data> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
66 </outputs> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
67 <tests> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
68 <test> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
69 <param name="corData" value="multiBamSummary_result2b.npz" ftype="deeptools_coverage_matrix" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
70 <param name="plotTitle" value="Test Plot" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
71 <param name="outFileFormat" value="png" /> |
17
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
72 <param name="showAdvancedOpt" value="yes" /> |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
73 <output name="outFileName" file="plotPCA_result1.png" ftype="png" compare="sim_size" delta="12000" /> |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
74 </test> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
75 <test> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
76 <param name="corData" value="multiBamSummary_result2b.npz" ftype="deeptools_coverage_matrix" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
77 <param name="plotTitle" value="Test Plot" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
78 <param name="outFileFormat" value="png" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
79 <param name="outFileNameData" value="True" /> |
17
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
80 <output name="outFileName" file="plotPCA_result2.png" ftype="png" compare="sim_size" delta="12000" /> |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
81 <output name="output_outFileNameData" file="plotPCA_result2.tabular" ftype="tabular" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
82 </test> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
83 </tests> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
84 <help> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
85 <![CDATA[ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
86 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
87 What it does |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
88 ------------ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
89 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
90 This tool takes the **default output file** of ``multiBamSummary`` or ``multiBigwigSummary`` to perform a principal component analysis (PCA). |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
91 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
92 Output |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
93 ------ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
94 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
95 The result is a panel of two plots: |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
96 |
17
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
97 1. Either the loadings (default) or the projections (``--transpose``) of the samples on the desired **two principal components**. |
f2f1ca0f032f
planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
bgruening
parents:
14
diff
changeset
|
98 2. The **Scree plot** for principal components where the bars represent the eigenvalues the red line traces the amount of variability is explained by the individual components in a cumulative manner. |
12
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
99 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
100 Example plot |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
101 ------------ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
102 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
103 .. image:: $PATH_TO_IMAGES/plotPCA_annotated.png |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
104 :width: 600 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
105 :height: 315 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
106 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
107 ----- |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
108 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
109 Theoretical Background |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
110 ---------------------- |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
111 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
112 Principal component analysis (PCA) can be used, for example, to determine whether **samples display greater variability** between experimental conditions than between replicates of the same treatment. PCA is also useful to identify unexpected patterns, such as those caused by batch effects or outliers. |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
113 Principal components represent the directions along which the variation in the data is maximal, so that the information (e.g., read coverage values) from thousands of regions can be represented by just a few dimensions. |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
114 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
115 PCA is not necessarily meant to identify unknown groupings or clustering; it is up to the researcher to determine the experimental or technical reason underlying the principal components. |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
116 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
117 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
118 ----- |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
119 |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
120 @REFERENCES@ |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
121 ]]> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
122 </help> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
123 <expand macro="citations" /> |
814bea57a4fe
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 09975f870c75347fba5c6777c9f3b442bdeeb289
bgruening
parents:
9
diff
changeset
|
124 </tool> |