annotate shapeit_phase.xml @ 20:a5ef4f2c8124 draft

planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
author sanbi-uwc
date Tue, 18 Sep 2018 11:57:49 -0400
parents 42bafd3c5a83
children 394bd82a4c40
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
a5ef4f2c8124 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 19
diff changeset
1 <tool id="shapeit_phase" name="shapeit_phase" version="0.19.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 <requirements>
4
39e075021957 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 3
diff changeset
4 <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
5 </requirements>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
6 <stdio>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
7 <exit_code range="1:" />
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
8 </stdio>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
9
17
1f460ad509b6 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 16
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
11 #if str($input_files.input_type_select) == 'plink_bed_bim_fam_list':
11
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
12 ln -s '${input_files.plink_bed_etc_list[0]}' input.plink_bed &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
13 ln -s '${input_files.plink_bed_etc_list[1]}' input.plink_bim &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
14 ln -s '${input_files.plink_bed_etc_list[2]}' input.plink_fam &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
15 echo "BED file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
16 ls -l input.plink_bed &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
17 echo "BIM file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
18 head -2 input.plink_bim &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
19 echo "FAM file" &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
20 head -2 input.plink_fam &&
f25ff17454f4 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 10
diff changeset
21 PART=`head -1 input.plink_bim | cut -f1` &&
9
9f7a81693561 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 8
diff changeset
22 echo "Working on PART: \$PART" &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
23 #else
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
24 PART=''
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
25 #end if
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
26 #if str($use_ref_panel.use_ref_panel_select) == "use_ref_panel_yes" and str($use_ref_panel.ref_panel_from_table.ref_panel_from_table_select) == "ref_panel_from_table_yes":
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
27 REF_DIR='${use_ref_panel.ref_panel_from_table.ref_from_table.fields.path}' &&
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
28 REF_PREFIX='${use_ref_panel.ref_panel_from_table.ref_from_table.fields.reference_prefix}' &&
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
29 SAMPLE_PREFIX="\$REF_DIR/${use_ref_panel.ref_panel_from_table.ref_from_table.fields.sample_prefix}" &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
30 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
31 if [ ! -f "\$SAMPLE" ] ; then
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
32 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
33 exit 1 ;
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
34 fi &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
35 HAP="\${REF_DIR}/\${REF_PREFIX}\${PART}.hap.gz" &&
12
557cc7904a2b planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 11
diff changeset
36 if [ ! -f "\$HAP" ] ; then
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
37 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
38 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
39 fi &&
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
40 LEGEND="\${REF_DIR}/\${REF_PREFIX}\${PART}.legend.gz" &&
12
557cc7904a2b planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 11
diff changeset
41 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
42 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
43 exit 1 ;
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
44 fi &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
45 #end if
15
201d098d6d67 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 14
diff changeset
46 #if $use_genetic_map.use_genetic_map_select == "use_genetic_map_yes" and $use_genetic_map.genetic_map_from_table.genetic_map_from_table_select == "genetic_map_from_table_yes":
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
47 MAP_DIR='${use_genetic_map.genetic_map_from_table.map_from_table.fields.path}' &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
48 MAP_PREFIX='${use_genetic_map.genetic_map_from_table.map_from_table.fields.map_prefix}' &&
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
49 MAP=`ls \${MAP_DIR}/\${MAP_PREFIX}\${PART}_*` &&
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
50 if [ ! -f "\${MAP}" ] ; then
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
51 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
52 exit 1 ;
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
53 fi &&
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
54 #end if
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
55 #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
56 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
57 #for $dat in $input_files.plink_bed_etc_list:
13
b69dadabf671 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
sanbi-uwc
parents: 12
diff changeset
58 echo Processing NAME '${dat.name}' &&
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
59 #end for
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
60 #end if
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
61
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
62 shapeit
20
a5ef4f2c8124 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 19
diff changeset
63 --thread \${GALAXY_SLOTS:-1}
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
64
16
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
65 #if $check_mode != "":
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
66 -check
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
67 #end if
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
68
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
69 #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
70 --input-vcf ${input_files.vcf_file}
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
71 #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
72 --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
73 #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
74 --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
75 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
76 #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
77 --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
78 #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
79 --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
80 #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
81 --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
82 #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
83 --input-thr $input_files.oxford_threshold
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 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
86
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
87 #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
88 #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
89 --input-map \$MAP
5
ceb05c9e6d0a planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 919e9937cdb568591f89a412e22a1124bbb56f77-dirty
sanbi-uwc
parents: 4
diff changeset
90 #else:
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
91 --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
92 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
93 #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
94 --rho $use_genetic_map.rho
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
95 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
96
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
97 #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
98 #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
99 --input-ref \$HAP \$LEGEND \$SAMPLE
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
100 #else
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
101 --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
102 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
103 #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
104 --no-mcmc
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_ref_panel.filter_groups == "exclude_groups":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
107 --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
108 #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
109 --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
110 #end if
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
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
113 #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
114 #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
115 --input-from $input_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
116 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
117 #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
118 --input-to $input_to
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.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
121 --output-from $output_from
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
122 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
123 #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
124 --output-to $output_to
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 #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
127 --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
128 #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
129 --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
130 #end if
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
131 #if $use_filters.filter_SNPs.filter_SNPs_select == "exclude_SNPs":
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
132 --exclude-snp $use_filters.filter_SNPs.exclude_SNPs_file
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
133 #else if $use_filters.filter_SNPs.filter_SNPs_select == "include_SNPs":
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
134 --include-snp $use_filters.filter_SNPs.include_SNPs_file
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
135 #end if
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
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
138 #if $use_advanced_parameters.use_advanced_parameters_select == "use_advanced_parameters_yes":
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
139 $use_advanced_parameters.duohmm
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
140 #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
141 --chrX
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.noped == "noped_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
144 --noped
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
145 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
146 #if $use_advanced_parameters.states != "100":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
147 --states $use_advanced_parameters.states
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
148 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
149 #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
150 --window $use_advanced_parameters.window
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.model_version1 == "use_v1_yes":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
153 --model-version1
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.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
156 --effective-size 11418
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
157 #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
158 --effective-size 17469
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
159 #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
160 --effective-size 14269
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
161 #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
162 --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
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.burn != "7":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
165 --burn $use_advanced_parameters.burn
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 #if $use_advanced_parameters.prune != "8":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
168 --prune $use_advanced_parameters.prune
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
169 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
170 #if $use_advanced_parameters.main != "20":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
171 --main $use_advanced_parameters.main
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
172 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
173 #if $use_advanced_parameters.threads != "1":
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
174 --threads $use_advanced_parameters.threads
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
175 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
176 #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
177 --seed $use_advanced_parameters.rng_seed
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
178 #end if
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
179 #end if
16
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
180
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
181 #if $check_mode == "":
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
182 --output-max $out_haps $out_sample
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
183 --output-graph $out_graph
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
184 --output-log $out_log
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
185 #else
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
186 --output-log output
18
d3515c2a3f51 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 17
diff changeset
187 | grep -v 'ERROR:.* Reference and Main panels are not well aligned:'
d3515c2a3f51 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 17
diff changeset
188 ; mv output.log $out_log
d3515c2a3f51 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 17
diff changeset
189 && mv output.snp.strand $out_strand
d3515c2a3f51 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 17
diff changeset
190 && mv output.snp.strand.exclude $out_exclude
16
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
191 #end if
17
1f460ad509b6 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 16
diff changeset
192 # NOTE that in check mode we are ignoring the error related to panel misalignment
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
193 ]]></command>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
194 <inputs>
16
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
195 <param name="check_mode" type="boolean" truevalue="-check" falsevalue="" label="Run in -check mode (check data)" />
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
196 <conditional name="input_files">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
197 <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
198 <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
199 <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
200 <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
201 <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
202 <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
203 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
204 <when value="plink_ped_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
205 <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
206 <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
207 <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
208 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
209 <when value="plink_bed_bim_fam">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
210 <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
211 <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
212 <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
213 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
214 <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
215 <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
216 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
217 <when value="oxford_gen_sample">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
218 <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
219 <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
220 <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
221 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
222 <when value="vcf">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
223 <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
224 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
225 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
226
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
227 <conditional name="use_genetic_map">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
228 <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
229 <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
230 <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
231 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
232 <when value="use_genetic_map_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
233 <conditional name="genetic_map_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
234 <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
235 <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
236 <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
237 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
238 <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
239 <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
240 <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
241 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
242 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
243 <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
244 <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
245 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
246 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
247 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
248 <when value="use_genetic_map_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
249 <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
250 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
251 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
252
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
253 <conditional name="use_ref_panel">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
254 <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
255 <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
256 <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
257 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
258 <when value="use_ref_panel_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
259 <conditional name="ref_panel_from_table">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
260 <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
261 <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
262 <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
263 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
264 <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
265 <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
266 <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
267 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
268 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
269 <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
270 <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
271 <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
272 <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
273 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
274 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
275 <conditional name="disable_mcmc_iterations">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
276 <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
277 <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
278 <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
279 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
280 <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
281 <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
282 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
283
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
284 <conditional name="filter_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
285 <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
286 <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
287 <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
288 <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
289 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
290 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
291 <when value="exclude_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
292 <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
293 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
294 <when value="include_groups">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
295 <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
296 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
297 </conditional>
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 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
300 <when value="use_ref_panel_no">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
301 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
302 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
303
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
304 <conditional name="use_advanced_parameters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
305 <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
306 <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
307 <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
308 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
309
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
310 <when value="use_advanced_parameters_yes">
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
311 <param argument="--duohmm" type="boolean" truevalue="--duohmm" falsevalue="" />
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
312 <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
313 <option value="chrX_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
314 <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
315 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
316
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
317 <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
318 <option value="noped_yes">Yes</option>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
319 <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
320 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
321
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
322 <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
323 <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
324 <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
325 <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
326 <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
327 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
328
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
329 <conditional name="eff_size">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
330 <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
331 <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
332 <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
333 <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
334 <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
335 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
336 <when value="eff_size_european"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
337 <when value="eff_size_african"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
338 <when value="eff_size_asian"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
339 <when value="eff_size_mixed_option">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
340 <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
341 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
342 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
343
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
344 <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
345 <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
346 <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
347 <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
348
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
349 <conditional name="set_rng_seed">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
350 <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
351 <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
352 <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
353 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
354 <when value="set_rng_seed_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
355 <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
356 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
357 <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
358 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
359 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
360 <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
361 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
362
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
363 <conditional name="use_filters">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
364 <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
365 <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
366 <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
367 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
368 <when value="use_filters_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
369
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
370 <conditional name="use_input_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
371 <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
372 <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
373 <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
374 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
375 <when value="use_input_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
376 <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
377 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
378 <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
379 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
380
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
381 <conditional name="use_input_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
382 <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
383 <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
384 <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
385 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
386 <when value="use_input_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
387 <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
388 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
389 <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
390 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
391
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
392 <conditional name="use_output_from">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
393 <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
394 <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
395 <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
396 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
397 <when value="use_output_from_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
398 <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
399 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
400 <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
401 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
402
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
403 <conditional name="use_output_to">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
404 <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
405 <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
406 <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
407 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
408 <when value="use_output_to_yes">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
409 <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
410 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
411 <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
412 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
413
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
414 <conditional name="filter_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
415 <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
416 <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
417 <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
418 <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
419 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
420 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
421 <when value="exclude_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
422 <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
423 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
424 <when value="include_individuals">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
425 <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
426 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
427 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
428
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
429 <conditional name="filter_SNPs">
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
430 <param name="filter_SNPs_select" type="select" label="Do you want to filter SNPs?">
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
431 <option value="no_SNPs_filter" selected="True">No filtering</option>
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
432 <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
433 <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
434 </param>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
435 <when value="no_individual_filter"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
436 <when value="exclude_SNPs">
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
437 <param name="exclude_SNPs_file" type="data" format="txt" label="Specify file with excluded SNPs (.exc)"/>
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
438 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
439 <when value="include_SNPs">
19
42bafd3c5a83 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 75ae96395b13aafb20f82b220c4d14ac484b6767-dirty
sanbi-uwc
parents: 18
diff changeset
440 <param name="include_SNPs_file" type="data" format="txt" label="Specify file with limited SNPs (.inc)"/>
0
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
441 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
442 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
443 </when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
444 <when value="use_filters_no"></when>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
445 </conditional>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
446
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
447 </inputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
448 <outputs>
16
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
449 <data name="out_haps" format="tabular" label="${tool.name} on ${on_string} haplotypes (.haps)">
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
450 <filter>not check_mode</filter>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
451 </data>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
452 <data name="out_sample" format="tabular" label="${tool.name} on ${on_string} additional information (.sample)">
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
453 <filter>not check_mode</filter>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
454 </data>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
455 <data name="out_graph" format="txt" label="${tool.name} on ${on_string} haplotype graphs (.hgraph)">
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
456 <filter>not check_mode</filter>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
457 </data>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
458 <data name="out_strand" format="tabular" label="${tool.name} on ${on_string} problematic SNP report (.strand)">
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
459 <filter>check_mode</filter>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
460 </data>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
461 <data name="out_exclude" format="txt" label="${tool.name} on ${on_string} problematic SNPs to exclude (.exclude)">
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
462 <filter>check_mode</filter>
1a00583b6b2c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 40d1319d78fae41b53fe3511db41ee5479c58db8-dirty
sanbi-uwc
parents: 15
diff changeset
463 </data>
3
4a048227b86f planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 6dfd47f8de029246dd63d60f24ed685a13f8a2ff-dirty
sanbi-uwc
parents: 0
diff changeset
464 <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
465 </outputs>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
466 <help><![CDATA[
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
467 TODO: Fill in help.
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
468 ]]></help>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
469 <citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
470 <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
471 </citations>
97363f287de1 planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 77798d7797f07f1f94f5cecd39195bed15987b56
sanbi-uwc
parents:
diff changeset
472 </tool>