Mercurial > repos > devteam > samtools_phase
annotate samtools_phase.xml @ 8:54bbc447e348 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
| author | iuc |
|---|---|
| date | Mon, 17 Nov 2025 07:30:17 +0000 |
| parents | 2504000d5158 |
| children |
| rev | line source |
|---|---|
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
1 <tool id="samtools_phase" name="Samtools phase" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
7
2504000d5158
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
6
diff
changeset
|
2 <description>call and phase heterozygous SNPs</description> |
|
3
c21cb56fbbbc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
3 <macros> |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
4 <import>macros.xml</import> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
5 </macros> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
6 <expand macro="requirements"/> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
7 <expand macro="stdio"/> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
8 <expand macro="version_command"/> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
9 <command><![CDATA[ |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
10 samtools phase -b phase_wrapper |
| 0 | 11 #if str($option_set.option_sets) == 'advanced': |
| 12 ${option_set.ignore_chimeras} | |
| 13 -k $option_set.block_length | |
| 14 -q $option_set.min_het | |
| 15 -Q $option_set.min_bq | |
| 16 -D $option_set.read_depth | |
| 17 ${option_set.drop_ambiguous} | |
| 18 #else | |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
19 -k 13 |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
20 -q 37 |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
21 -Q 13 |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
22 -D 256 |
| 0 | 23 #end if |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
24 '$input_bam' > '$phase_sets' |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
25 ]]></command> |
| 0 | 26 <inputs> |
| 27 <param format="bam" name="input_bam" type="data" label="Select dataset to phase"/> | |
| 28 <conditional name="option_set"> | |
| 29 <param name="option_sets" type="select" label="Phase parameters"> | |
| 30 <option value="default">Use defaults</option> | |
| 31 <option value="advanced">Advanced options</option> | |
| 32 </param> | |
| 33 <when value="default" /> | |
| 34 <when value="advanced"> | |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
35 <param name="block_length" argument="-k" type="integer" value="13" label="Maximum length for local phasing" /> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
36 <param name="min_het" argument="-q" type="integer" value="37" label="Minimum Phred-scaled level of detail to call a heterozygote" /> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
37 <param name="min_bq" argument="-Q" type="integer" value="13" label="Minimum base quality to be used in het calling" /> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
38 <param name="read_depth" argument="-D" type="integer" value="256" label="Read depth" /> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
39 <param name="ignore_chimeras" argument="-F" type="boolean" truevalue="-F" falsevalue="" checked="False" label="Do not attempt to fix chimeric reads" /> |
|
6
dd8305e4e58e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents:
5
diff
changeset
|
40 <param name="drop_ambiguous" argument="-A" type="boolean" truevalue="-A" falsevalue="" checked="False" label="Drop reads with ambiguous phase" /> |
| 0 | 41 </when> |
| 42 </conditional> | |
| 43 </inputs> | |
| 44 <outputs> | |
| 45 <data format="txt" name="phase_sets" /> | |
| 46 <data format="bam" from_work_dir="phase_wrapper.0.bam" name="phase0" label="${tool.name} on ${on_string}: Phase-0 reads" /> | |
| 47 <data format="bam" from_work_dir="phase_wrapper.1.bam" name="phase1" label="${tool.name} on ${on_string}: Phase-1 reads" /> | |
|
6
dd8305e4e58e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents:
5
diff
changeset
|
48 <data format="bam" from_work_dir="phase_wrapper.chimera.bam" name="chimera" label="${tool.name} on ${on_string}: Chimeric reads" /> |
| 0 | 49 </outputs> |
| 50 <tests> | |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
51 <!-- 1) --> |
| 0 | 52 <test> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
53 <conditional name="option_set"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
54 <param name="option_sets" value="default" /> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
55 </conditional> |
|
7
2504000d5158
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
6
diff
changeset
|
56 <param name="input_bam" value="samtools_phase_in_1.bam" /> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
57 <output name="phase_sets" file="samtools_phase_out_1_log.txt" ftype="txt"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
58 <assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
59 <has_text_matching expression="Descriptions:"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
60 </assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
61 </output> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
62 <output name="phase0" file="samtools_phase_out_1_phase0.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
63 <output name="phase1" file="samtools_phase_out_1_phase1.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
64 <output name="chimera" file="empty_file_1.bam" ftype="bam" compare="sim_size"/> |
| 0 | 65 </test> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
66 <!-- 2) --> |
| 0 | 67 <test> |
|
7
2504000d5158
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
6
diff
changeset
|
68 <param name="input_bam" value="samtools_phase_in_2.bam" /> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
69 <conditional name="option_set"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
70 <param name="option_sets" value="advanced" /> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
71 </conditional> |
| 0 | 72 <param name="option_set|block_length" value="13" /> |
| 73 <param name="option_set|min_het" value="37" /> | |
| 74 <param name="option_set|min_bq" value="13" /> | |
| 75 <param name="option_set|read_depth" value="256" /> | |
| 76 <param name="option_set|ignore_chimeras" value="false" /> | |
| 77 <param name="option_set|drop_ambiguous" value="true" /> | |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
78 <output name="phase_sets" file="samtools_phase_out_2_log.txt" ftype="txt"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
79 <assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
80 <has_text_matching expression="Descriptions:"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
81 </assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
82 </output> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
83 <output name="phase0" file="samtools_phase_out_2_phase0.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
84 <output name="phase1" file="samtools_phase_out_2_phase1.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
85 <output name="chimera" file="samtools_phase_out_2_chimera.bam" ftype="bam" compare="sim_size"/> |
| 0 | 86 </test> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
87 <!-- 3) --> |
| 0 | 88 <test> |
|
7
2504000d5158
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
6
diff
changeset
|
89 <param name="input_bam" value="samtools_phase_in_2.bam" /> |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
90 <conditional name="option_set"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
91 <param name="option_sets" value="advanced" /> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
92 </conditional> |
| 0 | 93 <param name="option_set|block_length" value="13" /> |
| 94 <param name="option_set|min_het" value="37" /> | |
| 95 <param name="option_set|min_bq" value="13" /> | |
| 96 <param name="option_set|read_depth" value="256" /> | |
| 97 <param name="option_set|ignore_chimeras" value="true" /> | |
| 98 <param name="option_set|drop_ambiguous" value="false" /> | |
|
8
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
99 <output name="phase_sets" file="samtools_phase_out_3_log.txt" ftype="txt"> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
100 <assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
101 <has_text_matching expression="Descriptions:"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
102 </assert_contents> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
103 </output> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
104 <output name="phase0" file="samtools_phase_out_3_phase0.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
105 <output name="phase1" file="samtools_phase_out_3_phase1.bam" ftype="bam" compare="sim_size"/> |
|
54bbc447e348
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_phase commit 8d2369dc1bdafc743920a155c508c20114ebe655
iuc
parents:
7
diff
changeset
|
106 <output name="chimera" file="empty_file_3.bam" ftype="bam" compare="sim_size"/> |
| 0 | 107 </test> |
| 108 </tests> | |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
109 <help><![CDATA[ |
| 0 | 110 **What it does** |
| 111 | |
|
5
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
112 Call and phase heterozygous SNPs. |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
113 ]]></help> |
|
2311187710fb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_phase commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
114 <expand macro="citations"/> |
| 0 | 115 </tool> |
