annotate shapeit_phase.xml @ 10:03af7e3e3b2f draft

planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
author sanbi-uwc
date Tue, 18 Sep 2018 01:54:33 -0400
parents 9f7a81693561
children f25ff17454f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
03af7e3e3b2f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 9
diff changeset
1 <tool id="shapeit_phase" name="shapeit_phase" version="0.9.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[
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
12 #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" and str($input_files.input_type_select) == 'plink_bed_bim_fam_list':
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
13 PART=`head -1 myfile.bim | cut -f1` &&
9
9f7a81693561 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 8
diff changeset
14 echo "Working on PART: \$PART" &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
15 REF_DIR='${use_genetic_map.genetic_map_from_table.map_from_table.fields.path}' &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
16 REF_PREFIX='${use_genetic_map.genetic_map_from_table.map_from_table.fields.reference_prefix}' &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
17 SAMPLE_PREFIX="\$REF_DIR/${use_genetic_map.genetic_map_from_table.map_from_table.fields.sample_prefix}" &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
18 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
19 if [ ! -f "\$SAMPLE" ] ; then
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
20 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
21 exit 1 ;
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
22 fi &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
23 HAP="\${REF_DIR}/\${REF_PREFIX}\${PART}.hap.gz" &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
24 if [ -f "\$HAP" ] ; then
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
25 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
26 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
27 fi &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
28 LEGEND="\${REF_DIR}/\${REF_PREFIX}\${PART}.legend.gz" &&
10
03af7e3e3b2f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 9
diff changeset
29 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
30 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
31 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
32 fi &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
33 MAP_PREFIX='${use_genetic_map.genetic_map_from_table.map_from_table.fields.map_prefix}' &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
34 MAP=`ls \${REF_DIR}/\${MAP_PREFIX}\${PART}_*` &&
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
35 if [ ! -f "\${MAP}" ] ; then
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
36 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
37 exit 1 ;
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
38 fi &&
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
39 #end if
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
40 #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
41 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
42 #for $dat in $input_files.plink_bed_etc_list:
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
43 echo NAME '${dat.name}' &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
44 #end for
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
45 ln -s '${input_files.plink_bed_etc_list[0]}' input.plink_bed &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
46 ln -s '${input_files.plink_bed_etc_list[1]}' input.plink_bim &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
47 ln -s '${input_files.plink_bed_etc_list[2]}' input.plink_fam &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
48 echo "BED file" &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
49 ls -l input.plink_bed &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
50 echo "BIM file" &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
51 head -2 input.plink_bim &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
52 echo "FAM file" &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
53 head -2 input.plink_fam &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
54 #end if
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
55
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
56 shapeit
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
57
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
58 #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
59 --input-vcf ${input_files.vcf_file}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
60 #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
61 --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
62 #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
63 --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
64 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
65 #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
66 --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
67 #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
68 --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
69 #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
70 --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
71 #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
72 --input-thr $input_files.oxford_threshold
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
73 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
74 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
75
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
76 #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
77 #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
78 --input-map \$MAP
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
79 #else:
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
80 --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
81 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
82 #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
83 --rho $use_genetic_map.rho
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
84 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
85
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
86 #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
87 #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
88 --input-ref \$HAP \$LEGEND \$SAMPLE
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
89 #else
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
90 --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
91 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
92 #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
93 --no-mcmc
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
94 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
95 #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
96 --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
97 #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
98 --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
99 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
100 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
101
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
102 #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
103 #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
104 --input-from $input_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
105 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
106 #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
107 --input-to $input_to
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
108 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
109 #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
110 --output-from $output_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
111 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
112 #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
113 --output-to $output_to
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
114 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
115 #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
116 --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
117 #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
118 --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
119 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
120 #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
121 --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
122 #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
123 --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
124 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
125 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
126
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
127 #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
128 #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
129 --chrX
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
130 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
131 #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
132 --noped
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
133 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
134 #if $use_advanced_parameters.states != "100":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
135 --states $use_advanced_parameters.states
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
136 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
137 #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
138 --window $use_advanced_parameters.window
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
139 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
140 #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
141 --model-version1
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
142 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
143 #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
144 --effective-size 11418
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
145 #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
146 --effective-size 17469
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
147 #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
148 --effective-size 14269
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
149 #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
150 --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
151 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
152 #if $use_advanced_parameters.burn != "7":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
153 --burn $use_advanced_parameters.burn
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
154 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
155 #if $use_advanced_parameters.prune != "8":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
156 --prune $use_advanced_parameters.prune
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
157 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
158 #if $use_advanced_parameters.main != "20":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
159 --main $use_advanced_parameters.main
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
160 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
161 #if $use_advanced_parameters.threads != "1":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
162 --threads $use_advanced_parameters.threads
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
163 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
164 #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
165 --seed $use_advanced_parameters.rng_seed
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
166 #end if
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 --output-max $out_haps $out_sample
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
169 --output-graph $out_graph
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
170 --output-log $out_log
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
171 ]]></command>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
172
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
173 <inputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
174 <conditional name="input_files">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
175 <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
176 <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
177 <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
178 <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
179 <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
180 <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
181 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
182 <when value="plink_ped_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
183 <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
184 <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
185 <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
186 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
187 <when value="plink_bed_bim_fam">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
188 <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
189 <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
190 <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
191 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
192 <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
193 <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
194 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
195 <when value="oxford_gen_sample">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
196 <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
197 <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
198 <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
199 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
200 <when value="vcf">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
201 <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
202 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
203 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
204
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
205 <conditional name="use_genetic_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
206 <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
207 <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
208 <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
209 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
210 <when value="use_genetic_map_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
211 <conditional name="genetic_map_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
212 <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
213 <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
214 <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
215 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
216 <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
217 <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
218 <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
219 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
220 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
221 <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
222 <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
223 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
224 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
225 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
226 <when value="use_genetic_map_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
227 <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
228 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
229 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
230
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
231 <conditional name="use_ref_panel">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
232 <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
233 <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
234 <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
235 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
236 <when value="use_ref_panel_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
237 <conditional name="ref_panel_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
238 <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
239 <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
240 <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
241 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
242 <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
243 <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
244 <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
245 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
246 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
247 <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
248 <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
249 <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
250 <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
251 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
252 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
253 <conditional name="disable_mcmc_iterations">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
254 <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
255 <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
256 <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
257 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
258 <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
259 <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
260 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
261
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
262 <conditional name="filter_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
263 <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
264 <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
265 <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
266 <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
267 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
268 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
269 <when value="exclude_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
270 <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
271 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
272 <when value="include_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
273 <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
274 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
275 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
276
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
277 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
278 <when value="use_ref_panel_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
279 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
280 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
281
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
282 <conditional name="use_advanced_parameters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
283 <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
284 <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
285 <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
286 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
287
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
288 <when value="use_advanced_parameters_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
289 <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
290 <option value="chrX_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
291 <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
292 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
293
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
294 <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
295 <option value="noped_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
296 <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
297 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
298
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
299 <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
300 <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
301 <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
302 <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
303 <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
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 <conditional name="eff_size">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
307 <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
308 <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
309 <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
310 <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
311 <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
312 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
313 <when value="eff_size_european"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
314 <when value="eff_size_african"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
315 <when value="eff_size_asian"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
316 <when value="eff_size_mixed_option">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
317 <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
318 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
319 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
320
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
321 <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
322 <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
323 <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
324 <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
325
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
326 <conditional name="set_rng_seed">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
327 <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
328 <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
329 <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
330 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
331 <when value="set_rng_seed_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
332 <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
333 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
334 <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
335 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
336 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
337 <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
338 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
339
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
340 <conditional name="use_filters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
341 <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
342 <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
343 <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
344 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
345 <when value="use_filters_yes">
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_input_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
348 <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
349 <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
350 <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
351 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
352 <when value="use_input_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
353 <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
354 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
355 <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
356 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
357
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
358 <conditional name="use_input_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
359 <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
360 <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
361 <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
362 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
363 <when value="use_input_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
364 <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
365 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
366 <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
367 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
368
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
369 <conditional name="use_output_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
370 <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
371 <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
372 <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
373 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
374 <when value="use_output_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
375 <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
376 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
377 <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
378 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
379
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
380 <conditional name="use_output_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
381 <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
382 <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
383 <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
384 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
385 <when value="use_output_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
386 <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
387 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
388 <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
389 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
390
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
391 <conditional name="filter_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
392 <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
393 <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
394 <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
395 <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
396 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
397 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
398 <when value="exclude_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
399 <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
400 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
401 <when value="include_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
402 <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
403 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
404 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
405
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
406 <conditional name="filter_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
407 <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
408 <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
409 <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
410 <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
411 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
412 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
413 <when value="exclude_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
414 <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
415 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
416 <when value="include_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
417 <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
418 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
419 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
420 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
421 <when value="use_filters_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
422 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
423
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
424 </inputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
425 <outputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
426 <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
427 <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
428 <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
429 <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
430 </outputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
431 <help><![CDATA[
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
432 TODO: Fill in help.
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
433 ]]></help>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
434 <citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
435 <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
436 </citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
437 </tool>