Mercurial > repos > rhpvorderman > updio
annotate updio.xml @ 0:0bc9750fc1db draft default tip
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
author | rhpvorderman |
---|---|
date | Wed, 13 Dec 2023 15:41:00 +0000 |
parents | |
children |
rev | line source |
---|---|
0
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
1 <tool id="updio" name="UPDio" version="1.1.0+galaxy3" python_template_version="3.5" profile="21.05"> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
2 <requirements> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
3 <requirement type="package" version="1.1.0">updio</requirement> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
4 <container type="docker">quay.io/biocontainers/updio:1.1.0--hdfd78af_0</container> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
5 </requirements> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
7 #if str($input_type.input_type_selector) == "file" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
8 #from pathlib import Path |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
9 #set $child_id = Path(str($input_type.child_id_file)).read_text().strip() |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
10 #set $mother_id = Path(str($input_type.mother_id_file)).read_text().strip() |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
11 #set $father_id = Path(str($input_type.father_id_file)).read_text().strip() |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
12 #end if |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
13 ln -s $multisample_vcf input.vcf.gz && |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
14 updio --multisample_vcf input.vcf.gz |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
15 --childID $child_id |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
16 --momID $mother_id |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
17 --dadID $father_id && |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
18 mv output_dir/${child_id}.table ${updio_table} && |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
19 mv output_dir/${child_id}.upd ${updio_verdict} |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
20 ]]></command> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
21 <inputs> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
22 <param name="multisample_vcf" type="data" format="vcf_bgzip" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
23 label="multisample VCF file" /> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
24 <param name="output_label" type="text" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
25 label="Analysis name, to distinguish the output." /> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
26 <conditional name="input_type"> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
27 <param name="input_type_selector" type="select" label="Sample IDs submitted by:"> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
28 <option value="text" selected="true">Text</option> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
29 <option value="file">Files (for easier workflow integration)</option> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
30 </param> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
31 <when value="text"> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
32 <param name="child_id" type="text" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
33 label="child sample ID in the VCF file" /> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
34 <param name="mother_id" type="text" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
35 label="Mother sample ID in the VCF file" /> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
36 <param name="father_id" type="text" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
37 label="Father sample ID in the VCF file" /> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
38 </when> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
39 <when value="file"> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
40 <param name="child_id_file" type="data" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
41 label="Child sample ID in the VCF file. Provided as a single line file."/> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
42 <param name="mother_id_file" type="data" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
43 label="Mother sample ID in the VCF file. Provided as a single line file."/> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
44 <param name="father_id_file" type="data" |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
45 label="Father sample ID in the VCF file. Provided as a single line file."/> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
46 </when> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
47 </conditional> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
48 </inputs> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
49 <outputs> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
50 <data format="tsv" name="updio_table" label="${tool.name} on ${output_label}: table"/> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
51 <data format="tsv" name="updio_verdict" label="${tool.name} on ${output_label}: verdict"/> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
52 </outputs> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
53 <help><![CDATA[ |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
54 UPDio is designed to detect UPD events in probands from vcf trio data. |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
55 ]]></help> |
0bc9750fc1db
planemo upload commit 1b7d98a104f966bbc5edbbee79160b8994b57081
rhpvorderman
parents:
diff
changeset
|
56 </tool> |