annotate corr.xml @ 0:62448f26c3fa draft default tip

"planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
author nml
date Tue, 19 May 2020 17:25:59 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
1 <tool id="csvtk_correlation" name="csvtk-correlation" version="@VERSION@+@GALAXY_VERSION@">
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
2 <description> calculate pearson correlation</description>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
3 <macros>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
4 <import>macros.xml</import>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
5 </macros>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
6 <expand macro="requirements" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
7 <expand macro="version_cmd" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
9
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
10 ###################
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
11 ## Start Command ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
12 ###################
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
13
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
14 csvtk corr --num-cpus "\${GALAXY_SLOTS:-1}"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
15
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
16 ## Add additional flags as specified ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
17 #######################################
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
18 $global_param.illegal_rows
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
19 $global_param.empty_rows
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
20 $global_param.header
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
21 $global_param.lazy_quotes
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
22
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
23 ## Set Tabular input/output flag if input is tabular ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
24 #######################################################
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
25 #if $in_1.is_of_type("tabular"):
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
26 -t -T
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
27 #end if
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
28
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
29 ## Specify fields ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
30 ####################
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
31 -f '$in_text'
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
32
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
33 ## Set Input ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
34 ###############
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
35 '$in_1'
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
36
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
37 ## other ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
38 ###########
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
39 $ignore_nan
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
40 $log_values
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
41 $passthrough
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
42
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
43 ## To output ##
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
44 ###############
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
45 &> corr
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
46
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
47 ]]></command>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
48 <inputs>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
49 <expand macro="singular_input" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
50 <param name="in_text" type="text" argument="-f"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
51 label="Specify *two* column names"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
52 help="Input the exact spelling of the two input column names wanted with a comma (,) separating them. Ex. 'Length,GC Content'">
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
53 <expand macro="text_sanitizer" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
54 </param>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
55 <param name="ignore_nan" type="boolean" checked="false" argument="-i"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
56 truevalue="-i"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
57 falsevalue=""
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
58 label="Ignore non-numeric values in columns"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
59 help="Needed to be set to yes to avoid returning NaN if there is a non-numeric value"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
60 />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
61 <param name="log_values" type="boolean" checked="false" argument="-L"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
62 truevalue="-L"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
63 falsevalue=""
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
64 label="Log10 transformed Data"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
65 help="Calcute correlations on Log10 transformed data"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
66 />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
67 <param name="passthrough" type="boolean" checked="false" argument="-x"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
68 truevalue="-x"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
69 falsevalue=""
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
70 label="passthrough mode (forward input to output)"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
71 />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
72 <expand macro="global_parameters" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
73 </inputs>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
74 <outputs>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
75 <data format_source="in_1" name="corr" from_work_dir="corr" label="${in_1.name} correlation of ${in_text}" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
76 </outputs>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
77 <tests>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
78 <test>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
79 <param name="in_1" value="XY_converted.csv" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
80 <param name="in_text" value="X,Y" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
81 <output name="corr" value="corr_1.csv" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
82 </test>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
83 <test>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
84 <param name="in_1" value="XY_converted.tsv" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
85 <param name="in_text" value="X,Y" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
86 <param name="ignore_nan" value="true" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
87 <param name="log_values" value="true" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
88 <param name="passthrough" value="true" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
89 <output name="corr" value="corr_2.tsv" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
90 </test>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
91 </tests>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
92 <help><![CDATA[
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
93
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
94 Csvtk - Correlation Help
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
95 ------------------------
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
96
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
97 Info
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
98 ####
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
99
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
100 Csvtk Correlation calculates the pearson correlation between two columns specified by the column header
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
101
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
102 .. class:: warningmark
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
103
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
104 Single quotes are not allowed in text inputs!
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
105
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
106 @HELP_INPUT_DATA@
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
107
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
108
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
109 Usage
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
110 #####
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
111
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
112 To run csvtk-correlation, all you need is a valid (as defined above) CSV or TSV file with two numeric columns that you want to
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
113 find the pearson correlation between. If the input data is Log10 transformed, remember to set the "Log10 transformed Data"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
114 slider to "Yes"
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
115
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
116 Output will be a singular line with the input column names, and the pearson correlation (integer between -1 to 1).
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
117
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
118
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
119 **Example Correlation Input**
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
120
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
121 Input table:
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
122
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
123 +-------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
124 | Group | Length |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
125 +=======+========+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
126 | 1 | 1500 |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
127 +-------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
128 | 2 | 1000 |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
129 +-------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
130 | 1 | 1500 |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
131 +-------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
132 | 3 | 2000 |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
133 +-------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
134
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
135 Our input for this would require us to specify our column input (-f) as "Group,Length" to allow the program to run
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
136
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
137 Our output would then look as such:
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
138
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
139 +-------+--------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
140 | Group | Length | 0.9999 |
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
141 +-------+--------+--------+
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
142
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
143 --------
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
144
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
145
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
146 @HELP_COLUMNS@
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
147
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
148
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
149 @HELP_END_STATEMENT@
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
150
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
151
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
152 ]]></help>
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
153 <expand macro="citations" />
62448f26c3fa "planemo upload for repository https://github.com/shenwei356/csvtk commit 3a97e1b79bf0c6cdd37d5c8fb497b85531a563ab"
nml
parents:
diff changeset
154 </tool>