annotate shapeit_phase.xml @ 15:201d098d6d67 draft

planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
author sanbi-uwc
date Tue, 18 Sep 2018 06:39:22 -0400
parents f92f1cc9e382
children 1a00583b6b2c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
201d098d6d67 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 14
diff changeset
1 <tool id="shapeit_phase" name="shapeit_phase" version="0.14.0">
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
2 <description>genomic data with or without reference panel</description>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
3
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
4 <requirements>
4
39e075021957 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 3
diff changeset
5 <requirement type="package" version="2.r837">shapeit</requirement>
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
6 </requirements>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
7 <stdio>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
8 <exit_code range="1:" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
9 </stdio>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
10
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
11 <command><![CDATA[
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
12 #if str($input_files.input_type_select) == 'plink_bed_bim_fam_list':
11
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
13 ln -s '${input_files.plink_bed_etc_list[0]}' input.plink_bed &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
14 ln -s '${input_files.plink_bed_etc_list[1]}' input.plink_bim &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
15 ln -s '${input_files.plink_bed_etc_list[2]}' input.plink_fam &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
16 echo "BED file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
17 ls -l input.plink_bed &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
18 echo "BIM file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
19 head -2 input.plink_bim &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
20 echo "FAM file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
21 head -2 input.plink_fam &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
22 PART=`head -1 input.plink_bim | cut -f1` &&
9
9f7a81693561 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 8
diff changeset
23 echo "Working on PART: \$PART" &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
24 #else
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
25 PART=''
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
26 #end if
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
27 #if str($use_ref_panel.use_ref_panel_select) == "use_ref_panel_yes" and str($use_ref_panel.ref_panel_from_table.ref_panel_from_table_select) == "ref_panel_from_table_yes":
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
28 REF_DIR='${use_ref_panel.ref_panel_from_table.ref_from_table.fields.path}' &&
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
29 REF_PREFIX='${use_ref_panel.ref_panel_from_table.ref_from_table.fields.reference_prefix}' &&
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
30 SAMPLE_PREFIX="\$REF_DIR/${use_ref_panel.ref_panel_from_table.ref_from_table.fields.sample_prefix}" &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
31 SAMPLE=`ls \$SAMPLE_PREFIX*.sample` &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
32 if [ ! -f "\$SAMPLE" ] ; then
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
33 echo "Failed to find valid sample file at \$SAMPLE" >&2 &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
34 exit 1 ;
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
35 fi &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
36 HAP="\${REF_DIR}/\${REF_PREFIX}\${PART}.hap.gz" &&
12
557cc7904a2b planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 11
diff changeset
37 if [ ! -f "\$HAP" ] ; then
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
38 echo "Failed to find valid .hap file at \$HAP" >&2 &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
39 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
40 fi &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
41 LEGEND="\${REF_DIR}/\${REF_PREFIX}\${PART}.legend.gz" &&
12
557cc7904a2b planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 11
diff changeset
42 if [ ! -f "\$LEGEND" ] ; then
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
43 echo "Failed to find valid .legend file at \$LEGEND" >&2 &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
44 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
45 fi &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
46 #end if
15
201d098d6d67 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 14
diff changeset
47 #if $use_genetic_map.use_genetic_map_select == "use_genetic_map_yes" and $use_genetic_map.genetic_map_from_table.genetic_map_from_table_select == "genetic_map_from_table_yes":
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
48 MAP_DIR='${use_genetic_map.genetic_map_from_table.map_from_table.fields.path}' &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
49 MAP_PREFIX='${use_genetic_map.genetic_map_from_table.map_from_table.fields.map_prefix}' &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
50 MAP=`ls \${MAP_DIR}/\${MAP_PREFIX}\${PART}_*` &&
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
51 if [ ! -f "\${MAP}" ] ; then
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
52 echo "Failed to find valid map file at \${MAP}" >&2 &&
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
53 exit 1 ;
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
54 fi &&
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
55 #end if
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
56 #if $input_files.input_type_select == "plink_bed_bim_fam_list":
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
57 echo "COLLECTION NAME:" ${input_files.plink_bed_etc_list.name} &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
58 #for $dat in $input_files.plink_bed_etc_list:
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
59 echo Processing NAME '${dat.name}' &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
60 #end for
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
61 #end if
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
62
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
63 shapeit
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
64
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
65 #if $input_files.input_type_select == "vcf":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
66 --input-vcf ${input_files.vcf_file}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
67 #else if $input_files.input_type_select == "plink_ped_map":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
68 --input-ped ${input_files.plink_ped} ${input_files.plink_map}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
69 #if $input_files.plink_missing_code != "0":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
70 --missing_code $input_files.plink_missing_code
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
71 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
72 #else if $input_files.input_type_select == "plink_bed_bim_fam":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
73 --input-bed ${input_files.plink_bed} ${input_files.plink_bim} ${input_files.plink_fam}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
74 #else if $input_files.input_type_select == "plink_bed_bim_fam_list":
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
75 --input-bed input.plink_bed input.plink_bim input.plink_fam
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
76 #else if $input_files.inputy_type_select == "oxford_gen_sample":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
77 --input-gen ${input_files.oxford_gen} ${input_files.oxford_sample}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
78 #if $input_files.oxford_threshold != "0.9":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
79 --input-thr $input_files.oxford_threshold
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
80 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
81 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
82
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
83 #if $use_genetic_map.use_genetic_map_select == "use_genetic_map_yes":
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
84 #if $use_genetic_map.genetic_map_from_table.genetic_map_from_table_select == "genetic_map_from_table_yes":
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
85 --input-map \$MAP
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
86 #else:
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
87 --input-map $use_genetic_map.genetic_map
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
88 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
89 #else if $use_genetic_map.rho != "0.0004":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
90 --rho $use_genetic_map.rho
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
91 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
92
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
93 #if $use_ref_panel.use_ref_panel_select == "use_ref_panel_yes":
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
94 #if $use_ref_panel.ref_panel_from_table.ref_panel_from_table_select == "ref_panel_from_table_yes":
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
95 --input-ref \$HAP \$LEGEND \$SAMPLE
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
96 #else
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
97 --input-ref $use_ref_panel.ref_panel_from_table.ref_panel_haps $use_ref_panel.ref_panel_from_table.ref_panel_legend $use_ref_panel.ref_panel_from_table.ref_panel_sample
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
98 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
99 #if $use_ref_panel.disable_mcmc_iterations == "disable_mcmc_iterations_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
100 --no-mcmc
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
101 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
102 #if $use_ref_panel.filter_groups == "exclude_groups":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
103 --exclude-grp $use_ref_panel.filter_groups.exclude_groups_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
104 #else if $use_ref_panel.filter_groups == "include_groups":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
105 --include-grp $use_ref_panel.filter_groups.include_groups_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
106 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
107 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
108
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
109 #if $use_filters.use_filters_select == "use_filters_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
110 #if $use_filters.use_input_from == "use_input_from_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
111 --input-from $input_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
112 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
113 #if $use_filters.use_input_to == "use_input_to_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
114 --input-to $input_to
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
115 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
116 #if $use_filters.use_output_from == "use_output_from_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
117 --output-from $output_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
118 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
119 #if $use_filters.use_output_to == "use_output_to_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
120 --output-to $output_to
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
121 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
122 #if $use_filters.filter_individuals == "exclude_individuals":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
123 --exclude-ind $use_filters.exclude_inviduals_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
124 #else if $use_filters.filter_individuals == "include_individuals":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
125 --include-ind $use_filters.include_inviduals_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
126 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
127 #if $use_filters.filter_individuals == "exclude_SNPs":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
128 --exclude-snp $use_filters.exclude_SNPs_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
129 #else if $use_filters.filter_SNPs == "include_SNPs":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
130 --include-snp $use_filters.include_SNPs_file
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
131 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
132 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
133
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
134 #if $use_advanced_parameters.use_advanced_parameters_select == "use_advanced_parameters_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
135 #if $use_advanced_parameters.chrX == "chrX_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
136 --chrX
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
137 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
138 #if $use_advanced_parameters.noped == "noped_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
139 --noped
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
140 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
141 #if $use_advanced_parameters.states != "100":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
142 --states $use_advanced_parameters.states
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
143 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
144 #if $use_advanced_parameters.window != "2.0":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
145 --window $use_advanced_parameters.window
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
146 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
147 #if $use_advanced_parameters.model_version1 == "use_v1_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
148 --model-version1
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
149 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
150 #if $use_advanced_parameters.eff_size.eff_size_select == "eff_size_european":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
151 --effective-size 11418
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
152 #else if $use_advanced_parameters.eff_size.eff_size_select == "eff_size_african":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
153 --effective-size 17469
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
154 #else if $use_advanced_parameters.eff_size.eff_size_select == "eff_size_asian":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
155 --effective-size 14269
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
156 #else if $use_advanced_parameters.eff_size.eff_size_select == "eff_size_mixedpop":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
157 --effective-size $use_advanced_parameters.eff_size.eff_size_mixed
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
158 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
159 #if $use_advanced_parameters.burn != "7":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
160 --burn $use_advanced_parameters.burn
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
161 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
162 #if $use_advanced_parameters.prune != "8":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
163 --prune $use_advanced_parameters.prune
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
164 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
165 #if $use_advanced_parameters.main != "20":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
166 --main $use_advanced_parameters.main
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
167 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
168 #if $use_advanced_parameters.threads != "1":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
169 --threads $use_advanced_parameters.threads
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
170 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
171 #if $use_advanced_parameters.set_rng_seed.set_rng_seed_select == "set_rng_seed_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
172 --seed $use_advanced_parameters.rng_seed
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
173 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
174 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
175 --output-max $out_haps $out_sample
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
176 --output-graph $out_graph
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
177 --output-log $out_log
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
178 ]]></command>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
179
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
180 <inputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
181 <conditional name="input_files">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
182 <param name="input_type_select" type="select" label="Please specify your input files.">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
183 <option value="vcf" selected="True">VCF Variant Call Format</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
184 <option value="plink_ped_map">Plink PED/MAP format</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
185 <option value="plink_bed_bim_fam">Plink BED/BIM/FAM format</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
186 <option value="plink_bed_bim_fam_list">Plink BED/BIM/FAM format list</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
187 <option value="oxford_gen_sample">Oxford GEN/SAMPLE format</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
188 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
189 <when value="plink_ped_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
190 <param name="plink_ped" type="data" format="txt" label="Specify text genotype file (.ped)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
191 <param name="plink_map" type="data" format="txt" label="Specify SNP map file (.map)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
192 <param name="plink_missing_code" type="text" label="Missing data labeled as" value="0"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
193 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
194 <when value="plink_bed_bim_fam">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
195 <param name="plink_bed" type="data" format="binary" label="Specify binary genotype file (.bed)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
196 <param name="plink_bim" type="data" format="txt" label="Specify SNP map file (.bim)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
197 <param name="plink_fam" type="data" format="txt" label="Specify individual information file (.fam)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
198 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
199 <when value="plink_bed_bim_fam_list">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
200 <param name="plink_bed_etc_list" type="data_collection" collection_type="list" label="BED/BIM/FAM files as a collection (list)" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
201 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
202 <when value="oxford_gen_sample">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
203 <param name="oxford_gen" type="data" format="txt" label="Specify text genotype file (.gen)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
204 <param name="oxford_sample" type="data" format="txt" label="Specify individual information file (.sample)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
205 <param name="oxford_threshold" type="float" label="SNP Probability threshold" value="0.9"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
206 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
207 <when value="vcf">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
208 <param name="vcf_file" type="data" format="vcf" label="Specify Variant Call Format file (.vcf)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
209 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
210 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
211
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
212 <conditional name="use_genetic_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
213 <param name="use_genetic_map_select" type="select" label="Do you want to use a genetic map?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
214 <option value="use_genetic_map_yes" selected="True">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
215 <option value="use_genetic_map_no">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
216 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
217 <when value="use_genetic_map_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
218 <conditional name="genetic_map_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
219 <param name="genetic_map_from_table_select" type="select" label="Use built in data?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
220 <option value="genetic_map_from_table_yes" selected="True">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
221 <option value="genetic_map_from_table_no">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
222 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
223 <when value="genetic_map_from_table_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
224 <param name="map_from_table" type="select" label="Select reference map">
8
00788810fe57 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 6
diff changeset
225 <options from_data_table="shapeit2_ref" />
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
226 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
227 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
228 <when value="genetic_map_from_table_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
229 <param name="genetic_map" type="data" format="txt" label="Genetic map file (.gmap)" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
230 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
231 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
232 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
233 <when value="use_genetic_map_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
234 <param name="rho" type="float" value="0.0004" label="Adjust recombination rate (--rho) for human data (0.001)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
235 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
236 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
237
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
238 <conditional name="use_ref_panel">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
239 <param name="use_ref_panel_select" type="select" label="Do you want to use a reference panel?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
240 <option value="use_ref_panel_yes">Use a reference panel</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
241 <option value="use_ref_panel_no" selected="True">Do not use reference panel</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
242 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
243 <when value="use_ref_panel_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
244 <conditional name="ref_panel_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
245 <param name="ref_panel_from_table_select" type="select" label="Use built in data?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
246 <option value="ref_panel_from_table_yes" selected="True">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
247 <option value="ref_panel_from_table_no">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
248 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
249 <when value="ref_panel_from_table_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
250 <param name="ref_from_table" type="select" label="Select reference panel">
8
00788810fe57 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 6
diff changeset
251 <options from_data_table="shapeit2_ref" />
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
252 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
253 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
254 <when value="ref_panel_from_table_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
255 <param name="ref_panel_haps" type="data" format="data" label="Specify reference haplotypes file (.haps)" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
256 <param name="ref_panel_legend" type="data" format="data" label="Specify SNP map file (.legend)" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
257 <param name="ref_panel_sample" type="data" format="data" label="Specify individual information file (.sample)" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
258 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
259 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
260 <conditional name="disable_mcmc_iterations">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
261 <param name="disable_mcmc_iterations_select" type="select" label="Disable MCMC iterations">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
262 <option value="disable_mcmc_iterations_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
263 <option value="disable_mcmc_iterations_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
264 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
265 <when value="disable_mcmc_iterations_yes"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
266 <when value="disable_mcmc_iterations_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
267 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
268
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
269 <conditional name="filter_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
270 <param name="filter_groups_select" type="select" label="Do you want to filter groups?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
271 <option value="no_individual_filter" selected="True">No filtering</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
272 <option value="exclude_groups">Exclude list of groups</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
273 <option value="include_groups">Limit list of groups</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
274 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
275 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
276 <when value="exclude_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
277 <param name="exclude_inviduals_file" type="data" format="txt" label="Specify file with excluded groups (.exc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
278 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
279 <when value="include_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
280 <param name="include_inviduals_file" type="data" format="txt" label="Specify file with limited groups (.inc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
281 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
282 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
283
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
284 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
285 <when value="use_ref_panel_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
286 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
287 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
288
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
289 <conditional name="use_advanced_parameters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
290 <param name="use_advanced_parameters_select" type="select" label="Set parameters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
291 <option value="use_advanced_parameters_yes">Use advanced parameters</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
292 <option value="use_advanced_parameters_no" selected="True">Use standard parameters</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
293 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
294
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
295 <when value="use_advanced_parameters_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
296 <param name="chrX" type="select" label="Use X chromosomal genotypes?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
297 <option value="chrX_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
298 <option value="chrX_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
299 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
300
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
301 <param name="noped" type="select" label="Discard pedigree/family information?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
302 <option value="noped_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
303 <option value="noped_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
304 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
305
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
306 <param name="states" type="integer" label="Number of conditioning haplotypes used during phasing (--states)" value="100"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
307 <param name="window" type="float" label="Window size [Mb] in which conditioning haplotypes are defined" value="2.0"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
308 <param name="model_version1" type="select" label="Use SHAPEIT v1 graphical model">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
309 <option value="use_v1_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
310 <option value="use_v1_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
311 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
312
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
313 <conditional name="eff_size">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
314 <param name="eff_size_select" type="select" label="Effective population size for phasing">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
315 <option value="eff_size_european">European population (11418)</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
316 <option value="eff_size_african">African population (17469)</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
317 <option value="eff_size_asian">Asian population (14269)</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
318 <option value="eff_size_mixed_option" selected="True">Mixed population</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
319 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
320 <when value="eff_size_european"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
321 <when value="eff_size_african"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
322 <when value="eff_size_asian"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
323 <when value="eff_size_mixed_option">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
324 <param name="eff_size_mixed" type="integer" label="Specify effective population size, depending on proportions [11418,17469]" value="14443"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
325 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
326 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
327
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
328 <param name="burn" type="integer" value="7" label="Number of burn-in iterations to find good starting point"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
329 <param name="prune" type="integer" value="8" label="Number of pruning iterations to find parsimonious graphs"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
330 <param name="main" type="integer" value="20" label="Number of iterations to compute transition probabilities"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
331 <param name="threads" type="integer" value="1" label="Specify number of threads"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
332
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
333 <conditional name="set_rng_seed">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
334 <param name="set_rng_seed_select" type="select" label="Set seed for random number generator (RNG)">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
335 <option value="set_rng_seed_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
336 <option value="set_rng_seed_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
337 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
338 <when value="set_rng_seed_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
339 <param name="rng_seed" type="integer" value="18011981" label="RNG seed" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
340 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
341 <when value="set_rng_seed_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
342 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
343 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
344 <when value="use_advanced_parameters_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
345 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
346
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
347 <conditional name="use_filters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
348 <param name="use_filters_select" type="select" label="Apply filtering">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
349 <option value="use_filters_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
350 <option value="use_filters_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
351 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
352 <when value="use_filters_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
353
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
354 <conditional name="use_input_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
355 <param name="use_input_from_select" type="select" label="Only consider genotypes above a position?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
356 <option value="use_input_from_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
357 <option value="use_input_from_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
358 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
359 <when value="use_input_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
360 <param name="input_from" type="integer" value="1" label="Set position:"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
361 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
362 <when value="use_input_from_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
363 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
364
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
365 <conditional name="use_input_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
366 <param name="use_input_to_select" type="select" label="Only consider genotypes above a position?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
367 <option value="use_input_to_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
368 <option value="use_input_to_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
369 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
370 <when value="use_input_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
371 <param name="input_to" type="integer" value="1" label="Set position:"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
372 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
373 <when value="use_input_to_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
374 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
375
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
376 <conditional name="use_output_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
377 <param name="use_output_from_select" type="select" label="Only output genotypes above a position?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
378 <option value="use_output_from_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
379 <option value="use_output_from_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
380 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
381 <when value="use_output_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
382 <param name="output_from" type="integer" value="1" label="Set position:"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
383 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
384 <when value="use_output_from_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
385 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
386
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
387 <conditional name="use_output_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
388 <param name="use_output_to_select" type="select" label="Only output genotypes above a position?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
389 <option value="use_output_to_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
390 <option value="use_output_to_no" selected="True">No</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
391 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
392 <when value="use_output_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
393 <param name="output_to" type="integer" value="1" label="Set position:"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
394 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
395 <when value="use_output_to_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
396 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
397
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
398 <conditional name="filter_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
399 <param name="filter_individuals_select" type="select" label="Do you want to filter individuals?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
400 <option value="no_individual_filter" selected="True">No filtering</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
401 <option value="exclude_individuals">Exclude list of individuals</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
402 <option value="include_individuals">Limit list of individuals</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
403 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
404 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
405 <when value="exclude_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
406 <param name="exclude_inviduals_file" type="data" format="txt" label="Specify file with excluded individuals (.exc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
407 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
408 <when value="include_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
409 <param name="include_inviduals_file" type="data" format="txt" label="Specify file with limited individuals (.inc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
410 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
411 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
412
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
413 <conditional name="filter_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
414 <param name="filter_SNPs_select" type="select" label="Do you want to filter SNPs?">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
415 <option value="no_individual_filter" selected="True">No filtering</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
416 <option value="exclude_SNPs">Exclude list of SNPs</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
417 <option value="include_SNPs">Limit list of SNPs</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
418 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
419 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
420 <when value="exclude_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
421 <param name="exclude_inviduals_file" type="data" format="txt" label="Specify file with excluded SNPs (.exc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
422 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
423 <when value="include_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
424 <param name="include_inviduals_file" type="data" format="txt" label="Specify file with limited SNPs (.inc)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
425 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
426 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
427 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
428 <when value="use_filters_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
429 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
430
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
431 </inputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
432 <outputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
433 <data name="out_haps" format="tabular" label="${tool.name} on ${on_string} haplotypes (.haps)"/>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
434 <data name="out_sample" format="tabular" label="${tool.name} on ${on_string} additional information (.sample)"/>
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
435 <data name="out_graph" format="txt" label="${tool.name} on ${on_string} haplotype graphs (.hgraph)"/>
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
436 <data name="out_log" format="txt" label="${tool.name} on ${on_string} logfile (.log)"/>
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
437 </outputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
438 <help><![CDATA[
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
439 TODO: Fill in help.
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
440 ]]></help>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
441 <citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
442 <citation type="doi">10.1038/nmeth.1785</citation>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
443 </citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
444 </tool>