annotate cactus_export.xml @ 14:3ff17bad4006 draft

planemo upload for repository https://github.com/usegalaxy-au/tools-au commit af33e7925766b58ea176ec8f6a5729330ddd383f
author galaxy-australia
date Mon, 28 Aug 2023 23:09:49 +0000
parents d7ce0ec78e51
children c44f824c051a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
1 <tool id="cactus_export" name="Cactus: export" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
6
aaa0d6a8b808 planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 1eadd6f869c4d28462ccf888008f21acdd00a91d
galaxy-australia
parents: 4
diff changeset
2 <description>whole-genome multiple sequence alignment to other formats</description>
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
3 <macros>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
4 <import>macros.xml</import>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
5 </macros>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
6 <expand macro="xrefs"/>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
7 <expand macro="requirements"/>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
9 export TMPDIR=\${_GALAXY_JOB_TMP_DIR} &&
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
10
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
11 ## check if the reference level was specified
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
12 #if $export_select.format in ['maf_selector', 'vg_selector']:
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
13 #if $export_select.ref_level == '':
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
14 echo "You must provide a reference level" &&
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
15 exit 1
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
16 #end if
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
17 #end if
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
18
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
19 ln -s '$hal_file' alignment.hal
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
20
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
21 ## make a MAF
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
22 #if $export_select.format == 'maf_selector':
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
23 &&
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
24 hal2maf
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
25 --refGenome $export_select.ref_level
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
26 alignment.hal
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
27 alignment.maf
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
28 #end if
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
29
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
30 ## make an assemblyHub
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
31 #if $export_select.format == 'ah_selector':
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
32 &&
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
33 hal2assemblyHub.py
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
34 --maxCores \${GALAXY_SLOTS:-4}
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
35 --maxMemory \${GALAXY_MEMORY_MB:-8192}M
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
36 ./jobStore
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
37 alignment.hal
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
38 assemblyhub
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
39 &&
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
40 tar -cv assemblyhub > assemblyhub.tar
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
41 #end if
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
42
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
43 ## make a VG
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
44 #if $export_select.format == 'vg_selector':
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
45 &&
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
46 hal2vg alignment.hal
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
47 --progress
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
48 > alignment.pg
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
49 #end if
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
50
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
51 ]]></command>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
52 <inputs>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
53 <param name="hal_file" type="data" format="h5" label="HAL file" help="Multiple-genome alignment generated by Cactus" />
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
54 <conditional name="export_select">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
55 <param name="format" type="select" label="Output format" help="The type of output you want to export. Run this tool once for each output format.">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
56 <option value="maf_selector" selected="true">MAF file</option>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
57 <option value="ah_selector">Assembly Hub</option>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
58 <option value="vg_selector">VG file</option>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
59 </param>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
60 <when value="maf_selector">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
61 <param name="ref_level" type="text" value="" label="Reference genome" help="Specify one of the Input Genomes as the reference level. This must match the label used in 'Genome Label'." />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
62 </when>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
63 <when value="ah_selector">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
64 </when>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
65 <when value="vg_selector">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
66 <param name="ref_level" type="text" value="" label="Reference genome" help="Specify one of the Input Genomes as the reference level. This must match the label used in 'Genome Label'." />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
67 </when>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
68 </conditional>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
69 </inputs>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
70 <outputs>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
71 <data name="out_maf" format="maf" from_work_dir="alignment.maf" label="${tool.name} on ${on_string} (MAF file)" >
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
72 <filter>export_select['format'] == 'maf_selector'</filter>
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
73 </data>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
74 <data name="out_vg" format="vg" from_work_dir="alignment.pg" label="${tool.name} on ${on_string} (VG file)" >
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
75 <filter>export_select['format'] == 'vg_selector'</filter>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
76 </data>
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
77 <data name="out_ah" format="tar" from_work_dir="assemblyhub.tar" label="${tool.name} on ${on_string} (Assembly Hub)" >
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
78 <filter>export_select['format'] == 'ah_selector'</filter>
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
79 </data>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
80 </outputs>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
81 <tests>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
82 <!-- this fails because no reference level is set -->
13
d7ce0ec78e51 planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2d431863824af49c82ff2ae318abee3b16141a4e
galaxy-australia
parents: 6
diff changeset
83 <test expect_failure="true">
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
84 <conditional name="export_select">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
85 <param name="format" value="maf_selector" />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
86 </conditional>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
87 <param name="hal_file" ftype="h5" value="evolverMammals.hal" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
88 </test>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
89 <!-- within-species mode -->
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
90 <test expect_num_outputs="1">
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
91 <conditional name="export_select">
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
92 <param name="ref_level" value="simMouse_chr6" />
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
93 <param name="format" value="maf_selector" />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
94 </conditional>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
95 <param name="hal_file" ftype="h5" value="within.hal" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
96 <output name="out_maf" file="set_reference.maf" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
97 </test>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
98 <!-- between-species -->
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
99 <test expect_num_outputs="1">
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
100 <conditional name="export_select">
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
101 <param name="ref_level" value="simMouse_chr6" />
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
102 <param name="format" value="maf_selector" />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
103 </conditional>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
104 <param name="hal_file" ftype="h5" value="evolverMammals_noroot.hal" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
105 <output name="out_maf" file="evolverMammals_noroot.maf" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
106 </test>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
107 <!-- assembly hub format -->
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
108 <test expect_num_outputs="1">
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
109 <conditional name="export_select">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
110 <param name="format" value="ah_selector" />
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
111 </conditional>
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
112 <param name="hal_file" ftype="h5" value="within.hal" />
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
113 <output name="out_ah">
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
114 <assert_contents>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
115 <has_archive_member path="assemblyhub/hub.txt"/>
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
116 </assert_contents>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
117 </output>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
118 </test>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
119 <!-- vg format -->
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
120 <test expect_num_outputs="1">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
121 <conditional name="export_select">
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
122 <param name="format" value="vg_selector" />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
123 <param name="ref_level" value="simMouse_chr6" />
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
124 </conditional>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
125 <param name="hal_file" ftype="h5" value="within.hal" />
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
126 <output name="out_vg">
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
127 <assert_contents>
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
128 <has_size value="860452" delta="200000" />
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
129 </assert_contents>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
130 </output>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
131 </test>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
132 <!-- gfa format (gfa2): not implemented -->
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
133 </tests>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
134 <help><![CDATA[
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
135 **What it does**
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
136
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
137 Converts the HAL output from `Cactus whole-genome multiple sequence
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
138 aligner <root?tool_id=cactus_cactus>`__ into other formats.
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
139
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
140 **Input**
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
141
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
142 A `HAL
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
143 file <https://github.com/ComparativeGenomicsToolkit/cactus#using-the-output>`__
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
144 from `Cactus <root?tool_id=cactus_cactus>`__.
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
145
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
146 **Output**
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
147
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
148 Currently, you can export a pangenome in VG format, for use with
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
149 `vg <https://github.com/vgteam/vg>`__, or Multiple Alignment Format
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
150 (MAF). Note that these files are **reference-based**, so it will contain
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
151 alignments to a single reference from your list of inputs (i.e. not a
4
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
152 graph). You have to provide this with the ‘reference genome’ option.
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
153
5bf688a3ee2c planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 2b4c7c63b0e4a1f730794a4a5825bce29ee2eb25
galaxy-australia
parents: 0
diff changeset
154 You can also export an Assembly Hub for use with the UCSC Genome Browser.
0
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
155 ]]></help>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
156 <expand macro="citations"/>
c18157c68134 "planemo upload for repository https://github.com/usegalaxy-au/tools-au commit 8f8363625623f2ff3f04d12d227673ac134eba24"
galaxy-australia
parents:
diff changeset
157 </tool>