annotate check_comparate_design_file.xml @ 0:e979cb57a5d5 draft default tip

"planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
author malex
date Thu, 14 Jan 2021 21:51:36 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
1 <tool id="base_check_comparate_design_file" name="Check Comparate Design File" version="21.1.13">
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
2 <description>for correct formatting and header names </description>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
3 <macros>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
4 <import>macros.xml</import>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
5 </macros>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
6 <expand macro="requirements" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
7 <command><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
8 check_comparate_design_file.py
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
9 --design=$design
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
10 --compNum=$compNum
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
11 --out=$out
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
12 ]]></command>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
13 <inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
14 <param name="design" type="data" format="tabular,tsv" label="Select Comparate Design File" help="Design file containing comparates and conditions. Please refer to the BASE User Guide for help."/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
15 <param name="compNum" size="30" type="select" value="" display="radio" label="Comparate Number" help="Select the number of comparate conditions for the data.">
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
16 <option value="1">One Comparate</option>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
17 <option value="2">Two Comparates</option>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
18 </param>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
19 </inputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
20 <outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
21 <data format="tabular" name="out" label="${tool.name} on ${on_string}: Comparate Design criteria"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
22 </outputs>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
23 <tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
24 <test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
25 <param name="design" ftype="data" value="check_comparate_design_file/df_comparate.tsv"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
26 <param name="compNum" ftype="text" value="1"/>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
27 <output name="out" />
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
28 </test>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
29 </tests>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
30 <help><![CDATA[
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
31 **Tool Description**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
32
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
33 This tool checks to make sure the design file is formatted correctly and has all needed headers. It also verifies that there are no missing labels.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
34
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
35 **The design file should contain the following columns, in order:**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
36
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
37
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
38 (5) Comparate_1: first comparate. For example, 'W55_M' which is a combination of genotype W55 and condition mated.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
39 (6) Comparate_2: second comparate. For example 'W55_V' which is a combination of genotype W55 and condition virgin
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
40 (7) CompID: A unique identifier that describes the comparison. For example, 'W55_M_V', for the comparison of W55 mated to W55 virgin.
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
41
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
42
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
43
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
44 An example design file for two comparates::
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
45
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
46 Comparate_1 Comparate_2 compID
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
47 W55_M W55_V W55_M_V
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
48
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
49
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
50 **Outputs**
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
51
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
52 (1) a logfile with information about whether the column names are correct
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
53 (2) a text file containing a list of any missing or misspelled labels, if present
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
54
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
55 ]]></help>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
56 <citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
57 <citation type="bibtex">@ARTICLE{Miller20BASE,
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
58 author = {Brecca Miller, Alison M. Morse, Elyse Borgert, Zihao Liu, Kelsey Sinclair, Gavin Gamble, Fei Zou, Jeremy Newman, Luis Leon Novello, Fabio Marroni, Lauren M. McIntyre},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
59 title = {Testcrosses are an efficient strategy for identifying cis regulatory variation: Bayesian analysis of allele imbalance among conditions (BASE)},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
60 journal = {????},
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
61 year = {submitted for publication}
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
62 }
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
63 </citation>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
64 </citations>
e979cb57a5d5 "planemo upload for repository https://github.com/McIntyre-Lab/BayesASE/tree/main/galaxy commit 9b70598ef46a73632d9e0fa0c6ce6776fb5e9d6a"
malex
parents:
diff changeset
65 </tool>