Mercurial > repos > saskia-hiltemann > cgatools_v17
annotate tools/cgatools17/testvariants_v17.xml @ 1:3a2e0f376f26 draft
Minor change to tv2vcf.xml to allow for workflow automation
author | dgdekoning |
---|---|
date | Wed, 21 Oct 2015 10:09:15 -0400 |
parents | |
children | 91e163b708d3 |
rev | line source |
---|---|
1
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
1 <tool id="cg_testvariants" name="TestVariants" version="1.7.1"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
2 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
3 <description>Test for the presence of variants</description> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
4 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
5 <requirements> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
6 <requirement type="package" version="1">cgatools17</requirement> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
7 </requirements> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
8 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
9 <command> <!--run executable--> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
10 cgatools | head -1; |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
11 cgatools testvariants |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
12 --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
13 --reference ${crr.fields.crr_path} |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
14 --output $output |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
15 --input $listing |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
16 --variants |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
17 #for $v in $file_types.varfiles <!--get each var/mastervar file--> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
18 ${v.input} |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
19 #end for |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
20 </command> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
21 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
22 <inputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
23 <!--form field to select crr file--> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
24 <param name="crr" type="select" label="Reference Build"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
25 <options from_data_table="cg_anno_files" /> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
26 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
27 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
28 <!--form fields to select variant list--> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
29 <param name="listing" type="data" format="tabular" label="Select variant list"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
30 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
31 <!--conditional to select input file type--> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
32 <conditional name="file_types"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
33 <param name="file_type" type="select" label="Select the input file type"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
34 <option value="var" selected="true">var files</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
35 <option value="mastervar">mastervar files</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
36 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
37 <when value="var"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
38 <repeat name="varfiles" title="Variant files"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
39 <param name="input" type="data" format="cg_var" label="Dataset"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
40 </repeat> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
41 </when> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
42 <when value="mastervar"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
43 <repeat name="varfiles" title="Variant files"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
44 <param name="input" type="data" format="cg_mastervar" label="Dataset"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
45 </repeat> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
46 </when> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
47 </conditional> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
48 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
49 <!-- prefix for output file so you dont have to manually rename history items --> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
50 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
51 </inputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
52 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
53 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
54 <outputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
55 <data format="tabular" name="output" label="$fname ${tool.name} on ${on_string}"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
56 </outputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
57 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
58 <help> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
59 **What it does** |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
60 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
61 This tool uses the cgatools testvariants to test variant or mastervar files for the presence of variants. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
62 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
63 **cgatools 1.7.1 Documentation** |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
64 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
65 Userguide: http://cgatools.sourceforge.net/docs/1.7.1/cgatools-user-guide.pdf |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
66 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
67 Release notes: http://cgatools.sourceforge.net/docs/1.7.1/cgatools-release-notes.pdf |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
68 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
69 **Command line reference**:: |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
70 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
71 COMMAND NAME |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
72 testvariants - Tests variant files for presence of variants. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
73 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
74 DESCRIPTION |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
75 Tests variant files for presence of variants. The output is a tab-delimited |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
76 file consisting of the columns of the input variants file, plus a column |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
77 for each assembly results file that contains a character code for each |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
78 allele. The character codes have meaning as follows: |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
79 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
80 0 This allele of this genome is consistent with the reference at this |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
81 locus but inconsistent with the variant. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
82 1 This allele of this genome has the input variant at this locus. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
83 N This allele of this genome has no-calls but is consistent with the |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
84 input variant. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
85 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
86 OPTIONS |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
87 -h [ --help ] |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
88 Print this help message. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
89 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
90 --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
91 This is a beta command. To run this command, you must pass the --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
92 flag. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
93 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
94 --reference arg |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
95 The reference crr file. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
96 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
97 --input arg (=STDIN) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
98 The input variants to test for. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
99 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
100 --output arg (=STDOUT) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
101 The output file (may be omitted for stdout). |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
102 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
103 --variants arg |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
104 The input variant files (may be passed in as arguments at the end of |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
105 the command). |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
106 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
107 SUPPORTED FORMAT_VERSION |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
108 0.3 or later |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
109 </help> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
110 </tool> |